Compartilhar via


BthServiceNotifyConnected (Compact 2013)

3/26/2014

This function updates the registry to indicate the service is connected and sends a BTE_SERVICE_CONNECTION_EVENT event.

Syntax

int BthServiceNotifyConnected(
  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
BthServiceNotifyDisconnected