Platform SDK: Exchange Server

HrMAPISetStreamSize

The HrMAPISetStreamSize function sets the size of a stream.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPISetStreamSize(
  LPSTREAM lpStream,  
  ULONG cBytes        
);
 

Parameters

lpStream
Input parameter. Points to an open Win32 IStream interface.
cBytes
Input parameter. Number of bytes in stream.

Return Values

See Return Values.

Remarks

For more information on this function, see the HrMAPISetStreamSize function in EDKMAPI.C under the EDKMAPI code sample in the Code Samples folder.

See Also

HrMAPIWriteAttachmentToFile, HrMAPIWriteFileToStream, HrMAPIWriteMemoryToStream, HrMAPIWriteStreamToFile, HrMAPIWriteStreamToMemory