STATIONQUERY structure
The STATIONQUERY structure provides information about a specific computer using Network Monitor.
typedef struct _STATIONQUERY {
DWORD Flags;
BYTE BCDVerMinor;
BYTE BCDVerMajor;
DWORD LicenseNumber;
BYTE MachineName[MACHINE_NAME_LENGTH];
BYTE UserName[USER_NAME_LENGTH];
BYTE Reserved[32];
BYTE AdapterAddress[6];
WCHAR WMachineName[MACHINE_NAME_LENGTH];
WCHAR WUserName[USER_NAME_LENGTH];
} STATIONQUERY, *LPSTATIONQUERY;
-
Flags
-
Flags that Identify the current state of Network Monitor.
Value Meaning - STATIONQUERY_FLAGS_LOADED
The driver is loaded, but the kernel is not. - STATIONQUERY_FLAGS_RUNNING
The driver is loaded but not capturing data. - STATIONQUERY_FLAGS_CAPTURING
The driver is actively engaged in a capture. - STATIONQUERY_FLAGS_TRANSMITTING
This flag is obsolete. -
BCDVerMinor
-
Minor version number of Network Monitor installed on the computer.
-
BCDVerMajor
-
Major version number of Network Monitor installed on the computer.
-
LicenseNumber
-
Software license number.
-
MachineName
-
Computer manufacturer name, if any.
-
UserName
-
User name or system identifier.
-
Reserved
-
Reserved for future use.
-
AdapterAddress
-
NIC address.
-
WMachineName
-
Unicode computer name. This member applies to Network Monitor 2.0 or later.
-
WUserName
-
Unicode user name. This member applies to Network Monitor 2.0 or later.
An array of these structures is used by the QUERYTABLE structure to provide a list of the computers that are currently using Network Monitor to capture data.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|