CoGetInterfaceAndReleaseStream.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

CoGetInterfaceAndReleaseStream (OLE32.@)

SYNOPSIS

HRESULT CoGetInterfaceAndReleaseStream
 (
  LPSTREAM pStm,
  REFIID   riid,
  LPVOID*  ppv
 )

DESCRIPTION

Unmarshalls an interface from a stream and then releases the stream.

PARAMS

pStm [In] Stream that contains the marshalled interface.

riid [In] Interface identifier of the object to unmarshall.

ppv [Out] Address of pointer where the requested interface object will be stored.

RETURNS

Success: S_OK

Failure: A COM error code.

SEE ALSO

CoMarshalInterThreadInterfaceInStream() and CoUnmarshalInterface(3w)

IMPLEMENTATION

Defined in "objbase.h".

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

Debug channel "ole".