IWSDiscoveryPublisher::RegisterScopeMatchingRule method (wsddisco.h)
Adds support for a custom scope matching rule.
Syntax
HRESULT RegisterScopeMatchingRule(
[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 |
---|---|
|
The method completed successfully. |
|
pScopeMatchingRule is NULL. |
|
Insufficient memory to complete the operation. |
Remarks
RegisterScopeMatchingRule allows custom scope matching rules to be defined and added to the existing set defined in the WS-Discovery specification.
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 |