Share via


QUERYTABLE

The QUERYTABLE structure provides a list of the computers that are currently using Network Monitor to capture network data.

typedef struct _QUERYTABLE {
  DWORD nStationQueries;
  STATIONQUERY StationQuery[1];
} QUERYTABLE, 
 *LPQUERYTABLE;

Members

  • nStationQueries
    On input, the maximum number of computers you want Network Monitor to return.

    On output, the number of STATIONQUERY structures returned by Network Monitor. Each STATIONQUERY structure represents a computer that is currently capturing data.

  • StationQuery
    On input, an array of empty STATIONQUERY structures that contains the number of elements specified in nStationQueries.

    On output, a filled STATIONQUERY structure for each computer that is capturing data. The number of filled elements is returned by nStationQueries.

Remarks

The memory for this structure and the STATIONQUERY array must be allocated by the calling application and freed after the information is no longer needed.

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

IDelaydC::QueryStations, IESP::QueryStations, IRTC::QueryStations, IStats::QueryStations, STATIONQUERY