Freigeben über


CreateScanDevice (Windows CE 5.0)

Send Feedback

This function displays a dialog box that allows the user to manipulate, find, query, add, and delete Bluetooth-enabled devices.

int CreateScanDevice(HINSTANCE hInstance,HWND hWnd);

Parameters

  • hInstance
    [in] Handle of the NetUI library that is returned to the application when it calls LoadLibrary on Netui.dll.
  • hWnd
    [in] Handle for the parent window.

Return Values

Always returns 0.

Remarks

When this function is called, it reads the trusted Bluetooth devices from the registry. The user can request a list of Bluetooth devices in physical proximity and query the devices found for the services they offer. The user can then authenticate the devices. This includes verifying a PIN in some cases. The user can select one device of each kind as Active (or default). The dialog box saves this information to the registry so other applications can use the devices.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Netui.h.
Link Library: Netui.lib.

See Also

Network User Interface Functions | LoadLibrary

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.