IWSDiscoveryPublisher::UnRegisterScopeMatchingRule method (wsddisco.h)

Removes support for a custom scope matching rule.

Syntax

HRESULT UnRegisterScopeMatchingRule(
  [in] IWSDScopeMatchingRule *pScopeMatchingRule
);

Parameters

[in] pScopeMatchingRule

Pointer to an IWSDScopeMatchingRule object that represents a custom scope matching rule.

Return value

Possible return values include, but are not limited to, the following:

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
pScopeMatchingRule is NULL.

Remarks

UnRegisterScopeMatchingRule removes a previously associated custom scope matching rule.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsddisco.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDiscoveryPublisher