blob: b3a505ed779c86d8f0116d0534d8fb6b71a57636 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_
#define DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_
// windows.h needs to be included before BluetoothAPIs.h.
#include <windows.h>
#include <BluetoothAPIs.h>
#include <delayimp.h>
#include <ws2def.h>
#include <ws2bth.h>
#include "device/bluetooth/bluetooth_export.h"
#pragma comment(lib, "Bthprops.lib")
#pragma comment(lib, "BluetoothApis.lib")
namespace device {
namespace bluetooth_init_win {
// Returns true if the machine has a bluetooth stack available. The first call
// to this function will involve file IO, so it should be done on an appropriate
// thread. This function is not thread-safe.
bool DEVICE_BLUETOOTH_EXPORT HasBluetoothStack();
} // namespace bluetooth_init_win
} // namespace device
#endif // DEVICE_BLUETOOTH_BLUETOOTH_INIT_WIN_H_