| INT
MimeSetMessagePart(
|
|
|
HMESSAGE
hMessage, |
|
|
|
|
INT nNewPart |
|
|
| );
|
The MimeSetMessagePart function sets the current message
part index for the specified message.
Parameters
- hMessage
- Handle to the message.
- nNewPart
- The new message part index. A value of zero specifies the main
message part.
Return Value
If the function succeeds, the return value is the previous
message part index. If the function fails, the return value is
MIME_ERROR. 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
MimeGetMessagePart,
MimeGetMessagePartCount,
MimeSetMessageHeader
|