共用方式為


AtlFreeMarshalStream

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

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

Concepts

Marshaling Global Functions

AtlMarshalPtrInProc