MimeGetMessagePart Function  
 
INT WINAPI MimeGetMessagePart(
  HMESSAGE hMessage  
);

The MimeGetMessagePart function returns the current message part index for the specified message.

Parameters

hMessage
Handle to the message.

Return Value

If the function succeeds, the return value is the message part index. If the function fails, the return value is MIME_ERROR. To get extended error information, call MimeGetLastError.

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.

See Also

MimeCreateMessagePart, MimeDeleteMessagePart, MimeGetMessagePartCount, MimeSetMessagePart