BluetoothGATTUnregisterEvent

BluetoothGATTUnregisterEvent function

The BluetoothGATTUnregisterEvent function unregisters the given characteristic value change event.

Syntax


HRESULT WINAPI BluetoothGATTUnregisterEvent(
  _In_ BLUETOOTH_GATT_EVENT_HANDLE EventHandle,
  _In_ ULONG                       Flags
);

Parameters

EventHandle [in]

Handle returned from a previous call to BluetoothGATTRegisterEvent.

Flags [in]

Flags to modify the behavior of BluetoothGATTUnregisterEvent:

FlagDescription

BLUETOOTH_GATT_FLAG_NONE

The client does not have specific GATT requirements (default).

 

Return value

BluetoothGATTUnregisterEvent returns the following values:

Return codeDescription
S_OK

The operation completed successfully.

ERROR_ACCESS_DENIED

Returned if both a parent service and a service handle are provided and the service hierarchy does not roll up to the provided parent service handle.

ERROR_INVALID_PARAMETER

A parameter was invalid.

 

Requirements

Target platform

Universal

Version

Supported in Windows 8 and later versions of Windows.

Header

BluetoothAPIs.h

Library

BluetoothAPIs.lib

DLL

BluetoothAPIs.dll

See also

BluetoothGATTRegisterEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft