次の方法で共有


OnBthDeviceRemoved (Compact 2013)

3/26/2014

This callback function is called when the device disconnects from another peer Bluetooth device.

Syntax

typedef void (*TONBTHDEVICEREMOVED)(
  const BT_ADDR*,
  const GUID*, 
    LPVOID
);

Parameters

  • BT_ADDR*
    Points to BT_ADDR that stores the address of the peer Bluetooth.
  • GUID*
    Points to the GUID of the remote service that triggered the callback.
  • LPVOID
    Equals the DWORD, set in the registry, typecast as LPVOID.

Return Value

None.

Remarks

Implement an OnBthDeviceRemoved function in your application to receive notifications when a remote device is connected that supports a specified service. The stack calls only those OnBthDeviceRemoved callbacks that are registered for the supported services on the removed device.

This callback is invoked in the context of the Bluetooth pairing application, not the kernel mode stack.

Requirements

Header

bthutil_p.h

Library

Developer Implemented

See Also

Reference

Bluetooth Application Development Callbacks
OnBthDeviceAdded