NAME

CoGetInterfaceAndReleaseStream  (OLE32.@)

SYNOPSIS

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

DESCRIPTION

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

PARAMS

pStm [In] Stream that contains the marshalled inteface.
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 CoUnmarshalInteface

IMPLEMENTATION

Defined in "objbase.h".

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

Debug channel "ole".


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