PTM_FIELD_DESC (Windows CE 5.0)

Send Feedback

This structure describes a single field in an array of process, thread, or module values.

typedef struct _PTM_FIELD_DESC {  WORDwIdentifier;  WORDwSize;  LPOLESTRszLabel;  LPOLESTRszFormat;} PTM_FIELD_DESC;

Members

  • wIdentifier
    Identifier label for field.

    -1 indicates a custom field.

  • wSize
    Size of field in bytes.

  • szLabel
    Field label.

    This value is a zero-terminated string.

  • szFormat
    Default format.

    For more information, see Remarks.

Remarks

In general, the printf format is supported. Two exceptions to the format are not supported, and eXdi adds several additional format specifications for GUIDs, bitfields, and enumerations.

The following list shows the exceptions to printf format.

  • I64 is not permitted in the prefix.
  • The wildcard character * cannot be used to define width values or to define precision values.

The following list shows additional format specifications that this structure supports.

  • This format provides a GUID field of the form

    %G{GUIDNum}

  • This format provides bitfield descriptions of the form

    -%T{N=BitFieldNameN, M=BitFieldNameM...}

    The format specifier displays all set bitfields, separated by a comma (","). Any nondescribed bit is ignored.

    The bitfield specifications are described in the following list:

    • BitFieldNameN and BitFieldNameM are strings of type char with no embedded commas (",").

    • Bit numbers N and M are in the range [0...63].

      If the bit number is in [0...31], the BitfieldName is displayed for bit number == 1.

      If the bit number is in [32...63], the BitfieldName is displayed for bit number == 0.

  • This format provides enumeration descriptions of the form

    -%N{N=EnumElementNameN, M=EnumElementNameM...}

    Any nondescribed enumeration value is ignored.

    The enumeration descriptions use the following specifications:

    • N and M are decimal DWORD values
    • EnumElementNameN and EnumElementNameM are strings of type char with no embedded commas (",").

Requirements

OS Version: Windows CE 5.0 and later.
Header: FlexiPMTInfo.h.

See Also

IFlexiPTMInfo Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.