HrMAPIWriteStreamToFile

The HrMAPIWriteStreamToFile function saves a stream to a file from the file handle.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPIWriteStreamToFile(
  LPSTREAM lpStream,  
  HANDLE hFile        
);
 

Parameters

lpStream
Input parameter. Points to an open Win32 IStream interface.
hFile
Output parameter. Handle to file.

Return Values

See Return Values.

Remarks

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

See Also

HrMAPISetStreamSize, HrMAPIWriteAttachmentToFile, HrMAPIWriteFileToStream, HrMAPIWriteMemoryToStream, HrMAPIWriteStreamToMemory