Condividi tramite


Generic Formatter Output

The lists and tables in this section show the output of the generic formatter. Be aware that the generic formatter uses the DataType and DataQualifier members of the PROPERTYINFO structure to determine how to format the displayed data.

For more information and an example of the output for a specific property data type, see:

  • PROP_TYPE_VOID
  • PROP_TYPE_SUMMARY
  • PROP_TYPE_BYTE
  • PROP_TYPE_WORD
  • PROP_TYPE_DWORD
  • PROP_TYPE_LARGEINT (generic formatter does not support)
  • PROP_TYPE_ADDR (generic formatter does not support)
  • PROP_TYPE_TIME
  • PROP_TYPE_STRING
  • PROP_TYPE_IP_ADDRESS
  • PROP_TYPE_BYTESWAPPED_WORD (Obsolete. For more information, see PROP_TYPE_WORD)
  • PROP_TYPE_BYTESWAPPED_DWORD (Obsolete. For more information, see PROP_TYPE_DWORD)
  • PROP_TYPE_TYPED_STRING (Obsolete)
  • PROP_TYPE_RAW_DATA
  • PROP_TYPE_COMMENT
  • PROP_TYPE_SRCFRIENDLYNAME (generic formatter does not support)
  • PROP_TYPE_DSTFRIENDLYNAME (generic formatter does not support)
  • PROP_TYPE_TOKENRING_ADDRESS (generic formatter does not support)
  • PROP_TYPE_FDDI_ADDRESS (generic formatter does not support)
  • PROP_TYPE_ETHERNET_ADDRESS (generic formatter does not support)
  • PROP_TYPE_OBJECT_IDENTIFIER (generic formatter does not support)
  • PROP_TYPE_VINES_IP_ADDRESS (generic formatter does not support)
  • PROP_TYPE_VAR_LEN_SMALL_INT (generic formatter does not support)

PROP_TYPE_VOID and PROP_TYPE_COMMENT

The following table lists the generic format output for PROP_TYPE_VOID and PROP_TYPE_COMMENT data type properties.

In the formatter output column, the value of the data in the capture is XYZ.

Property qualifier Formatter output
PROP_QUAL_NONE XYZ
PROP_QUAL_RANGE XYZ
PROP_QUAL_BITFIELD Obsolete
PROP_QUAL_LABELED_SET XYZ
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS
PROP_QUAL_CONST XYZ
PROP_QUAL_FLAGS XYZ
PROP_QUAL_ARRAY XYZ

 

PROP_TYPE_SUMMARY

The following table lists the generic format output for PROP_TYPE_SUMMARY data type properties.

In the example output column, the value of the data in the capture is XYZ.

Property qualifier Example output
PROP_QUAL_NONE XYZ
PROP_QUAL_RANGE XYZ
PROP_QUAL_BITFIELD Obsolete
PROP_QUAL_LABELED_SET XYZ
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS
PROP_QUAL_CONST XYZ
PROP_QUAL_FLAGS XYZ
PROP_QUAL_ARRAY XYZ

 

PROP_TYPE_BYTE

The following table lists the generic format output for PROP_TYPE_BYTE data type properties.

In the example output column, the value of the data in the capture is 10.

Property qualifier Example output
PROP_QUAL_NONE 10 (0xa)"
PROP_QUAL_RANGE 10 (0xa) Range:(1 (0x1) - 20 (0x14))
PROP_QUAL_SET 10 (0xa) Matches Set Value

or

10 (0xa) Unknown Set Value

PROP_QUAL_BITFIELD Obsolete.
PROP_QUAL_LABELED_SET Corresponding label in a label set or number.
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS.
PROP_QUAL_CONST No output. No data is displayed in the detail pane.
PROP_QUAL_FLAGS .......0 = Label Off String ......1. = Label On String .....0.. = Label Off String ....1... = Label On String
PROP_QUAL_ARRAY 0a ff ...

 

PROP_TYPE_WORD

The following table lists the generic format output for a PROP_TYPE_WORD data type property.

Note  For non-Intel, byte-swapped DWORD properties, you must change the data to an Intel format. To change the format, set the IFlags parameter of the Attach property instance function IFLAG_SWAPPED when you map the property instance to a location.

In the example output column, the value of the data in the capture is 10.

Property qualifier Example output
PROP_QUAL_NONE 10 (0xa)
PROP_QUAL_RANGE 10 (0xa) Range:(1 (0x1) - 20 (0x14))
PROP_QUAL_SET 10 (0xa) Matches Set Value

or

10 (0xa) Unknown Set Value

PROP_QUAL_BITFIELD Obsolete.
PROP_QUAL_LABELED_SET Corresponding label in the label set or number.
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS.
PROP_QUAL_CONST No output. No data is displayed in the detail pane.
PROP_QUAL_FLAGS .......0 = Label Off String ......0. = Label Off String .....0.. = Label Off String ....0... = Label Off String ...0.... = Label Off String ..1..... = Label On String .0...... = Label Off String 1....... = Label On String
PROP_QUAL_ARRAY 000a ffff ...

 

PROP_TYPE_DWORD

The following table lists the generic format output for PROP_TYPE_DWORD data type properties.

Note  For non-Intel, byte-swapped DWORD properties, you must change the data to an Intel format. To change the format, set the IFlags parameter of the Attach property instance function IFLAG_SWAPPED when you map the property instance to a location.

In the example output column, the value of the data in the capture is 10.

Property qualifier Example output
PROP_QUAL_NONE 10 (0xa)
PROP_QUAL_RANGE 10 (0xa) Range:(1 (0x1) - 20 (0x14))
PROP_QUAL_SET 10 (0xa) Matches Set Value

or

10 (0xa) Unknown Set Value

PROP_QUAL_BITFIELD Obsolete.
PROP_QUAL_LABELED_SET Corresponding label in label set or number.
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS.
PROP_QUAL_CONST No output. No data is displayed in the detail pane.
PROP_QUAL_FLAGS ...............0 = Label Off String ..............0. = Label Off String .............0.. = Label Off String ............0... = Label Off String ...........0.... = Label Off String ..........0..... = Label Off String .........0...... = Label Off String ........0....... = Label Off String .......0........ = Label Off String ......0......... = Label Off String .....0.......... = Label Off String ....0........... = Label Off String ...0............ = Label Off String ..1............. = Label On String .0.............. = Label Off String 1............... = Label On String
PROP_QUAL_ARRAY 0000000a ffffffff ...

 

PROP_TYPE_RAW_DATA

The following table lists the generic format output for a PROP_TYPE_RAW_DATA data type property. Be aware that the formatter output does not display the raw data, but does display the property label.

Property qualifier Formatter output
PROP_QUAL_NONE Property label.
PROP_QUAL_RANGE Property label.
PROP_QUAL_BITFIELD Property label.
PROP_QUAL_LABELED_SET Property label.
PROP_QUAL_LABELED_BITFIELD Property label.
PROP_QUAL_CONST Property label.
PROP_QUAL_FLAGS Property label.
PROP_QUAL_ARRAY Property label.

 

PROP_TYPE_TIME

The following table lists the generic format output for a PROP_TYPE_TIME data type property. Be aware that the formatted output may vary depending on the data qualifier of the property.

The generic formatter calls GetDateFormat to get a time that is based on the system clock of the local computer.

Property qualifier Formatter output
PROP_QUAL_NONE Displays the system time based on the local computer clock.
PROP_QUAL_RANGE Displays the system time based on the local computer clock.
PROP_QUAL_BITFIELD Obsolete.
PROP_QUAL_LABELED_SET Displays the system time based on the local computer clock.
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS.
PROP_QUAL_CONST Displays the system time based on the local computer clock.
PROP_QUAL_FLAGS Displays the system time based on the local computer clock.
PROP_QUAL_ARRAY Displays the system time based on the local computer clock.

 

PROP_TYPE_STRING

The following table lists the generic format output for PROP_TYPE_STRING data type properties. Be aware that the formatter output may vary depending on the data qualifier of the property.

Property qualifier Formatter output
PROP_QUAL_NONE Attached string.
PROP_QUAL_RANGE Attached string.
PROP_QUAL_BITFIELD Obsolete.
PROP_QUAL_LABELED_SET Attached string.
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS.
PROP_QUAL_CONST Attached string.
PROP_QUAL_FLAGS Attached string.
PROP_QUAL_ARRAY Attached string.

 

PROP_TYPE_IP_ADDRESS

The following table lists the generic format output for PROP_TYPE_IP_ADDRESS data type properties. Be aware that the formatted output may vary depending on the property data qualifier of the property.

In the example output column, the value of the data in the capture is "129.65.100.2".

Property qualifier Example output
PROP_QUAL_NONE 129.65.100.2
PROP_QUAL_RANGE 129.65.100.2
PROP_QUAL_BITFIELD Obsolete.
PROP_QUAL_LABELED_SET 129.65.100.2
PROP_QUAL_LABELED_BITFIELD Obsolete. For more information, see PROP_QUAL_FLAGS.
PROP_QUAL_CONST 129.65.100.2
PROP_QUAL_FLAGS 129.65.100.2
PROP_QUAL_ARRAY 129.65.100.2

 

Send comments about this topic to Microsoft

Build date: 11/9/2009