.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CoGetInterfaceAndReleaseStream 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCoGetInterfaceAndReleaseStream\fR (OLE32.@) .SH SYNOPSIS HRESULT CoGetInterfaceAndReleaseStream ( LPSTREAM \fIpStm\fR, REFIID \fIriid\fR, LPVOID* \fIppv\fR ) .SH DESCRIPTION .PP Unmarshalls an interface from a stream and then releases the stream. .SH PARAMS \fIpStm\fR \fB[In]\fR Stream that contains the marshalled interface. .PP \fIriid\fR \fB[In]\fR Interface identifier of the object to unmarshall. .PP \fIppv\fR \fB[Out]\fR Address of pointer where the requested interface object will be stored. .PP .SH RETURNS .PP \fBSuccess:\fR \fBS_OK\fR .PP \fBFailure:\fR A \fBCOM\fR error code. .SH SEE ALSO .PP CoMarshalInterThreadInterfaceInStream() and \fBCoUnmarshalInterface(3w)\fR .SH IMPLEMENTATION .PP Declared in \fB"objbase.h"\fR. .PP Implemented in \fB"dlls/ole32/marshal.c"\fR. .PP Debug channel \fB"ole"\fR.