1/6/2010
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 |
| Windows Embedded CE | Windows Embedded CE 6.0 R2 |