|
|
| LONG
MimeSetMessageText(
|
|
|
HMESSAGE
hMessage, |
|
|
|
|
LONG nOffset, |
|
|
|
|
LPCTSTR
lpszText |
|
|
| );
|
The MimeSetMessageText function copies the specified text
into the body of the current message part.
Parameters
- hMessage
- Handle to the message.
- nOffset
- The offset into the body of the message part. A value of -1
specifies that the text is to be appended to the message body.
- lpszText
- A pointer to a null-terminated string which specifies the text
to be copied to the current message part at the given offset.
Return Value
If the function succeeds, the return value is the number of
bytes copied into the message. A return value of zero indicates
that no text could be copied into the current message part. To get
extended error information, call MimeGetLastError.
Requirements
Client: Requires Windows Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csmsgav6.lib.
Unicode: Implemented as Unicode and ANSI versions.
See Also
MimeAppendMessageText,
MimeClearMessageText,
MimeCompareMessageText,
MimeGetMessageText, MimeResetMessage, MimeSetMessageHeader, MimeSetMessagePart
|
|