blob: 3d75b2a55f411d87ca90151de990afc0c4607983 [file] [log] [blame]
[email protected]063d9432013-01-25 09:26:011// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_
6#define DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_
7
8// windows.h needs to be included before BluetoothAPIs.h.
9#include <windows.h>
10
11#include <BluetoothAPIs.h>
[email protected]063d9432013-01-25 09:26:0112#include <delayimp.h>
[email protected]edcaf14a2013-02-25 17:46:3613#include <ws2def.h>
[email protected]246493d2013-02-03 18:24:0314#include <ws2bth.h>
[email protected]063d9432013-01-25 09:26:0115
scheib7c0d2772014-12-06 16:02:0416#include "device/bluetooth/bluetooth_export.h"
17
[email protected]063d9432013-01-25 09:26:0118namespace device {
19namespace bluetooth_init_win {
20
21// Returns true if the machine has a bluetooth stack available. The first call
22// to this function will involve file IO, so it should be done on an appropriate
benchan139a35b42014-10-28 06:32:1823// thread. This function is not thread-safe.
scheib7c0d2772014-12-06 16:02:0424bool DEVICE_BLUETOOTH_EXPORT HasBluetoothStack();
[email protected]063d9432013-01-25 09:26:0125
26} // namespace bluetooth_init_win
27} // namespace device
28
29#endif // DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_