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.

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

Reference

AtlMarshalPtrInProc

Other Resources

Marshaling Global Functions