HrNDRGetFailedProps

The HrNDRGetFailedProps function obtains the NDR properties from the original message.

Quick Info

Header file: GWREPORT.H
Library: GWREPORT.LIB

HRESULT HrNDRGetFailedProps(
  LPMESSAGE lpMessage,  
  ULONG * lpcProps,     
  LPSPropValue * lppProps  
);
 

Parameters

lpMessage
Input parameter. Points to a MAPI IMessage interface containing the original message.
lpcProps
Output parameter. Count of properties in lppProps.
lppProps
Output parameter. Points to a MAPI SPropValue array, which contain the NDR properties.

Return Values

See Return Values.

Remarks

For more information on this function, see the HrNDRGetFailedProps function in GWREPORT.C under the GWREPORT code sample in Code Samples folder.

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