HrMAPIMoveMessage

The HrMAPIMoveMessage function transfers a message from one folder to another.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrMAPIMoveMessage(
  LPMAPIFOLDER lpSrcFolder,  
  LPMAPIFOLDER lpDstFolder,  
  ULONG cbeid,               
  LPENTRYID lpeid            
);
 

Parameters

lpSrcFolder
Input parameter. Points to a MAPI IMAPIFolder interface containing the source folder.
lpDstFolder
Input parameter. Points to an IMAPIFolder interface containing the destination 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 HrMAPIMoveMessage 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, HrMAPIDeleteMessage, HrMAPIMoveOneProp