Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Maps the content of the MailMsg object to a pointer.
HRESULT MapContent( [in] BOOL fWrite, [in] BYTE** ppbContent, [in] DWORD* pcContent );
Value | Description |
---|---|
S_OK | Success. |
Use this method to create a memory-mapped file for the message content. This allows for fast scanning of the content in memory. The memory is mapped using the MapViewOfFile function.
Call IMailMsgProperties::UnmapContent for each pointer you successfully receive using IMailMsgProperties::MapContent.