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.h | 4 |
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 | |||
@@ -98,57 +98,57 @@ DEFINE_GUID(L2CAP_PROTOCOL_UUID, 0x00000100, 0x0000, 0x1000, 0x80, 0x00, 0x00, | |||
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 | ||
111 | WINSOCK_API_LINKAGE INT WSAAPI | 111 | WINSOCK_API_LINKAGE INT WSAAPI |
112 | WSALookupServiceBeginA( | 112 | WSALookupServiceBeginA( |
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 | ||
120 | WINSOCK_API_LINKAGE INT WSAAPI | 120 | WINSOCK_API_LINKAGE INT WSAAPI |
121 | WSALookupServiceNextA( | 121 | WSALookupServiceNextA( |
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 | ||
130 | WINSOCK_API_LINKAGE INT WSAAPI WSALookupServiceEnd(IN HANDLE hLookup); | 130 | WINSOCK_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 | ||
134 | typedef struct _WSAPROTOCOLCHAIN { | 134 | typedef 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 | ||
144 | typedef struct _WSAPROTOCOL_INFOA { | 144 | typedef 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; |