STnefProblem

The STnefProblem structure contains information about a property or attribute processing problem that occurred during the encoding or decoding of a Transport-Neutral Encapsulation Format (TNEF) stream.

Quick Info

Header file: TNEF.H

typedef struct _STnefProblem 
{ 
     ULONG     ulComponent; 
     ULONG     ulAttribute; 
     ULONG     ulPropTag; 
     SCODE     scode; 
} STnefProblem; 
 

Members

ulComponent
The type of processing during which the problem occurred. If the problem occurred during message processing, the ulComponent member is set to zero. If the problem occurred during attachment processing, ulComponent is set equal to the corresponding attachment's PR_ATTACH_NUM value.
ulAttribute
Attribute associated with the property indicated by the ulPropTag member or, when the TNEF processing problem arises while decoding an encapsulation block, one of the following values:
attMAPIProps
Message level
attAttachment
Attachment level
ulPropTag
Property tag of the property that caused the TNEF processing problem, except when the problem arises while decoding an encapsulation block, in which case ulPropTag is set to zero.
scode
Error value indicating the problem encountered during processing.

Remarks

If an STnefProblem structure is not generated during the processing of an attribute or property, the application can continue under the assumption that the processing of that attribute or property succeeded. The only exception occurs when the problem arose during decoding of an encapsulation block. In this case, the decoding of the component corresponding to the block is halted and decoding is continued in another component.

See Also

TNEF Structures, STnefProblemArray