The HrMAPIWriteMemoryToStream function saves a number of bytes from a block of memory to a stream.
Header file: | EDKMAPI.H |
Library: | EDKMAPI.LIB |
HRESULT HrMAPIWriteMemoryToStream(
LPSTREAM lpStream,
ULONG cBytes,
LPBYTE lpbBytes,
ULONG * lpcBytesWritten
);
See Return Values.
For more information on this function, see the HrMAPIWriteMemoryToStream function in EDKMAPI.C under the EDKMAPI code sample in the Code Samples folder.
HrMAPISetStreamSize, HrMAPIWriteAttachmentToFile, HrMAPIWriteFileToStream, HrMAPIWriteStreamToFile, HrMAPIWriteStreamToMemory