IUPnPDeviceFinder::StartAsyncFind method (upnp.h)

The StartAsyncFind method starts an asynchronous search operation.

Syntax

HRESULT StartAsyncFind(
  [in] LONG lFindData
);

Parameters

[in] lFindData

Specifies the search to start. The value of lFindData is the value returned by a previous call to IUPnPDeviceFinder::CreateAsyncFind.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.

Remarks

You can have more than one StartAsyncFind operation running at the same time; starting another StartAsyncFind does not cancel a previous StartAsyncFind operation.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPDeviceFinder

IUPnPDeviceFinder::CancelAsyncFind