次の方法で共有


BthServiceNotifyDisconnected (Compact 2013)

3/26/2014

This function updates the registry to indicate the service is disconnected and sends a BTE_SERVICE_DISCONNECTION_EVENT event.

Syntax

int BthServiceNotifyDisconnected(
  BT_ADDR* pbtAddr,
  const GUID* pServiceUuid
);

Parameters

  • pbtAddr
    [in] The address of the remote device.
  • pServiceUuid
    [in] Identifies the service.

Return Value

Returns ERROR_SUCCESS on success; otherwise returns a standard HRESULT error code.

Requirements

Header

BthServiceHelper.h

Library

BthServiceHelper.lib

See Also

Reference

Bluetooth API Notification Functions
BthServiceNotifyConnected