CoGetStandardMarshal.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CoGetStandardMarshal (OLE32.@)

SYNOPSIS

HRESULT CoGetStandardMarshal
 (
  REFIID     riid,
  IUnknown*  pUnk,
  DWORD      dwDestContext,
  LPVOID     pvDestContext,
  DWORD      mshlflags,
  LPMARSHAL* ppMarshal
 )

DESCRIPTION

Gets or creates a standard marshal object.

PARAMS

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.

RETURNS

Success: S_OK.

Failure: HRESULT code.

NOTES

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.

IMPLEMENTATION

Defined in "objbase.h".

Implemented in "dlls/ole32/marshal.c".

Debug channel "ole".