Scroll to navigation

HPALETTE_UserMarshal(3w) Wine API HPALETTE_UserMarshal(3w)

NAME

HPALETTE_UserMarshal (OLE32.@)

SYNOPSIS

unsigned char * __RPC_USER HPALETTE_UserMarshal
(
ULONG* pFlags,
unsigned char* pBuffer,
HPALETTE* phPal
)
 

DESCRIPTION

Marshals a palette into a buffer.
 

PARAMS

pFlags [In] Flags. See notes.
pBuffer [In] Buffer to marshal the clip format into.
phPal [In] Palette to marshal.
 

RETURNS

The end of the marshaled data in the buffer.
 

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 "ocidl.h".
Implemented in "dlls/ole32/usrmarshal.c".
Debug channel "ole".
Oct 2012 Wine API