Unmarshals a buffer containing an interface pointer and releases the stream
when an interface pointer has been marshalled from another thread to the calling
| LPSTREAM * ppStm,
||//Points to the stream from which the object is to be marshalled
| REFIID riid,
||//The interface requested from the unmarshalled object
| LPVOID * ppv
||//On return, location of the interface pointer
Points to the stream containing the interface to be unmarshaled.
Specifies the interface requested from the unmarshaled object.
[Out] On return, points to the location of the unmarshaled interface pointer.
Indicates the output interface was unmarshaled and the stream was released.
Indicates that input arguments are invalid.
Other results from CoUnmarshalInterface
CoGetInterfaceAndReleaseStream is a companion helper API to CoMarshalInterThreadInterfaceInStream
, reversing the result of the latter. It unmarshals the buffer and releases
the stream that contained the interface. If the unmarshaling fails, the stream
is still released because there is no effective way to recover from a failure of
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages