NAME

HGLOBAL_UserSize  (COMBASE.@)

SYNOPSIS

 ULONG __RPC_USER  HGLOBAL_UserSize
 (
  ULONG*   pFlags,
  ULONG    StartingSize,
  HGLOBAL* phGlobal
 )

DESCRIPTION

Calculates the buffer size required to marshal an HGLOBAL.

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] HGLOBAL to size.

RETURNS

The buffer size required to marshal an HGLOBAL 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

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/combase/usrmarshal.c". https://source.winehq.org/source/dlls/combase/usrmarshal.c

Debug channel "ole".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.