IWPCProviderState::Disable method (wpcapi.h)
Notifies the third-party application that it is not the current provider.
Syntax
HRESULT Disable();
Return value
If the method succeeds, the function returns S_OK.
If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Remarks
This method is called for every registered provider when the current provider changes. This means that the Disable method may be called for a provider that has already been disabled.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | wpcapi.h |