Share via


IWSDiscoveryPublisher::UnRegisterScopeMatchingRule (Compact 2013)

3/26/2014

This method removes support for a custom scope matching rule.

Syntax

HRESULT UnRegisterScopeMatchingRule(
  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.

Remarks

UnRegisterScopeMatchingRule removes a previously associated custom scope matching rule.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDiscoveryPublisher
Web Services on Devices Interfaces