Index: device/bluetooth/bluetooth_task_manager_win.cc |
diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc |
index e79294715b9df1109182c84a34b7a38bc392fd1e..df0b0fcccb9432adc1300127691dd0b99b0e8ddc 100644 |
--- a/device/bluetooth/bluetooth_task_manager_win.cc |
+++ b/device/bluetooth/bluetooth_task_manager_win.cc |
@@ -154,9 +154,9 @@ base::Lock g_characteristic_value_changed_registrations_lock; |
// Function to be registered to OS to monitor Bluetooth LE GATT event. It is |
// invoked in BluetoothApis.dll thread. |
-void OnGetGattEventWin(BTH_LE_GATT_EVENT_TYPE type, |
- PVOID event_parameter, |
- PVOID context) { |
+void CALLBACK OnGetGattEventWin(BTH_LE_GATT_EVENT_TYPE type, |
+ PVOID event_parameter, |
+ PVOID context) { |
if (type != CharacteristicValueChangedEvent) { |
// Right now, only characteristic value changed event is supported. |
NOTREACHED(); |