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