QUERYTABLE structure

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

Syntax

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h

See also

IDelaydC::QueryStations

IESP::QueryStations

IRTC::QueryStations

IStats::QueryStations

STATIONQUERY