Share via


CreateScanDevice (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

Always returns 0.

Remarks

When this function is called, it reads the Bluetooth devices from the protected 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

Header netui.h
Library Netui.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Other Resources

Network User Interface Functions
LoadLibrary