Last modified: July 23, 2011

Applies to: Outlook

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

Header file:


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


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 (PidTagAttachNumber) value.


Attribute associated with the property indicated by the ulPropTag member or, when the TNEF processing problem occurs when decoding an encapsulation block, one of the following values:


Message level


Attachment level


Property tag of the property that caused the TNEF processing problem, except when the problem occurs when decoding an encapsulation block, in which case ulPropTag is set to zero.


Error value indicating the problem encountered during processing.

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 stopped and decoding is continued in another component.