CoMarshalInterThreadInterfaceInStream.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "objbase.h".

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

Debug channel "ole".