Changeset 3179 for trunk/src


Ignore:
Timestamp:
Mar 21, 2000, 9:19:36 AM (25 years ago)
Author:
davidr
Message:

Bugfix in ITypeLibImpl_GetDocumentation

Location:
trunk/src/oleaut32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/itypeinfo.cpp

    r2020 r3179  
    1 /* $Id: itypeinfo.cpp,v 1.1 1999-12-08 19:58:50 davidr Exp $ */
     1/* $Id: itypeinfo.cpp,v 1.2 2000-03-21 08:17:22 davidr Exp $ */
    22/*
    33 * ITypeInfo interface
     
    482482        if (pBstrHelpFile)
    483483            *pBstrHelpFile = DupAtoBstr(This->szDocString);/* FIXME */
     484
    484485        return S_OK;
    485486    }
  • trunk/src/oleaut32/itypelib.cpp

    r2019 r3179  
    1 /* $Id: itypelib.cpp,v 1.1 1999-12-08 19:58:27 davidr Exp $ */
     1/* $Id: itypelib.cpp,v 1.2 2000-03-21 08:17:22 davidr Exp $ */
    22/*
    33 * ITypelib interface
     
    296296    ICOM_THIS(ITypeLibImpl, iface);
    297297
    298     dprintf(("OLEAUT32: ITypeLibImpl(%p)->GetDocumentation()\n", This));
     298    dprintf(("OLEAUT32: ITypeLibImpl(%p)->GetDocumentation(idx = %i)\n", This, index));
    299299
    300300    /* if index is -Ve this is a request for documentation for the typelib */
     
    304304            *pBstrName = DupAtoBstr(This->szName);
    305305        if (pBstrDocString)
    306             *pBstrName = DupAtoBstr(This->szDocString);
     306            *pBstrDocString = DupAtoBstr(This->szDocString);
    307307        if (plHelpContext)
    308308            *plHelpContext = This->lHelpContext;
    309309        if (pBstrHelpFile)
    310             *pBstrName = DupAtoBstr(This->szHelpFile);
     310            *pBstrHelpFile = DupAtoBstr(This->szHelpFile);
     311
    311312        rc = S_OK;
    312313    }
Note: See TracChangeset for help on using the changeset viewer.