IUPnPDeviceFinder::CancelAsyncFind
This method cancels an asynchronous search.
HRESULT CancelAsyncFind(
LONG lFindData
);
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
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.