Поделиться через


STATIONQUERY

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;

Members

  • 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.

Remarks

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.

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

QUERYTABLE