Platform SDK: Exchange Server

HrDRAddToDeliveredRecipList

The HrDRAddToDeliveredRecipList function adds a recipient entry to the delivered recipient list.

Quick Info

Header file: GWREPORT.H
Library: GWREPORT.LIB

HRESULT HrDRAddToDeliveredRecipList(
  ULONG cDeliveredProps,          
  LPSPropValue lpDeliveredProps,  
  LPADRLIST * lppAdrList          
);
 

Parameters

cDeliveredProps
Input parameter. Specifies the number of properties in lpDeliveredProps.
lpDeliveredProps
Input parameter. Points to a MAPI SPropValue structure containing the delivered properties.
lppAdrList
Input/output parameter. Points to a pointer to the delivered recipient address list.

Return Values

See Return Values.

Remarks

You must call the HrDRCreateDeliveredRecipList function to create the initial, empty delivered recipient list for the lppAdrList parameter.

You must call the HrDRGetDeliveredRecip function to create each recipient entry and to get the values for the cDeliveredProps and lpDeliveredProps parameters.

For information on the SPropValue structure, see the MAPI Programmer's Reference.

See Also

HrDRCreateDeliveredRecipList, HrDRGetDeliveredRecip