Share via


IUPnPDeviceFinder::CancelAsyncFind (Windows Embedded CE 6.0)

1/6/2010

This method cancels an asynchronous search.

Syntax

HRESULT CancelAsyncFind(
  LONG lFindData
);

Parameters

Return Value

  • 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

Header upnp.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IUPnPDeviceFinder
IUPnPDeviceFinder::CreateAsyncFind
IUPnPDeviceFinder::StartAsyncFind