Редагувати

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


NETWORKSTATUS structure

The NETWORKSTATUS structure describes the current status of the NPP.

Syntax

typedef struct _NETWORKSTATUS {
  DWORD State;
  DWORD Flags;
} NETWORKSTATUS, *LPNETWORKSTATUS;

Members

State

Indicates the current state of the NPP.

Value Meaning
NETWORKSTATUS_STATE_VOID
The NPP is not connected, or it is connected and the capture is not started.
NETWORKSTATUS_STATE_CAPTURING
The NPP is capturing data.
NETWORKSTATUS_STATE_PAUSED
The NPP has paused while capturing data.

Flags

Flags that describe the current state of the NPP.

Value Meaning
NETWORKSTATUS_FLAGS_TRIGGER_PENDING
There is a trigger pending for the NPP.

Remarks

When using this structure, you must allocate the memory for the structure before it can be used and free the memory when the structure is no longer needed.

The See Also list at the bottom of this topic lists all the methods that use this structure.

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::QueryStatus

IESP::QueryStatus

IRTC::QueryStatus

IStats::QueryStatus