Scroll to navigation

CoMarshalInterThreadInterfaceInStream(3w) Wine API CoMarshalInterThreadInterfaceInStream(3w)

NAME

CoMarshalInterThreadInterfaceInStream (OLE32.@)

SYNOPSIS

HRESULT CoMarshalInterThreadInterfaceInStream
(
REFIID riid,
LPUNKNOWN pUnk,
LPSTREAM* ppStm
)
 

DESCRIPTION

Marshal an interface across threads in the same process.
 

PARAMS

riid [In] Identifier of the interface to be marshalled.
pUnk [In] Pointer to IUnknown-derived interface that will be marshalled.
ppStm [Out] Pointer to IStream object that is created and then used to store the marshalled interface.
 

RETURNS

Success: S_OK
Failure: E_OUTOFMEMORY and other COM error codes.
 

SEE ALSO

CoMarshalInterface(), CoUnmarshalInterface(3w) and CoGetInterfaceAndReleaseStream(3w)
 

IMPLEMENTATION

Declared in "objbase.h".
Implemented in "dlls/ole32/marshal.c".
Debug channel "ole".
Oct 2012 Wine API