Reference

STGMEDIUM_UserFree(3w)

NAME

STGMEDIUM_UserFree (OLE32.@)

SYNOPSIS

void __RPC_USER STGMEDIUM_UserFree
(
ULONG* pFlags,
STGMEDIUM* pStgMedium
)

DESCRIPTION

Frees an unmarshaled STGMEDIUM.

PARAMS

pFlags [In] Flags. See notes.

pStgmedium [In] STGMEDIUM to free.

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 "docobj.h".

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

Debug channel "ole".

History