HrDRCreate
The HrDRCreate function creates a delivery report for a message.
Quick Info
Header file:
GWREPORT.H
Library:
GWREPORT.LIB
HRESULT HrDRCreate(
LPADRBOOK lpAdrBook ,
LPMAPIFOLDER lpFolder ,
LPMESSAGE lpMessage ,
LPADRLIST lpAdrList ,
ULONG cProps ,
LPSPropValue lpProps ,
LPMESSAGE lppReport
);
Parameters
lpAdrBook
Input parameter. Points to a MAPI IAddrBook interface containing the address book.
lpFolder
Input parameter. Points to a MAPI IMAPIFolder interface containing the folder where the message ended up.
lpMessage
Input parameter. Points to a MAPI IMessage interface containing the message about which the delivery report is made.
lpAdrList
Input parameter. Points to a MAPI ADRLIST structure containing the delivered recipient address list.
cProps
Input parameter. Specifies the number of properties in the lpProps parameter.
lpProps
Input parameter. Points to a MAPI SPropValue structure containing the message properties.
lppReport
Output parameter. Points to a pointer to the MAPI IMessage interface containing the delivery report.
Return Values
See Return Values .
Remarks
Use the HrDRGetProps function to retrieve the delivery report properties for both the lpProps and cProps parameters.
For information on the ADRLIST structure, IAddrBook interface, IMAPIFolder interface, IMessage interface and SPropValue structure, see the MAPI Programmer's Reference.
See Also
HrDRGetProps