CoGetStandardMarshal(3w)

CoGetStandardMarshal3w

Usage

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

Overview

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

Declared in "objbase.h".

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

Debug channel "ole".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.