| BOOL WINAPI MimeImportMessage(
|
| |
HMESSAGE hMessage, |
|
| |
LPCTSTR lpszFileName |
|
| );
|
The MimeImportMessage function reads the specified file
and replaces the current message with its contents.
Parameters
- hMessage
- Handle to the message.
- lpszFileName
- Pointer to a null-terminated string which specifies the name of
the text file to import.
Return Value
If the function succeeds, the return value is non-zero. If the
function fails, the return value is zero. To get extended error
information, call MimeGetLastError.
Remarks
This function will delete the contents of the current message
before importing the new message from the specified file.
Requirements
Client: Requires Windows 7, Windows Vista or Windows
XP.
Server: Requires Windows Server 2008 or Windows Server
2003.
Header: Include cstools7.h.
Library: Use csmsgav7.lib.
Unicode: Implemented as Unicode and ANSI versions.
See Also
MimeAttachFile, MimeExportMessage, MimeExportMessageEx, MimeExtractFile, MimeImportMessageEx, MimeInitialize, MimeParseBuffer
|