HDC_UserSize(3w)

HDC_UserSize3w

Usage

ULONG __RPC_USER HDC_UserSize
(
ULONG* pFlags,
ULONG StartingSize,
HDC* phdc
)

Overview

Calculates the buffer size required to marshal an HDC.

Params

pFlags [In] Flags. See notes.

StartingSize [In] Starting size of the buffer. This value is added on to the buffer size required for the clip format.

phGlobal [In] HDC to size.

Returns

The buffer size required to marshal an HDC plus the starting size.

Notes

Even though the function is documented to take a pointer to a ULONG in pFlags, it actually takes a pointer to a USER_MARSHAL_CB structure, of which the first parameter is a ULONG. This function is only intended to be called by the RPC runtime.

Implementation

Declared in "mlang.h".

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

Debug channel "ole".

Releases

3 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0
  2. 6.0
  3. 7

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