ReactOS  0.4.14-dev-317-g96040ec
fbtusr.h
Go to the documentation of this file.
1 // Copyright (c) 2004, Antony C. Roberts
2 
3 // Use of this file is subject to the terms
4 // described in the LICENSE.TXT file that
5 // accompanies this file.
6 //
7 // Your use of this file indicates your
8 // acceptance of the terms described in
9 // LICENSE.TXT.
10 //
11 // http://www.freebt.net
12 
13 #ifndef _FREEBT_USER_H
14 #define _FREEBT_USER_H
15 
16 #include <initguid.h>
17 //#include <winioctl.h>
18 
19 // {7591F7C7-E760-434a-92D3-C1869930423C}
20 DEFINE_GUID(GUID_CLASS_FREEBT_USB,
21 0x7591f7c7, 0xe760, 0x434a, 0x92, 0xd3, 0xc1, 0x86, 0x99, 0x30, 0x42, 0x3c);
22 
23 #define FREEBT_IOCTL_INDEX 0x0000
24 
25 
26 #define IOCTL_FREEBT_GET_CONFIG_DESCRIPTOR CTL_CODE(FILE_DEVICE_UNKNOWN, \
27  FREEBT_IOCTL_INDEX, \
28  METHOD_BUFFERED, \
29  FILE_ANY_ACCESS)
30 
31 #define IOCTL_FREEBT_HCI_SEND_CMD CTL_CODE(FILE_DEVICE_UNKNOWN, \
32  FREEBT_IOCTL_INDEX + 1, \
33  METHOD_BUFFERED, \
34  FILE_ANY_ACCESS)
35 
36 #define IOCTL_FREEBT_HCI_GET_EVENT CTL_CODE(FILE_DEVICE_UNKNOWN, \
37  FREEBT_IOCTL_INDEX + 2, \
38  METHOD_BUFFERED, \
39  FILE_ANY_ACCESS)
40 
41 #endif
42 
DEFINE_GUID(GUID_CLASS_FREEBT_USB, 0x7591f7c7, 0xe760, 0x434a, 0x92, 0xd3, 0xc1, 0x86, 0x99, 0x30, 0x42, 0x3c)