The Stop method stops the current capture.
HRESULT STDMETHODCALLTYPE Stop();
This method has no parameters.
If the method is successful the return value is NMERR_SUCCESS.
If the method is unsuccessful, the return value is one of the following error codes:
||The NPP is not connected to the network. Call the IStats::Connect method to connect the NPP to the network.
||The NPP is not capturing data. Call the IStats::Start method to start the capture.
||The NPP is connected to the network but not with the IStats::Connect method.
|Minimum supported client
||Windows 2000 Professional [desktop apps only]
|Minimum supported server
||Windows 2000 Server [desktop apps only]