NMCOLUMNVARIANT
The NMCOLUMNVARIANT structure provides a line in the top pane of the Event Viewer that serves as a container for all possible data inserted into a column.
typedef struct {
NMCOLUMNTYPE Type;
union {
BYTE Uint8Val;
char Sint8Val;
WORD Uint16Val;
short Sint16Val;
DWORD Uint32Val;
LONG Sint32Val;
DOUBLE Float64Val;
DWORD FrameVal;
BOOL YesNoVal;
BOOL OnOffVal;
BOOL TrueFalseVal;
BYTE MACAddrVal[MAC_ADDRESS_SIZE];
IPX_ADDRESS IPXAddrVal;
DWORD IPAddrVal;
DOUBLE VarTimeVal;
LPSTR pStringVal;
} Value;
} NMCOLUMNVARIANT;
Members
Type
A value from the NMCOLUMNTYPE enumeration type.Value
- Uint8Val
8-bit unsigned integer value. - Sint8Val
8-bit signed integer value. - Uint16Val
16-bit unsigned integer value. - Sint16Val
16-bit signed integer value. - Uint32Val
32-bit unsigned integer value. - Sint32Val
32-bit signed integer value. - Float64Val
64-bit float value. - FrameVal
Frame number. - YesNoVal
Displays Yes or No. - OnOffVal
Displays On or Off. - TrueFalseVal
Displays True or False. - MACAddrVal
MAC address. - IPXAddrVal
IPX address. - IPAddrVal
IP address. - VarTimeVal
Variant time. Use VariantTimetoSystemTime to convert to system time. - pStringVal
Pointer to a string.
- Uint8Val
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. |