IWSDiscoveryPublisher::RegisterScopeMatchingRule (Compact 2013)
3/26/2014
This method adds support for a custom scope matching rule.
Syntax
HRESULT RegisterScopeMatchingRule(
IWSDScopeMatchingRule* pScopeMatchingRule
);
Parameters
- pScopeMatchingRule
[in] Pointer to a custom scope matching rule.
Return Value
The following table shows the possible error code return values.
Error code |
Description |
---|---|
S_OK |
This method completed successfully. |
E_INVALIDARG |
pScopeMatchingRule is NULL. |
E_OUTOFMEMORY |
Insufficient memory to complete the operation. |
Remarks
RegisterScopeMatchingRule allows custom scope matching rules to be defined and added to the existing set defined in WS-Discovery.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |