Share via


CreateScanDevice

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
    Handle of the NetUI library that is returned to the application when it calls LoadLibrary on Netui.dll.
  • hWnd
    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

LoadLibrary

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.