Share via


IWSDiscoveryProviderNotify::SearchComplete (Compact 2013)

3/26/2014

This method called to indicate a user initiated search has successfully completed and no more matches for the search will be accepted.

Syntax

HRESULT SearchComplete(
  LPCWSTR pszTag
);

Parameters

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

The return value of this method is not meaningful. An implementer should return S_OK.

Remarks

If no responses are received for a given search, then IWSDiscoveryProviderNotify::SearchFailed will be called to indicate this.

The interval between initiating the search and receiving a SearchComplete notification is 10 seconds, based on MATCH_TIMEOUT from WS-Discovery and amended by the DPWS Appendix I.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDiscoveryProviderNotify
Web Services on Devices Interfaces