CoGetMarshalSizeMax(3w)

CoGetMarshalSizeMax3w

Usage

HRESULT CoGetMarshalSizeMax
(
ULONG* pulSize,
REFIID riid,
IUnknown* pUnk,
DWORD dwDestContext,
void* pvDestContext,
DWORD mshlFlags
)

Overview

Gets the maximum amount of data that will be needed by a marshal.

Params

pulSize [Out] Address where maximum marshal size will be stored.

riid [In] Identifier of the interface to marshal.

pUnk [In] Pointer to the object to marshal.

dwDestContext [In] Destination. Used to enable or disable optimizations.

pvDestContext [In] Reserved. Must be NULL.

mshlFlags [In] Flags that affect the marshaling. See CoMarshalInterface(3w).

Returns

Success: S_OK.

Failure: HRESULT code.

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.