IWSDScopeMatchingRule::MatchScopes (Windows Embedded CE 6.0)
1/6/2010
This method is called to compare two scopes to determine if they match.
Syntax
HRESULT MatchScopes(
LPCWSTR pszScope1,
LPCWSTR pszScope2,
BOOL* pfMatch
);
Parameters
- pszScope1
[in] Pointer to the first scope matching rule.
- pszScope2
[in] Pointer to the second scope matching rule.
- pfMatch
[out] Set to TRUE if the scopes received via pszScope1 and pszScope2 match, FALSE otherwise.
Return Value
The following table shows the possible error code return values.
Error code | Description |
---|---|
S_OK |
This method completed successfully. |
Remarks
MatchScopes will be called on custom scope matching rules to determine whether or not the two scopes provided match. pfMatch should be assigned either TRUE or FALSE to indicate the match status.
Requirements
Header | wsdapi.h |
Library | wsdapi.lib |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |