Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the GUID of the current provider.
Syntax
HRESULT GetCurrent(
[out] GUID *pguidProvider
);
Parameters
[out] pguidProvider
The GUID of the current provider.
Return value
If the method succeeds, the method returns S_OK.
If the method fails, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following table. For a list of common error codes, see Common HRESULT Values.
| Return code | Description |
|---|---|
|
The pguidProvider parameter is not valid. |
Remarks
The pguidProvider parameter will be a null GUID if there is no currently selected provider.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | wpcapi.h |