IWSDiscoveryProviderNotify::SearchComplete method (wsddisco.h)

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

Syntax

HRESULT SearchComplete(
  [in, optional] LPCWSTR pszTag
);

Parameters

[in, optional] pszTag

Search tag passed to the IWSDiscoveryProvider search method.

Return value

The return value 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 with SearchByType or SearchById and receiving a SearchComplete notification is a maximum of 10 seconds, based on MATCH_TIMEOUT from WS-Discovery and amended by the DPWS Appendix I. The interval between initiating the search with SearchByAddress and receiving a SearchComplete notification is a maximum of 150 seconds.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsddisco.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDiscoveryProviderNotify