NMCOLUMNVARIANT structure
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.
Syntax
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.
-
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|