Share via


LABELED_BIT

The LABELED_BIT structure defines a label BIT pair.

typedef struct _LABELED_BIT {
  BYTE BitNumber;
  LPSTR LabelOff;
  LPSTR LabelOn;
} LABELED_BIT, 
 *LPLABELED_BIT;

Members

  • BitNumber
    BIT number of the label BIT pair. Values range from 0 to 255. Set the Bitnumber member to the BIT used in the comparison of the property value.
  • LabelOff
    String or label that is displayed when the BIT specified in BitNumber equals zero. For example, a possible label is "Bit OFF".
  • LabelOn
    String or label that is displayed when the BIT specified in BitNumber equals 1. For example, a possible label is "Bit ON".

Remarks

An array of LABELED_BIT structures is used to define a set of label BIT pairs. A pointer to the array is specified in the lpLabeledBit member of the SET structure. The pairs are used when you want to display a label based on the setting of each BIT. Typically, this type of set is used to indicate the ON or OFF value of BITs.

When a BIT set is specified, Network Monitor displays only the BITs included in the array of SET structures. BITs that are not in the SET structure are not displayed.

Requirements

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

See Also

SET