Share via


CreateScanDevice (Compact 2013)

3/26/2014

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

See Also

Reference

Network User Interface Functions

Other Resources

LoadLibrary