AtlFreeMarshalStream

 

Releases the marshal data in the stream, then releases the stream pointer.

Important

This function cannot be used in applications that execute in the Windows Runtime.

Syntax

      HRESULT AtlFreeMarshalStream(
IStream* pStream 
);

Parameters

  • pStream
    [in] A pointer to the IStream interface on the stream used for marshaling.

Example

See the example for AtlMarshalPtrInProc.

Requirements

Header: atlbase.h

See Also

Marshaling Global Functions
AtlMarshalPtrInProc