IUPnPDeviceFinder::CancelAsyncFind (Windows CE 5.0)
This method cancels an asynchronous search.
HRESULT CancelAsyncFind(LONGlFindData);
Parameters
- lFindData
[in] Specifies the search to cancel. The value of lFindData is the value returned by a previous call to IUPnPDeviceFinder::CreateAsyncFind.
Return Values
- S_OK
This method was successful.
Otherwise, the method returns one of the COM error codes defined in WinError.h.
Remarks
Applications can keep asynchronous searches running until the application exits. Always cancel outstanding operations when exiting an application.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Upnp.h.
Link Library: Uuid.lib.
See Also
IUPnPDeviceFinder:IDispatch | IUPnPDeviceFinder::CreateAsyncFind | IUPnPDeviceFinder::StartAsyncFind
Send Feedback on this topic to the authors