summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/device/bluetoth/blue_w32.h
Unidiff
Diffstat (limited to 'gammu/emb/common/device/bluetoth/blue_w32.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/device/bluetoth/blue_w32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gammu/emb/common/device/bluetoth/blue_w32.h b/gammu/emb/common/device/bluetoth/blue_w32.h
index e457c92..409f4b1 100644
--- a/gammu/emb/common/device/bluetoth/blue_w32.h
+++ b/gammu/emb/common/device/bluetoth/blue_w32.h
@@ -90,73 +90,73 @@ DEFINE_GUID(L2CAP_PROTOCOL_UUID, 0x00000100, 0x0000, 0x1000, 0x80, 0x00, 0x00,
90#endif 90#endif
91 91
92#define LUP_CONTAINERS 0x0002 92#define LUP_CONTAINERS 0x0002
93#define LUP_RETURN_NAME 0x0010 93#define LUP_RETURN_NAME 0x0010
94#define LUP_RETURN_TYPE 0x0020 94#define LUP_RETURN_TYPE 0x0020
95#define LUP_RETURN_COMMENT 0x0080 95#define LUP_RETURN_COMMENT 0x0080
96#define LUP_RETURN_ADDR 0x0100 96#define LUP_RETURN_ADDR 0x0100
97#define LUP_RETURN_BLOB 0x0200 97#define LUP_RETURN_BLOB 0x0200
98 #define LUP_FLUSHCACHE 0x1000 98 #define LUP_FLUSHCACHE 0x1000
99#define LUP_RES_SERVICE 0x8000 99#define LUP_RES_SERVICE 0x8000
100 100
101#define WSAAPI FAR PASCAL 101#define WSAAPI FAR PASCAL
102 102
103#ifndef WINSOCK_API_LINKAGE 103#ifndef WINSOCK_API_LINKAGE
104#ifdef DECLSPEC_IMPORT 104#ifdef DECLSPEC_IMPORT
105#define WINSOCK_API_LINKAGE DECLSPEC_IMPORT 105#define WINSOCK_API_LINKAGE DECLSPEC_IMPORT
106#else 106#else
107#define WINSOCK_API_LINKAGE 107#define WINSOCK_API_LINKAGE
108#endif 108#endif
109#endif 109#endif
110 110
111WINSOCK_API_LINKAGE INT WSAAPI 111WINSOCK_API_LINKAGE INT WSAAPI
112WSALookupServiceBeginA( 112WSALookupServiceBeginA(
113 IN LPWSAQUERYSETA lpqsRestrictions, 113 IN LPWSAQUERYSETA lpqsRestrictions,
114 IN DWORD dwControlFlags, 114 IN DWORD dwControlFlags,
115 OUT LPHANDLE lphLookup 115 OUT LPHANDLE lphLookup
116 ); 116 );
117 117
118#define WSALookupServiceBegin WSALookupServiceBeginA 118#define WSALookupServiceBegin WSALookupServiceBeginA
119 119
120WINSOCK_API_LINKAGE INT WSAAPI 120WINSOCK_API_LINKAGE INT WSAAPI
121WSALookupServiceNextA( 121WSALookupServiceNextA(
122 IN HANDLE hLookup, 122 IN Qt::HANDLE hLookup,
123 IN DWORD dwControlFlags, 123 IN DWORD dwControlFlags,
124 IN OUT LPDWORD lpdwBufferLength, 124 IN OUT LPDWORD lpdwBufferLength,
125 OUT LPWSAQUERYSETA lpqsResults 125 OUT LPWSAQUERYSETA lpqsResults
126 ); 126 );
127 127
128#define WSALookupServiceNext WSALookupServiceNextA 128#define WSALookupServiceNext WSALookupServiceNextA
129 129
130WINSOCK_API_LINKAGE INT WSAAPI WSALookupServiceEnd(IN HANDLE hLookup); 130WINSOCK_API_LINKAGE INT WSAAPI WSALookupServiceEnd(IN Qt::HANDLE hLookup);
131 131
132#define MAX_PROTOCOL_CHAIN 7 132#define MAX_PROTOCOL_CHAIN 7
133 133
134typedef struct _WSAPROTOCOLCHAIN { 134typedef struct _WSAPROTOCOLCHAIN {
135 int ChainLen; /* the length of the chain, */ 135 int ChainLen; /* the length of the chain, */
136 /* length = 0 means layered protocol, */ 136 /* length = 0 means layered protocol, */
137 /* length = 1 means base protocol, */ 137 /* length = 1 means base protocol, */
138 /* length > 1 means protocol chain */ 138 /* length > 1 means protocol chain */
139 DWORD ChainEntries[MAX_PROTOCOL_CHAIN]; /* a list of dwCatalogEntryIds */ 139 DWORD ChainEntries[MAX_PROTOCOL_CHAIN]; /* a list of dwCatalogEntryIds */
140} WSAPROTOCOLCHAIN, FAR * LPWSAPROTOCOLCHAIN; 140} WSAPROTOCOLCHAIN, FAR * LPWSAPROTOCOLCHAIN;
141 141
142#define WSAPROTOCOL_LEN 255 142#define WSAPROTOCOL_LEN 255
143 143
144typedef struct _WSAPROTOCOL_INFOA { 144typedef struct _WSAPROTOCOL_INFOA {
145 DWORD dwServiceFlags1; 145 DWORD dwServiceFlags1;
146 DWORD dwServiceFlags2; 146 DWORD dwServiceFlags2;
147 DWORD dwServiceFlags3; 147 DWORD dwServiceFlags3;
148 DWORD dwServiceFlags4; 148 DWORD dwServiceFlags4;
149 DWORD dwProviderFlags; 149 DWORD dwProviderFlags;
150 GUID ProviderId; 150 GUID ProviderId;
151 DWORD dwCatalogEntryId; 151 DWORD dwCatalogEntryId;
152 WSAPROTOCOLCHAIN ProtocolChain; 152 WSAPROTOCOLCHAIN ProtocolChain;
153 int iVersion; 153 int iVersion;
154 int iAddressFamily; 154 int iAddressFamily;
155 int iMaxSockAddr; 155 int iMaxSockAddr;
156 int iMinSockAddr; 156 int iMinSockAddr;
157 int iSocketType; 157 int iSocketType;
158 int iProtocol; 158 int iProtocol;
159 int iProtocolMaxOffset; 159 int iProtocolMaxOffset;
160 int iNetworkByteOrder; 160 int iNetworkByteOrder;
161 int iSecurityScheme; 161 int iSecurityScheme;
162 DWORD dwMessageSize; 162 DWORD dwMessageSize;