CoGetStandardMarshal (OLE32.@)
HRESULT CoGetStandardMarshal ( REFIID riid, IUnknown* pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL* ppMarshal )
Gets or creates a standard marshal object.
riid | [In] | Interface identifier of the pUnk object. |
pUnk | [In] | Optional. Object to get the marshal object for. |
dwDestContext | [In] | Destination. Used to enable or disable optimizations. |
pvDestContext | [In] | Reserved. Must be NULL. |
mshlflags | [In] | Flags affecting the marshaling process. |
ppMarshal | [Out] | Address where marshal object will be stored. |
Success: S_OK.
Failure: HRESULT code.
The function retrieves the IMarshal object associated with an object if that object is currently an active stub, otherwise a new marshal object is created.
Defined in "objbase.h".
Implemented in "dlls/ole32/marshal.c". source.winehq.org/source/dlls/ole32/marshal.c
Debug channel "ole".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2008.