IDelaydC
The IDelaydC interface provides the methods used to connect to the network, capture network traffic to a capture file, retrieve statistics, and disconnect from the network.
This interface captures frames from the network data stream and then copies the frames to a capture file. This interface is used by Network Monitor and NPP applications. To receive the network data, the targeted NIC must support promiscuous mode.
Methods in Vtable Order
The IDelaydC interface inherits the methods of the IUnknown interface.
In addition, IDelaydC defines the following methods.
Method | Description |
---|---|
Connect | Connects the NPP to the network. |
Disconnect | Disconnects the NPP from the network. |
QueryStatus | Retrieves the status of the NPP. |
Configure | Submits configuration information used for a capture. |
Start | Starts a capture and creates the capture file. |
Pause | Temporarily stops the current capture. |
Resume | Resumes a paused capture. |
Stop | Stops the current capture and closes the capture file. |
GetTotalStatistics | Extracts time, buffer, driver, and other network statistics from the currently running capture. |
GetConversationStatistics | Retrieves session and station information for the current capture. |
GetControlState | Retrieves the state of the capture, which indicates if the capture is running or paused. |
QueryStations | Retrieves a list of all computers that use Network Monitor to capture data on a subnet. |
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. |
DLL | Requires Ndisnpp.dll. Requires Rmtnpp.dll. |