Platform SDK: MAPI

SPropProblem

The SPropProblem structure describes an error relating to an operation involving a property.

Quick Info

Header file: MAPIDEFS.H

typedef struct _SPropProblem 
{ 
     ULONG     ulIndex; 
     ULONG     ulPropTag; 
     SCODE     scode; 
} SPropProblem, FAR *LPSPropProblem; 
 

Members

ulIndex
An index in an array of property tags.
ulPropTag
Property tag for the property with the error.
scode
Error value describing the problem with the property. This value can be any MAPI SCODE value.

Remarks

An array of SPropProblem structures is returned from the following methods:

IMAPISupport::DoCopyTo

IMAPISupport::DoCopyProps

IMAPIProp::DeleteProps

IMAPIProp::SetProps

IMAPIProp::CopyProps

IMAPIProp::CopyTo

IPropData::HrAddObjProps

An SPropProblem structure contains an SCODE error value that is a result of an operation attempting to modify or delete a MAPI property.

For more information on how the SPropProblem structure works with errors related to properties, see Named Properties.

See Also

Property Structures, SCODE, SPropProblemArray