IESP::Configure method
The Configure method submits configuration information for a capture.
Syntax
HRESULT STDMETHODCALLTYPE Configure(
[in] HBLOB hConfigurationBlob,
[out] HBLOB hErrorBlob
);
Parameters
-
hConfigurationBlob [in]
-
Handle to the BLOB that the caller configures.
-
hErrorBlob [out]
-
Handle to an error BLOB that contains additional error information. For information about the contents of an error BLOB, see the Remarks section in this topic.
Return value
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:
Return code | Description |
---|---|
|
The NPP is not connected to the network. |
|
The NPP is connected to the network but not with the IESP::Connect method. |
|
The NPP reports that the capture session has started. |
|
The trigger portion of the configuration BLOB is corrupt. |
|
The configuration BLOB specified by hConfigurationBlob is missing an entry needed to perform this operation. Look at the error BLOB returned by hErrorBlob to determine which entry was not found. |
|
The BLOB is corrupt. |
|
The CreateBlob method has not been called. |
|
The object that is pointed to is not a BLOB. |
|
The string is not null-terminated. |
|
The BLOB version number is incorrect. |
|
No memory was available. Shut down windows to free up resources. |
|
The request has timed out. |
Remarks
You must apply this method to restart an NPP that has been started and stopped, but not disconnected.
The error BLOB returned by the hErrorBlob parameter contains entries that Network Monitor could not understand or find in the configuration BLOB specified in hConfigurationBlob. The returned error BLOB contains error information that the application can use for troubleshooting. For example, if NMERR_BLOB_ENTRY_DOES_NOT_EXIST is returned, the entry Network Monitor could not find is included in the returned error BLOB.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
DLL |
|