d3d11: Create an initial device ID3DDeviceContextState.
[wine.git] / include / bthsdpdef.h
blob46478506b8fa1f9c654b53c379451ee26a0ddfdc
1 /*
2 * Copyright (C) 2016 Austin English
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 #ifndef __BTHSDPDEF_H__
19 #define __BTHSDPDEF_H__
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 typedef struct SDP_LARGE_INTEGER_16 {
26 ULONGLONG LowPart;
27 LONGLONG HighPart;
28 } SDP_LARGE_INTEGER_16, *PSDP_LARGE_INTEGER_16, *LPSDP_LARGE_INTEGER_16;
30 typedef struct SDP_ULARGE_INTEGER_16 {
31 ULONGLONG LowPart;
32 ULONGLONG HighPart;
33 } SDP_ULARGE_INTEGER_16, *PSDP_ULARGE_INTEGER_16, *LPSDP_ULARGE_INTEGER_16;
35 typedef enum NodeContainerType {
36 NodeContainerTypeSequence,
37 NodeContainerTypeAlternative
38 } NodeContainerType;
40 typedef USHORT SDP_ERROR, *PSDP_ERROR;
42 typedef enum SDP_TYPE {
43 SDP_TYPE_NIL = 0x00,
44 SDP_TYPE_UINT = 0x01,
45 SDP_TYPE_INT = 0x02,
46 SDP_TYPE_UUID = 0x03,
47 SDP_TYPE_STRING = 0x04,
48 SDP_TYPE_BOOLEAN = 0x05,
49 SDP_TYPE_SEQUENCE = 0x06,
50 SDP_TYPE_ALTERNATIVE = 0x07,
51 SDP_TYPE_URL = 0x08,
52 SDP_TYPE_CONTAINER = 0x20
53 } SDP_TYPE;
55 typedef enum SDP_SPECIFICTYPE {
56 SDP_ST_NONE = 0x0000,
57 SDP_ST_UINT8 = 0x0010,
58 SDP_ST_UINT16 = 0x0110,
59 SDP_ST_UINT32 = 0x0210,
60 SDP_ST_UINT64 = 0x0310,
61 SDP_ST_UINT128 = 0x0410,
62 SDP_ST_INT8 = 0x0020,
63 SDP_ST_INT16 = 0x0120,
64 SDP_ST_INT32 = 0x0220,
65 SDP_ST_INT64 = 0x0320,
66 SDP_ST_INT128 = 0x0420,
67 SDP_ST_UUID16 = 0x0130,
68 SDP_ST_UUID32 = 0x0220,
69 SDP_ST_UUID128 = 0x0430
70 } SDP_SPECIFICTYPE;
72 typedef struct _SdpAttributeRange {
73 USHORT minAttribute;
74 USHORT maxAttribute;
75 } SdpAttributeRange;
77 typedef union SdpQueryUuidUnion {
78 GUID uuid128;
79 ULONG uuid32;
80 USHORT uuid16;
81 } SdpQueryUuidUnion;
83 typedef struct _SdpQueryUuid {
84 SdpQueryUuidUnion u;
85 USHORT uuidType;
86 } SdpQueryUuid;
88 #ifdef __cplusplus
90 #endif
92 #endif /* __BTHSDPDEF_H__ */