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

IMPLEMENTATION

Defined in "objbase.h".

Implemented in "dlls/ole32/marshal.c". source.winehq.org/source/dlls/ole32/marshal.c

Debug channel "ole".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.