STGMEDIUM_UserSize(3w)
NAME
STGMEDIUM_UserSize (OLE32.@)
SYNOPSIS
ULONG __RPC_USER STGMEDIUM_UserSize ( ULONG* pFlags, ULONG StartingSize, STGMEDIUM* pStgMedium )
DESCRIPTION
Calculates the buffer size required to marshal an STGMEDIUM.
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.
pStgMedium [In] STGMEDIUM to size.
RETURNS
The buffer size required to marshal an STGMEDIUM 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
Defined in "docobj.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ole32/usrmarshal.c".
- Debug channel "ole".