Platform SDK: Exchange Server

HrMAPIDeleteMessage

The HrMAPIDeleteMessage function deletes a message from a folder.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPIDeleteMessage(
  LPMAPIFOLDER lpFolder,  
  ULONG cbeid,            
  LPENTRY lpeid           
);
 

Parameters

lpFolder
Input parameter. Points to a MAPI IMAPIFolder interface containing the folder.
cbeid
Input parameter. Number of bytes in the entry identifier.
lpeid
Input parameter. Points to the entry identifier.

Return Values

See Return Values.

Remarks

For more information on this function, see the HrMAPIDeleteMessage function in IMESSAGE.C under the EDKMAPI code sample in the Code Samples folder.

For information on the IMAPIFolder interface, see the MAPI Programmer's Reference.

See Also

HrMAPICopyMessage, HrMAPIMoveMessage