1 | /*** Autogenerated by WIDL 6.4 from include/adhoc.idl - Do not edit ***/
|
---|
2 |
|
---|
3 | #ifdef _WIN32
|
---|
4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
6 | #endif
|
---|
7 | #include <rpc.h>
|
---|
8 | #include <rpcndr.h>
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef COM_NO_WINDOWS_H
|
---|
12 | #include <windows.h>
|
---|
13 | #include <ole2.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #ifndef __adhoc_h__
|
---|
17 | #define __adhoc_h__
|
---|
18 |
|
---|
19 | /* Forward declarations */
|
---|
20 |
|
---|
21 | #ifndef __IDot11AdHocManager_FWD_DEFINED__
|
---|
22 | #define __IDot11AdHocManager_FWD_DEFINED__
|
---|
23 | typedef interface IDot11AdHocManager IDot11AdHocManager;
|
---|
24 | #ifdef __cplusplus
|
---|
25 | interface IDot11AdHocManager;
|
---|
26 | #endif /* __cplusplus */
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | #ifndef __IDot11AdHocManagerNotificationSink_FWD_DEFINED__
|
---|
30 | #define __IDot11AdHocManagerNotificationSink_FWD_DEFINED__
|
---|
31 | typedef interface IDot11AdHocManagerNotificationSink IDot11AdHocManagerNotificationSink;
|
---|
32 | #ifdef __cplusplus
|
---|
33 | interface IDot11AdHocManagerNotificationSink;
|
---|
34 | #endif /* __cplusplus */
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | #ifndef __IEnumDot11AdHocNetworks_FWD_DEFINED__
|
---|
38 | #define __IEnumDot11AdHocNetworks_FWD_DEFINED__
|
---|
39 | typedef interface IEnumDot11AdHocNetworks IEnumDot11AdHocNetworks;
|
---|
40 | #ifdef __cplusplus
|
---|
41 | interface IEnumDot11AdHocNetworks;
|
---|
42 | #endif /* __cplusplus */
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #ifndef __IDot11AdHocNetwork_FWD_DEFINED__
|
---|
46 | #define __IDot11AdHocNetwork_FWD_DEFINED__
|
---|
47 | typedef interface IDot11AdHocNetwork IDot11AdHocNetwork;
|
---|
48 | #ifdef __cplusplus
|
---|
49 | interface IDot11AdHocNetwork;
|
---|
50 | #endif /* __cplusplus */
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #ifndef __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__
|
---|
54 | #define __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__
|
---|
55 | typedef interface IDot11AdHocNetworkNotificationSink IDot11AdHocNetworkNotificationSink;
|
---|
56 | #ifdef __cplusplus
|
---|
57 | interface IDot11AdHocNetworkNotificationSink;
|
---|
58 | #endif /* __cplusplus */
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #ifndef __IDot11AdHocInterface_FWD_DEFINED__
|
---|
62 | #define __IDot11AdHocInterface_FWD_DEFINED__
|
---|
63 | typedef interface IDot11AdHocInterface IDot11AdHocInterface;
|
---|
64 | #ifdef __cplusplus
|
---|
65 | interface IDot11AdHocInterface;
|
---|
66 | #endif /* __cplusplus */
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifndef __IEnumDot11AdHocInterfaces_FWD_DEFINED__
|
---|
70 | #define __IEnumDot11AdHocInterfaces_FWD_DEFINED__
|
---|
71 | typedef interface IEnumDot11AdHocInterfaces IEnumDot11AdHocInterfaces;
|
---|
72 | #ifdef __cplusplus
|
---|
73 | interface IEnumDot11AdHocInterfaces;
|
---|
74 | #endif /* __cplusplus */
|
---|
75 | #endif
|
---|
76 |
|
---|
77 | #ifndef __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
78 | #define __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
79 | typedef interface IEnumDot11AdHocSecuritySettings IEnumDot11AdHocSecuritySettings;
|
---|
80 | #ifdef __cplusplus
|
---|
81 | interface IEnumDot11AdHocSecuritySettings;
|
---|
82 | #endif /* __cplusplus */
|
---|
83 | #endif
|
---|
84 |
|
---|
85 | #ifndef __IDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
86 | #define __IDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
87 | typedef interface IDot11AdHocSecuritySettings IDot11AdHocSecuritySettings;
|
---|
88 | #ifdef __cplusplus
|
---|
89 | interface IDot11AdHocSecuritySettings;
|
---|
90 | #endif /* __cplusplus */
|
---|
91 | #endif
|
---|
92 |
|
---|
93 | #ifndef __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__
|
---|
94 | #define __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__
|
---|
95 | typedef interface IDot11AdHocInterfaceNotificationSink IDot11AdHocInterfaceNotificationSink;
|
---|
96 | #ifdef __cplusplus
|
---|
97 | interface IDot11AdHocInterfaceNotificationSink;
|
---|
98 | #endif /* __cplusplus */
|
---|
99 | #endif
|
---|
100 |
|
---|
101 | #ifndef __Dot11AdHocManager_FWD_DEFINED__
|
---|
102 | #define __Dot11AdHocManager_FWD_DEFINED__
|
---|
103 | #ifdef __cplusplus
|
---|
104 | typedef class Dot11AdHocManager Dot11AdHocManager;
|
---|
105 | #else
|
---|
106 | typedef struct Dot11AdHocManager Dot11AdHocManager;
|
---|
107 | #endif /* defined __cplusplus */
|
---|
108 | #endif /* defined __Dot11AdHocManager_FWD_DEFINED__ */
|
---|
109 |
|
---|
110 | /* Headers for imported files */
|
---|
111 |
|
---|
112 | #include <oaidl.h>
|
---|
113 | #include <unknwn.h>
|
---|
114 | #include <wtypes.h>
|
---|
115 |
|
---|
116 | #ifdef __cplusplus
|
---|
117 | extern "C" {
|
---|
118 | #endif
|
---|
119 |
|
---|
120 | #include <winapifamily.h>
|
---|
121 |
|
---|
122 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
---|
123 | #ifndef __IDot11AdHocManager_FWD_DEFINED__
|
---|
124 | #define __IDot11AdHocManager_FWD_DEFINED__
|
---|
125 | typedef interface IDot11AdHocManager IDot11AdHocManager;
|
---|
126 | #ifdef __cplusplus
|
---|
127 | interface IDot11AdHocManager;
|
---|
128 | #endif /* __cplusplus */
|
---|
129 | #endif
|
---|
130 |
|
---|
131 | #ifndef __IDot11AdHocManagerNotificationSink_FWD_DEFINED__
|
---|
132 | #define __IDot11AdHocManagerNotificationSink_FWD_DEFINED__
|
---|
133 | typedef interface IDot11AdHocManagerNotificationSink IDot11AdHocManagerNotificationSink;
|
---|
134 | #ifdef __cplusplus
|
---|
135 | interface IDot11AdHocManagerNotificationSink;
|
---|
136 | #endif /* __cplusplus */
|
---|
137 | #endif
|
---|
138 |
|
---|
139 | #ifndef __IDot11AdHocNetwork_FWD_DEFINED__
|
---|
140 | #define __IDot11AdHocNetwork_FWD_DEFINED__
|
---|
141 | typedef interface IDot11AdHocNetwork IDot11AdHocNetwork;
|
---|
142 | #ifdef __cplusplus
|
---|
143 | interface IDot11AdHocNetwork;
|
---|
144 | #endif /* __cplusplus */
|
---|
145 | #endif
|
---|
146 |
|
---|
147 | #ifndef __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__
|
---|
148 | #define __IDot11AdHocNetworkNotificationSink_FWD_DEFINED__
|
---|
149 | typedef interface IDot11AdHocNetworkNotificationSink IDot11AdHocNetworkNotificationSink;
|
---|
150 | #ifdef __cplusplus
|
---|
151 | interface IDot11AdHocNetworkNotificationSink;
|
---|
152 | #endif /* __cplusplus */
|
---|
153 | #endif
|
---|
154 |
|
---|
155 | #ifndef __IDot11AdHocInterface_FWD_DEFINED__
|
---|
156 | #define __IDot11AdHocInterface_FWD_DEFINED__
|
---|
157 | typedef interface IDot11AdHocInterface IDot11AdHocInterface;
|
---|
158 | #ifdef __cplusplus
|
---|
159 | interface IDot11AdHocInterface;
|
---|
160 | #endif /* __cplusplus */
|
---|
161 | #endif
|
---|
162 |
|
---|
163 | #ifndef __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__
|
---|
164 | #define __IDot11AdHocInterfaceNotificationSink_FWD_DEFINED__
|
---|
165 | typedef interface IDot11AdHocInterfaceNotificationSink IDot11AdHocInterfaceNotificationSink;
|
---|
166 | #ifdef __cplusplus
|
---|
167 | interface IDot11AdHocInterfaceNotificationSink;
|
---|
168 | #endif /* __cplusplus */
|
---|
169 | #endif
|
---|
170 |
|
---|
171 | #ifndef __IDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
172 | #define __IDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
173 | typedef interface IDot11AdHocSecuritySettings IDot11AdHocSecuritySettings;
|
---|
174 | #ifdef __cplusplus
|
---|
175 | interface IDot11AdHocSecuritySettings;
|
---|
176 | #endif /* __cplusplus */
|
---|
177 | #endif
|
---|
178 |
|
---|
179 | #ifndef __IEnumDot11AdHocInterfaces_FWD_DEFINED__
|
---|
180 | #define __IEnumDot11AdHocInterfaces_FWD_DEFINED__
|
---|
181 | typedef interface IEnumDot11AdHocInterfaces IEnumDot11AdHocInterfaces;
|
---|
182 | #ifdef __cplusplus
|
---|
183 | interface IEnumDot11AdHocInterfaces;
|
---|
184 | #endif /* __cplusplus */
|
---|
185 | #endif
|
---|
186 |
|
---|
187 | #ifndef __IEnumDot11AdHocNetworks_FWD_DEFINED__
|
---|
188 | #define __IEnumDot11AdHocNetworks_FWD_DEFINED__
|
---|
189 | typedef interface IEnumDot11AdHocNetworks IEnumDot11AdHocNetworks;
|
---|
190 | #ifdef __cplusplus
|
---|
191 | interface IEnumDot11AdHocNetworks;
|
---|
192 | #endif /* __cplusplus */
|
---|
193 | #endif
|
---|
194 |
|
---|
195 | #ifndef __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
196 | #define __IEnumDot11AdHocSecuritySettings_FWD_DEFINED__
|
---|
197 | typedef interface IEnumDot11AdHocSecuritySettings IEnumDot11AdHocSecuritySettings;
|
---|
198 | #ifdef __cplusplus
|
---|
199 | interface IEnumDot11AdHocSecuritySettings;
|
---|
200 | #endif /* __cplusplus */
|
---|
201 | #endif
|
---|
202 |
|
---|
203 | typedef enum tagDOT11_ADHOC_CIPHER_ALGORITHM {
|
---|
204 | DOT11_ADHOC_CIPHER_ALGO_INVALID = -1,
|
---|
205 | DOT11_ADHOC_CIPHER_ALGO_NONE = 0x0,
|
---|
206 | DOT11_ADHOC_CIPHER_ALGO_CCMP = 0x4,
|
---|
207 | DOT11_ADHOC_CIPHER_ALGO_WEP = 0x101
|
---|
208 | } DOT11_ADHOC_CIPHER_ALGORITHM;
|
---|
209 | typedef enum tagDOT11_ADHOC_AUTH_ALGORITHM {
|
---|
210 | DOT11_ADHOC_AUTH_ALGO_INVALID = -1,
|
---|
211 | DOT11_ADHOC_AUTH_ALGO_80211_OPEN = 1,
|
---|
212 | DOT11_ADHOC_AUTH_ALGO_RSNA_PSK = 7
|
---|
213 | } DOT11_ADHOC_AUTH_ALGORITHM;
|
---|
214 | typedef enum tagDOT11_ADHOC_NETWORK_CONNECTION_STATUS {
|
---|
215 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS_INVALID = 0,
|
---|
216 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS_DISCONNECTED = 11,
|
---|
217 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTING = 12,
|
---|
218 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS_CONNECTED = 13,
|
---|
219 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS_FORMED = 14
|
---|
220 | } DOT11_ADHOC_NETWORK_CONNECTION_STATUS;
|
---|
221 | typedef enum tagDOT11_ADHOC_CONNECT_FAIL_REASON {
|
---|
222 | DOT11_ADHOC_CONNECT_FAIL_DOMAIN_MISMATCH = 0,
|
---|
223 | DOT11_ADHOC_CONNECT_FAIL_PASSPHRASE_MISMATCH = 1,
|
---|
224 | DOT11_ADHOC_CONNECT_FAIL_OTHER = 2
|
---|
225 | } DOT11_ADHOC_CONNECT_FAIL_REASON;
|
---|
226 | EXTERN_C const CLSID CLSID_AdHocManager;
|
---|
227 | /*****************************************************************************
|
---|
228 | * IDot11AdHocManager interface
|
---|
229 | */
|
---|
230 | #ifndef __IDot11AdHocManager_INTERFACE_DEFINED__
|
---|
231 | #define __IDot11AdHocManager_INTERFACE_DEFINED__
|
---|
232 |
|
---|
233 | DEFINE_GUID(IID_IDot11AdHocManager, 0x8f10cc26, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
234 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
235 | MIDL_INTERFACE("8f10cc26-cf0d-42a0-acbe-e2de7007384d")
|
---|
236 | IDot11AdHocManager : public IUnknown
|
---|
237 | {
|
---|
238 | virtual HRESULT STDMETHODCALLTYPE CreateNetwork(
|
---|
239 | LPCWSTR Name,
|
---|
240 | LPCWSTR Password,
|
---|
241 | LONG GeographicalId,
|
---|
242 | IDot11AdHocInterface *pInterface,
|
---|
243 | IDot11AdHocSecuritySettings *pSecurity,
|
---|
244 | GUID *pContextGuid,
|
---|
245 | IDot11AdHocNetwork **pIAdHoc) = 0;
|
---|
246 |
|
---|
247 | virtual HRESULT STDMETHODCALLTYPE CommitCreatedNetwork(
|
---|
248 | IDot11AdHocNetwork *pIAdHoc,
|
---|
249 | BOOLEAN fSaveProfile,
|
---|
250 | BOOLEAN fMakeSavedProfileUserSpecific) = 0;
|
---|
251 |
|
---|
252 | virtual HRESULT STDMETHODCALLTYPE GetIEnumDot11AdHocNetworks(
|
---|
253 | GUID *pContextGuid,
|
---|
254 | IEnumDot11AdHocNetworks **ppEnum) = 0;
|
---|
255 |
|
---|
256 | virtual HRESULT STDMETHODCALLTYPE GetIEnumDot11AdHocInterfaces(
|
---|
257 | IEnumDot11AdHocInterfaces **ppEnum) = 0;
|
---|
258 |
|
---|
259 | virtual HRESULT STDMETHODCALLTYPE GetNetwork(
|
---|
260 | GUID *NetworkSignature,
|
---|
261 | IDot11AdHocNetwork **pNetwork) = 0;
|
---|
262 |
|
---|
263 | };
|
---|
264 | #ifdef __CRT_UUID_DECL
|
---|
265 | __CRT_UUID_DECL(IDot11AdHocManager, 0x8f10cc26, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
266 | #endif
|
---|
267 | #else
|
---|
268 | typedef struct IDot11AdHocManagerVtbl {
|
---|
269 | BEGIN_INTERFACE
|
---|
270 |
|
---|
271 | /*** IUnknown methods ***/
|
---|
272 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
273 | IDot11AdHocManager *This,
|
---|
274 | REFIID riid,
|
---|
275 | void **ppvObject);
|
---|
276 |
|
---|
277 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
278 | IDot11AdHocManager *This);
|
---|
279 |
|
---|
280 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
281 | IDot11AdHocManager *This);
|
---|
282 |
|
---|
283 | /*** IDot11AdHocManager methods ***/
|
---|
284 | HRESULT (STDMETHODCALLTYPE *CreateNetwork)(
|
---|
285 | IDot11AdHocManager *This,
|
---|
286 | LPCWSTR Name,
|
---|
287 | LPCWSTR Password,
|
---|
288 | LONG GeographicalId,
|
---|
289 | IDot11AdHocInterface *pInterface,
|
---|
290 | IDot11AdHocSecuritySettings *pSecurity,
|
---|
291 | GUID *pContextGuid,
|
---|
292 | IDot11AdHocNetwork **pIAdHoc);
|
---|
293 |
|
---|
294 | HRESULT (STDMETHODCALLTYPE *CommitCreatedNetwork)(
|
---|
295 | IDot11AdHocManager *This,
|
---|
296 | IDot11AdHocNetwork *pIAdHoc,
|
---|
297 | BOOLEAN fSaveProfile,
|
---|
298 | BOOLEAN fMakeSavedProfileUserSpecific);
|
---|
299 |
|
---|
300 | HRESULT (STDMETHODCALLTYPE *GetIEnumDot11AdHocNetworks)(
|
---|
301 | IDot11AdHocManager *This,
|
---|
302 | GUID *pContextGuid,
|
---|
303 | IEnumDot11AdHocNetworks **ppEnum);
|
---|
304 |
|
---|
305 | HRESULT (STDMETHODCALLTYPE *GetIEnumDot11AdHocInterfaces)(
|
---|
306 | IDot11AdHocManager *This,
|
---|
307 | IEnumDot11AdHocInterfaces **ppEnum);
|
---|
308 |
|
---|
309 | HRESULT (STDMETHODCALLTYPE *GetNetwork)(
|
---|
310 | IDot11AdHocManager *This,
|
---|
311 | GUID *NetworkSignature,
|
---|
312 | IDot11AdHocNetwork **pNetwork);
|
---|
313 |
|
---|
314 | END_INTERFACE
|
---|
315 | } IDot11AdHocManagerVtbl;
|
---|
316 |
|
---|
317 | interface IDot11AdHocManager {
|
---|
318 | CONST_VTBL IDot11AdHocManagerVtbl* lpVtbl;
|
---|
319 | };
|
---|
320 |
|
---|
321 | #ifdef COBJMACROS
|
---|
322 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
323 | /*** IUnknown methods ***/
|
---|
324 | #define IDot11AdHocManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
325 | #define IDot11AdHocManager_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
326 | #define IDot11AdHocManager_Release(This) (This)->lpVtbl->Release(This)
|
---|
327 | /*** IDot11AdHocManager methods ***/
|
---|
328 | #define IDot11AdHocManager_CreateNetwork(This,Name,Password,GeographicalId,pInterface,pSecurity,pContextGuid,pIAdHoc) (This)->lpVtbl->CreateNetwork(This,Name,Password,GeographicalId,pInterface,pSecurity,pContextGuid,pIAdHoc)
|
---|
329 | #define IDot11AdHocManager_CommitCreatedNetwork(This,pIAdHoc,fSaveProfile,fMakeSavedProfileUserSpecific) (This)->lpVtbl->CommitCreatedNetwork(This,pIAdHoc,fSaveProfile,fMakeSavedProfileUserSpecific)
|
---|
330 | #define IDot11AdHocManager_GetIEnumDot11AdHocNetworks(This,pContextGuid,ppEnum) (This)->lpVtbl->GetIEnumDot11AdHocNetworks(This,pContextGuid,ppEnum)
|
---|
331 | #define IDot11AdHocManager_GetIEnumDot11AdHocInterfaces(This,ppEnum) (This)->lpVtbl->GetIEnumDot11AdHocInterfaces(This,ppEnum)
|
---|
332 | #define IDot11AdHocManager_GetNetwork(This,NetworkSignature,pNetwork) (This)->lpVtbl->GetNetwork(This,NetworkSignature,pNetwork)
|
---|
333 | #else
|
---|
334 | /*** IUnknown methods ***/
|
---|
335 | static FORCEINLINE HRESULT IDot11AdHocManager_QueryInterface(IDot11AdHocManager* This,REFIID riid,void **ppvObject) {
|
---|
336 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
337 | }
|
---|
338 | static FORCEINLINE ULONG IDot11AdHocManager_AddRef(IDot11AdHocManager* This) {
|
---|
339 | return This->lpVtbl->AddRef(This);
|
---|
340 | }
|
---|
341 | static FORCEINLINE ULONG IDot11AdHocManager_Release(IDot11AdHocManager* This) {
|
---|
342 | return This->lpVtbl->Release(This);
|
---|
343 | }
|
---|
344 | /*** IDot11AdHocManager methods ***/
|
---|
345 | static FORCEINLINE HRESULT IDot11AdHocManager_CreateNetwork(IDot11AdHocManager* This,LPCWSTR Name,LPCWSTR Password,LONG GeographicalId,IDot11AdHocInterface *pInterface,IDot11AdHocSecuritySettings *pSecurity,GUID *pContextGuid,IDot11AdHocNetwork **pIAdHoc) {
|
---|
346 | return This->lpVtbl->CreateNetwork(This,Name,Password,GeographicalId,pInterface,pSecurity,pContextGuid,pIAdHoc);
|
---|
347 | }
|
---|
348 | static FORCEINLINE HRESULT IDot11AdHocManager_CommitCreatedNetwork(IDot11AdHocManager* This,IDot11AdHocNetwork *pIAdHoc,BOOLEAN fSaveProfile,BOOLEAN fMakeSavedProfileUserSpecific) {
|
---|
349 | return This->lpVtbl->CommitCreatedNetwork(This,pIAdHoc,fSaveProfile,fMakeSavedProfileUserSpecific);
|
---|
350 | }
|
---|
351 | static FORCEINLINE HRESULT IDot11AdHocManager_GetIEnumDot11AdHocNetworks(IDot11AdHocManager* This,GUID *pContextGuid,IEnumDot11AdHocNetworks **ppEnum) {
|
---|
352 | return This->lpVtbl->GetIEnumDot11AdHocNetworks(This,pContextGuid,ppEnum);
|
---|
353 | }
|
---|
354 | static FORCEINLINE HRESULT IDot11AdHocManager_GetIEnumDot11AdHocInterfaces(IDot11AdHocManager* This,IEnumDot11AdHocInterfaces **ppEnum) {
|
---|
355 | return This->lpVtbl->GetIEnumDot11AdHocInterfaces(This,ppEnum);
|
---|
356 | }
|
---|
357 | static FORCEINLINE HRESULT IDot11AdHocManager_GetNetwork(IDot11AdHocManager* This,GUID *NetworkSignature,IDot11AdHocNetwork **pNetwork) {
|
---|
358 | return This->lpVtbl->GetNetwork(This,NetworkSignature,pNetwork);
|
---|
359 | }
|
---|
360 | #endif
|
---|
361 | #endif
|
---|
362 |
|
---|
363 | #endif
|
---|
364 |
|
---|
365 |
|
---|
366 | #endif /* __IDot11AdHocManager_INTERFACE_DEFINED__ */
|
---|
367 |
|
---|
368 | /*****************************************************************************
|
---|
369 | * IDot11AdHocManagerNotificationSink interface
|
---|
370 | */
|
---|
371 | #ifndef __IDot11AdHocManagerNotificationSink_INTERFACE_DEFINED__
|
---|
372 | #define __IDot11AdHocManagerNotificationSink_INTERFACE_DEFINED__
|
---|
373 |
|
---|
374 | DEFINE_GUID(IID_IDot11AdHocManagerNotificationSink, 0x8f10cc27, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
375 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
376 | MIDL_INTERFACE("8f10cc27-cf0d-42a0-acbe-e2de7007384d")
|
---|
377 | IDot11AdHocManagerNotificationSink : public IUnknown
|
---|
378 | {
|
---|
379 | virtual HRESULT STDMETHODCALLTYPE OnNetworkAdd(
|
---|
380 | IDot11AdHocNetwork *pIAdHocNetwork) = 0;
|
---|
381 |
|
---|
382 | virtual HRESULT STDMETHODCALLTYPE OnNetworkRemove(
|
---|
383 | GUID *Signature) = 0;
|
---|
384 |
|
---|
385 | virtual HRESULT STDMETHODCALLTYPE OnInterfaceAdd(
|
---|
386 | IDot11AdHocInterface *pIAdHocInterface) = 0;
|
---|
387 |
|
---|
388 | virtual HRESULT STDMETHODCALLTYPE OnInterfaceRemove(
|
---|
389 | GUID *Signature) = 0;
|
---|
390 |
|
---|
391 | };
|
---|
392 | #ifdef __CRT_UUID_DECL
|
---|
393 | __CRT_UUID_DECL(IDot11AdHocManagerNotificationSink, 0x8f10cc27, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
394 | #endif
|
---|
395 | #else
|
---|
396 | typedef struct IDot11AdHocManagerNotificationSinkVtbl {
|
---|
397 | BEGIN_INTERFACE
|
---|
398 |
|
---|
399 | /*** IUnknown methods ***/
|
---|
400 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
401 | IDot11AdHocManagerNotificationSink *This,
|
---|
402 | REFIID riid,
|
---|
403 | void **ppvObject);
|
---|
404 |
|
---|
405 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
406 | IDot11AdHocManagerNotificationSink *This);
|
---|
407 |
|
---|
408 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
409 | IDot11AdHocManagerNotificationSink *This);
|
---|
410 |
|
---|
411 | /*** IDot11AdHocManagerNotificationSink methods ***/
|
---|
412 | HRESULT (STDMETHODCALLTYPE *OnNetworkAdd)(
|
---|
413 | IDot11AdHocManagerNotificationSink *This,
|
---|
414 | IDot11AdHocNetwork *pIAdHocNetwork);
|
---|
415 |
|
---|
416 | HRESULT (STDMETHODCALLTYPE *OnNetworkRemove)(
|
---|
417 | IDot11AdHocManagerNotificationSink *This,
|
---|
418 | GUID *Signature);
|
---|
419 |
|
---|
420 | HRESULT (STDMETHODCALLTYPE *OnInterfaceAdd)(
|
---|
421 | IDot11AdHocManagerNotificationSink *This,
|
---|
422 | IDot11AdHocInterface *pIAdHocInterface);
|
---|
423 |
|
---|
424 | HRESULT (STDMETHODCALLTYPE *OnInterfaceRemove)(
|
---|
425 | IDot11AdHocManagerNotificationSink *This,
|
---|
426 | GUID *Signature);
|
---|
427 |
|
---|
428 | END_INTERFACE
|
---|
429 | } IDot11AdHocManagerNotificationSinkVtbl;
|
---|
430 |
|
---|
431 | interface IDot11AdHocManagerNotificationSink {
|
---|
432 | CONST_VTBL IDot11AdHocManagerNotificationSinkVtbl* lpVtbl;
|
---|
433 | };
|
---|
434 |
|
---|
435 | #ifdef COBJMACROS
|
---|
436 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
437 | /*** IUnknown methods ***/
|
---|
438 | #define IDot11AdHocManagerNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
439 | #define IDot11AdHocManagerNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
440 | #define IDot11AdHocManagerNotificationSink_Release(This) (This)->lpVtbl->Release(This)
|
---|
441 | /*** IDot11AdHocManagerNotificationSink methods ***/
|
---|
442 | #define IDot11AdHocManagerNotificationSink_OnNetworkAdd(This,pIAdHocNetwork) (This)->lpVtbl->OnNetworkAdd(This,pIAdHocNetwork)
|
---|
443 | #define IDot11AdHocManagerNotificationSink_OnNetworkRemove(This,Signature) (This)->lpVtbl->OnNetworkRemove(This,Signature)
|
---|
444 | #define IDot11AdHocManagerNotificationSink_OnInterfaceAdd(This,pIAdHocInterface) (This)->lpVtbl->OnInterfaceAdd(This,pIAdHocInterface)
|
---|
445 | #define IDot11AdHocManagerNotificationSink_OnInterfaceRemove(This,Signature) (This)->lpVtbl->OnInterfaceRemove(This,Signature)
|
---|
446 | #else
|
---|
447 | /*** IUnknown methods ***/
|
---|
448 | static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_QueryInterface(IDot11AdHocManagerNotificationSink* This,REFIID riid,void **ppvObject) {
|
---|
449 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
450 | }
|
---|
451 | static FORCEINLINE ULONG IDot11AdHocManagerNotificationSink_AddRef(IDot11AdHocManagerNotificationSink* This) {
|
---|
452 | return This->lpVtbl->AddRef(This);
|
---|
453 | }
|
---|
454 | static FORCEINLINE ULONG IDot11AdHocManagerNotificationSink_Release(IDot11AdHocManagerNotificationSink* This) {
|
---|
455 | return This->lpVtbl->Release(This);
|
---|
456 | }
|
---|
457 | /*** IDot11AdHocManagerNotificationSink methods ***/
|
---|
458 | static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnNetworkAdd(IDot11AdHocManagerNotificationSink* This,IDot11AdHocNetwork *pIAdHocNetwork) {
|
---|
459 | return This->lpVtbl->OnNetworkAdd(This,pIAdHocNetwork);
|
---|
460 | }
|
---|
461 | static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnNetworkRemove(IDot11AdHocManagerNotificationSink* This,GUID *Signature) {
|
---|
462 | return This->lpVtbl->OnNetworkRemove(This,Signature);
|
---|
463 | }
|
---|
464 | static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnInterfaceAdd(IDot11AdHocManagerNotificationSink* This,IDot11AdHocInterface *pIAdHocInterface) {
|
---|
465 | return This->lpVtbl->OnInterfaceAdd(This,pIAdHocInterface);
|
---|
466 | }
|
---|
467 | static FORCEINLINE HRESULT IDot11AdHocManagerNotificationSink_OnInterfaceRemove(IDot11AdHocManagerNotificationSink* This,GUID *Signature) {
|
---|
468 | return This->lpVtbl->OnInterfaceRemove(This,Signature);
|
---|
469 | }
|
---|
470 | #endif
|
---|
471 | #endif
|
---|
472 |
|
---|
473 | #endif
|
---|
474 |
|
---|
475 |
|
---|
476 | #endif /* __IDot11AdHocManagerNotificationSink_INTERFACE_DEFINED__ */
|
---|
477 |
|
---|
478 | /*****************************************************************************
|
---|
479 | * IEnumDot11AdHocNetworks interface
|
---|
480 | */
|
---|
481 | #ifndef __IEnumDot11AdHocNetworks_INTERFACE_DEFINED__
|
---|
482 | #define __IEnumDot11AdHocNetworks_INTERFACE_DEFINED__
|
---|
483 |
|
---|
484 | DEFINE_GUID(IID_IEnumDot11AdHocNetworks, 0x8f10cc28, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
485 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
486 | MIDL_INTERFACE("8f10cc28-cf0d-42a0-acbe-e2de7007384d")
|
---|
487 | IEnumDot11AdHocNetworks : public IUnknown
|
---|
488 | {
|
---|
489 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
490 | ULONG cElt,
|
---|
491 | IDot11AdHocNetwork **rgElt,
|
---|
492 | ULONG *pcEltFetched) = 0;
|
---|
493 |
|
---|
494 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
495 | ULONG cElt) = 0;
|
---|
496 |
|
---|
497 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
498 | ) = 0;
|
---|
499 |
|
---|
500 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
501 | IEnumDot11AdHocNetworks **ppEnum) = 0;
|
---|
502 |
|
---|
503 | };
|
---|
504 | #ifdef __CRT_UUID_DECL
|
---|
505 | __CRT_UUID_DECL(IEnumDot11AdHocNetworks, 0x8f10cc28, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
506 | #endif
|
---|
507 | #else
|
---|
508 | typedef struct IEnumDot11AdHocNetworksVtbl {
|
---|
509 | BEGIN_INTERFACE
|
---|
510 |
|
---|
511 | /*** IUnknown methods ***/
|
---|
512 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
513 | IEnumDot11AdHocNetworks *This,
|
---|
514 | REFIID riid,
|
---|
515 | void **ppvObject);
|
---|
516 |
|
---|
517 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
518 | IEnumDot11AdHocNetworks *This);
|
---|
519 |
|
---|
520 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
521 | IEnumDot11AdHocNetworks *This);
|
---|
522 |
|
---|
523 | /*** IEnumDot11AdHocNetworks methods ***/
|
---|
524 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
525 | IEnumDot11AdHocNetworks *This,
|
---|
526 | ULONG cElt,
|
---|
527 | IDot11AdHocNetwork **rgElt,
|
---|
528 | ULONG *pcEltFetched);
|
---|
529 |
|
---|
530 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
531 | IEnumDot11AdHocNetworks *This,
|
---|
532 | ULONG cElt);
|
---|
533 |
|
---|
534 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
535 | IEnumDot11AdHocNetworks *This);
|
---|
536 |
|
---|
537 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
538 | IEnumDot11AdHocNetworks *This,
|
---|
539 | IEnumDot11AdHocNetworks **ppEnum);
|
---|
540 |
|
---|
541 | END_INTERFACE
|
---|
542 | } IEnumDot11AdHocNetworksVtbl;
|
---|
543 |
|
---|
544 | interface IEnumDot11AdHocNetworks {
|
---|
545 | CONST_VTBL IEnumDot11AdHocNetworksVtbl* lpVtbl;
|
---|
546 | };
|
---|
547 |
|
---|
548 | #ifdef COBJMACROS
|
---|
549 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
550 | /*** IUnknown methods ***/
|
---|
551 | #define IEnumDot11AdHocNetworks_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
552 | #define IEnumDot11AdHocNetworks_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
553 | #define IEnumDot11AdHocNetworks_Release(This) (This)->lpVtbl->Release(This)
|
---|
554 | /*** IEnumDot11AdHocNetworks methods ***/
|
---|
555 | #define IEnumDot11AdHocNetworks_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
|
---|
556 | #define IEnumDot11AdHocNetworks_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
|
---|
557 | #define IEnumDot11AdHocNetworks_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
558 | #define IEnumDot11AdHocNetworks_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
|
---|
559 | #else
|
---|
560 | /*** IUnknown methods ***/
|
---|
561 | static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_QueryInterface(IEnumDot11AdHocNetworks* This,REFIID riid,void **ppvObject) {
|
---|
562 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
563 | }
|
---|
564 | static FORCEINLINE ULONG IEnumDot11AdHocNetworks_AddRef(IEnumDot11AdHocNetworks* This) {
|
---|
565 | return This->lpVtbl->AddRef(This);
|
---|
566 | }
|
---|
567 | static FORCEINLINE ULONG IEnumDot11AdHocNetworks_Release(IEnumDot11AdHocNetworks* This) {
|
---|
568 | return This->lpVtbl->Release(This);
|
---|
569 | }
|
---|
570 | /*** IEnumDot11AdHocNetworks methods ***/
|
---|
571 | static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Next(IEnumDot11AdHocNetworks* This,ULONG cElt,IDot11AdHocNetwork **rgElt,ULONG *pcEltFetched) {
|
---|
572 | return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched);
|
---|
573 | }
|
---|
574 | static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Skip(IEnumDot11AdHocNetworks* This,ULONG cElt) {
|
---|
575 | return This->lpVtbl->Skip(This,cElt);
|
---|
576 | }
|
---|
577 | static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Reset(IEnumDot11AdHocNetworks* This) {
|
---|
578 | return This->lpVtbl->Reset(This);
|
---|
579 | }
|
---|
580 | static FORCEINLINE HRESULT IEnumDot11AdHocNetworks_Clone(IEnumDot11AdHocNetworks* This,IEnumDot11AdHocNetworks **ppEnum) {
|
---|
581 | return This->lpVtbl->Clone(This,ppEnum);
|
---|
582 | }
|
---|
583 | #endif
|
---|
584 | #endif
|
---|
585 |
|
---|
586 | #endif
|
---|
587 |
|
---|
588 |
|
---|
589 | #endif /* __IEnumDot11AdHocNetworks_INTERFACE_DEFINED__ */
|
---|
590 |
|
---|
591 | /*****************************************************************************
|
---|
592 | * IDot11AdHocNetwork interface
|
---|
593 | */
|
---|
594 | #ifndef __IDot11AdHocNetwork_INTERFACE_DEFINED__
|
---|
595 | #define __IDot11AdHocNetwork_INTERFACE_DEFINED__
|
---|
596 |
|
---|
597 | DEFINE_GUID(IID_IDot11AdHocNetwork, 0x8f10cc29, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
598 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
599 | MIDL_INTERFACE("8f10cc29-cf0d-42a0-acbe-e2de7007384d")
|
---|
600 | IDot11AdHocNetwork : public IUnknown
|
---|
601 | {
|
---|
602 | virtual HRESULT STDMETHODCALLTYPE GetStatus(
|
---|
603 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus) = 0;
|
---|
604 |
|
---|
605 | virtual HRESULT STDMETHODCALLTYPE GetSSID(
|
---|
606 | LPWSTR *ppszwSSID) = 0;
|
---|
607 |
|
---|
608 | virtual HRESULT STDMETHODCALLTYPE HasProfile(
|
---|
609 | BOOLEAN *pf11d) = 0;
|
---|
610 |
|
---|
611 | virtual HRESULT STDMETHODCALLTYPE GetProfileName(
|
---|
612 | LPWSTR *ppszwProfileName) = 0;
|
---|
613 |
|
---|
614 | virtual HRESULT STDMETHODCALLTYPE DeleteProfile(
|
---|
615 | ) = 0;
|
---|
616 |
|
---|
617 | virtual HRESULT STDMETHODCALLTYPE GetSignalQuality(
|
---|
618 | ULONG *puStrengthValue,
|
---|
619 | ULONG *puStrengthMax) = 0;
|
---|
620 |
|
---|
621 | virtual HRESULT STDMETHODCALLTYPE GetSecuritySetting(
|
---|
622 | IDot11AdHocSecuritySettings **pAdHocSecuritySetting) = 0;
|
---|
623 |
|
---|
624 | virtual HRESULT STDMETHODCALLTYPE GetContextGuid(
|
---|
625 | GUID *pContextGuid) = 0;
|
---|
626 |
|
---|
627 | virtual HRESULT STDMETHODCALLTYPE GetSignature(
|
---|
628 | GUID *pSignature) = 0;
|
---|
629 |
|
---|
630 | virtual HRESULT STDMETHODCALLTYPE GetInterface(
|
---|
631 | IDot11AdHocInterface **pAdHocInterface) = 0;
|
---|
632 |
|
---|
633 | virtual HRESULT STDMETHODCALLTYPE Connect(
|
---|
634 | LPCWSTR Passphrase,
|
---|
635 | LONG GeographicalId,
|
---|
636 | BOOLEAN fSaveProfile,
|
---|
637 | BOOLEAN fMakeSavedProfileUserSpecific) = 0;
|
---|
638 |
|
---|
639 | virtual HRESULT STDMETHODCALLTYPE Disconnect(
|
---|
640 | ) = 0;
|
---|
641 |
|
---|
642 | };
|
---|
643 | #ifdef __CRT_UUID_DECL
|
---|
644 | __CRT_UUID_DECL(IDot11AdHocNetwork, 0x8f10cc29, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
645 | #endif
|
---|
646 | #else
|
---|
647 | typedef struct IDot11AdHocNetworkVtbl {
|
---|
648 | BEGIN_INTERFACE
|
---|
649 |
|
---|
650 | /*** IUnknown methods ***/
|
---|
651 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
652 | IDot11AdHocNetwork *This,
|
---|
653 | REFIID riid,
|
---|
654 | void **ppvObject);
|
---|
655 |
|
---|
656 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
657 | IDot11AdHocNetwork *This);
|
---|
658 |
|
---|
659 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
660 | IDot11AdHocNetwork *This);
|
---|
661 |
|
---|
662 | /*** IDot11AdHocNetwork methods ***/
|
---|
663 | HRESULT (STDMETHODCALLTYPE *GetStatus)(
|
---|
664 | IDot11AdHocNetwork *This,
|
---|
665 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus);
|
---|
666 |
|
---|
667 | HRESULT (STDMETHODCALLTYPE *GetSSID)(
|
---|
668 | IDot11AdHocNetwork *This,
|
---|
669 | LPWSTR *ppszwSSID);
|
---|
670 |
|
---|
671 | HRESULT (STDMETHODCALLTYPE *HasProfile)(
|
---|
672 | IDot11AdHocNetwork *This,
|
---|
673 | BOOLEAN *pf11d);
|
---|
674 |
|
---|
675 | HRESULT (STDMETHODCALLTYPE *GetProfileName)(
|
---|
676 | IDot11AdHocNetwork *This,
|
---|
677 | LPWSTR *ppszwProfileName);
|
---|
678 |
|
---|
679 | HRESULT (STDMETHODCALLTYPE *DeleteProfile)(
|
---|
680 | IDot11AdHocNetwork *This);
|
---|
681 |
|
---|
682 | HRESULT (STDMETHODCALLTYPE *GetSignalQuality)(
|
---|
683 | IDot11AdHocNetwork *This,
|
---|
684 | ULONG *puStrengthValue,
|
---|
685 | ULONG *puStrengthMax);
|
---|
686 |
|
---|
687 | HRESULT (STDMETHODCALLTYPE *GetSecuritySetting)(
|
---|
688 | IDot11AdHocNetwork *This,
|
---|
689 | IDot11AdHocSecuritySettings **pAdHocSecuritySetting);
|
---|
690 |
|
---|
691 | HRESULT (STDMETHODCALLTYPE *GetContextGuid)(
|
---|
692 | IDot11AdHocNetwork *This,
|
---|
693 | GUID *pContextGuid);
|
---|
694 |
|
---|
695 | HRESULT (STDMETHODCALLTYPE *GetSignature)(
|
---|
696 | IDot11AdHocNetwork *This,
|
---|
697 | GUID *pSignature);
|
---|
698 |
|
---|
699 | HRESULT (STDMETHODCALLTYPE *GetInterface)(
|
---|
700 | IDot11AdHocNetwork *This,
|
---|
701 | IDot11AdHocInterface **pAdHocInterface);
|
---|
702 |
|
---|
703 | HRESULT (STDMETHODCALLTYPE *Connect)(
|
---|
704 | IDot11AdHocNetwork *This,
|
---|
705 | LPCWSTR Passphrase,
|
---|
706 | LONG GeographicalId,
|
---|
707 | BOOLEAN fSaveProfile,
|
---|
708 | BOOLEAN fMakeSavedProfileUserSpecific);
|
---|
709 |
|
---|
710 | HRESULT (STDMETHODCALLTYPE *Disconnect)(
|
---|
711 | IDot11AdHocNetwork *This);
|
---|
712 |
|
---|
713 | END_INTERFACE
|
---|
714 | } IDot11AdHocNetworkVtbl;
|
---|
715 |
|
---|
716 | interface IDot11AdHocNetwork {
|
---|
717 | CONST_VTBL IDot11AdHocNetworkVtbl* lpVtbl;
|
---|
718 | };
|
---|
719 |
|
---|
720 | #ifdef COBJMACROS
|
---|
721 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
722 | /*** IUnknown methods ***/
|
---|
723 | #define IDot11AdHocNetwork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
724 | #define IDot11AdHocNetwork_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
725 | #define IDot11AdHocNetwork_Release(This) (This)->lpVtbl->Release(This)
|
---|
726 | /*** IDot11AdHocNetwork methods ***/
|
---|
727 | #define IDot11AdHocNetwork_GetStatus(This,eStatus) (This)->lpVtbl->GetStatus(This,eStatus)
|
---|
728 | #define IDot11AdHocNetwork_GetSSID(This,ppszwSSID) (This)->lpVtbl->GetSSID(This,ppszwSSID)
|
---|
729 | #define IDot11AdHocNetwork_HasProfile(This,pf11d) (This)->lpVtbl->HasProfile(This,pf11d)
|
---|
730 | #define IDot11AdHocNetwork_GetProfileName(This,ppszwProfileName) (This)->lpVtbl->GetProfileName(This,ppszwProfileName)
|
---|
731 | #define IDot11AdHocNetwork_DeleteProfile(This) (This)->lpVtbl->DeleteProfile(This)
|
---|
732 | #define IDot11AdHocNetwork_GetSignalQuality(This,puStrengthValue,puStrengthMax) (This)->lpVtbl->GetSignalQuality(This,puStrengthValue,puStrengthMax)
|
---|
733 | #define IDot11AdHocNetwork_GetSecuritySetting(This,pAdHocSecuritySetting) (This)->lpVtbl->GetSecuritySetting(This,pAdHocSecuritySetting)
|
---|
734 | #define IDot11AdHocNetwork_GetContextGuid(This,pContextGuid) (This)->lpVtbl->GetContextGuid(This,pContextGuid)
|
---|
735 | #define IDot11AdHocNetwork_GetSignature(This,pSignature) (This)->lpVtbl->GetSignature(This,pSignature)
|
---|
736 | #define IDot11AdHocNetwork_GetInterface(This,pAdHocInterface) (This)->lpVtbl->GetInterface(This,pAdHocInterface)
|
---|
737 | #define IDot11AdHocNetwork_Connect(This,Passphrase,GeographicalId,fSaveProfile,fMakeSavedProfileUserSpecific) (This)->lpVtbl->Connect(This,Passphrase,GeographicalId,fSaveProfile,fMakeSavedProfileUserSpecific)
|
---|
738 | #define IDot11AdHocNetwork_Disconnect(This) (This)->lpVtbl->Disconnect(This)
|
---|
739 | #else
|
---|
740 | /*** IUnknown methods ***/
|
---|
741 | static FORCEINLINE HRESULT IDot11AdHocNetwork_QueryInterface(IDot11AdHocNetwork* This,REFIID riid,void **ppvObject) {
|
---|
742 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
743 | }
|
---|
744 | static FORCEINLINE ULONG IDot11AdHocNetwork_AddRef(IDot11AdHocNetwork* This) {
|
---|
745 | return This->lpVtbl->AddRef(This);
|
---|
746 | }
|
---|
747 | static FORCEINLINE ULONG IDot11AdHocNetwork_Release(IDot11AdHocNetwork* This) {
|
---|
748 | return This->lpVtbl->Release(This);
|
---|
749 | }
|
---|
750 | /*** IDot11AdHocNetwork methods ***/
|
---|
751 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetStatus(IDot11AdHocNetwork* This,DOT11_ADHOC_NETWORK_CONNECTION_STATUS *eStatus) {
|
---|
752 | return This->lpVtbl->GetStatus(This,eStatus);
|
---|
753 | }
|
---|
754 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSSID(IDot11AdHocNetwork* This,LPWSTR *ppszwSSID) {
|
---|
755 | return This->lpVtbl->GetSSID(This,ppszwSSID);
|
---|
756 | }
|
---|
757 | static FORCEINLINE HRESULT IDot11AdHocNetwork_HasProfile(IDot11AdHocNetwork* This,BOOLEAN *pf11d) {
|
---|
758 | return This->lpVtbl->HasProfile(This,pf11d);
|
---|
759 | }
|
---|
760 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetProfileName(IDot11AdHocNetwork* This,LPWSTR *ppszwProfileName) {
|
---|
761 | return This->lpVtbl->GetProfileName(This,ppszwProfileName);
|
---|
762 | }
|
---|
763 | static FORCEINLINE HRESULT IDot11AdHocNetwork_DeleteProfile(IDot11AdHocNetwork* This) {
|
---|
764 | return This->lpVtbl->DeleteProfile(This);
|
---|
765 | }
|
---|
766 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSignalQuality(IDot11AdHocNetwork* This,ULONG *puStrengthValue,ULONG *puStrengthMax) {
|
---|
767 | return This->lpVtbl->GetSignalQuality(This,puStrengthValue,puStrengthMax);
|
---|
768 | }
|
---|
769 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSecuritySetting(IDot11AdHocNetwork* This,IDot11AdHocSecuritySettings **pAdHocSecuritySetting) {
|
---|
770 | return This->lpVtbl->GetSecuritySetting(This,pAdHocSecuritySetting);
|
---|
771 | }
|
---|
772 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetContextGuid(IDot11AdHocNetwork* This,GUID *pContextGuid) {
|
---|
773 | return This->lpVtbl->GetContextGuid(This,pContextGuid);
|
---|
774 | }
|
---|
775 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetSignature(IDot11AdHocNetwork* This,GUID *pSignature) {
|
---|
776 | return This->lpVtbl->GetSignature(This,pSignature);
|
---|
777 | }
|
---|
778 | static FORCEINLINE HRESULT IDot11AdHocNetwork_GetInterface(IDot11AdHocNetwork* This,IDot11AdHocInterface **pAdHocInterface) {
|
---|
779 | return This->lpVtbl->GetInterface(This,pAdHocInterface);
|
---|
780 | }
|
---|
781 | static FORCEINLINE HRESULT IDot11AdHocNetwork_Connect(IDot11AdHocNetwork* This,LPCWSTR Passphrase,LONG GeographicalId,BOOLEAN fSaveProfile,BOOLEAN fMakeSavedProfileUserSpecific) {
|
---|
782 | return This->lpVtbl->Connect(This,Passphrase,GeographicalId,fSaveProfile,fMakeSavedProfileUserSpecific);
|
---|
783 | }
|
---|
784 | static FORCEINLINE HRESULT IDot11AdHocNetwork_Disconnect(IDot11AdHocNetwork* This) {
|
---|
785 | return This->lpVtbl->Disconnect(This);
|
---|
786 | }
|
---|
787 | #endif
|
---|
788 | #endif
|
---|
789 |
|
---|
790 | #endif
|
---|
791 |
|
---|
792 |
|
---|
793 | #endif /* __IDot11AdHocNetwork_INTERFACE_DEFINED__ */
|
---|
794 |
|
---|
795 | /*****************************************************************************
|
---|
796 | * IDot11AdHocNetworkNotificationSink interface
|
---|
797 | */
|
---|
798 | #ifndef __IDot11AdHocNetworkNotificationSink_INTERFACE_DEFINED__
|
---|
799 | #define __IDot11AdHocNetworkNotificationSink_INTERFACE_DEFINED__
|
---|
800 |
|
---|
801 | DEFINE_GUID(IID_IDot11AdHocNetworkNotificationSink, 0x8f10cc2a, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
802 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
803 | MIDL_INTERFACE("8f10cc2a-cf0d-42a0-acbe-e2de7007384d")
|
---|
804 | IDot11AdHocNetworkNotificationSink : public IUnknown
|
---|
805 | {
|
---|
806 | virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
|
---|
807 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) = 0;
|
---|
808 |
|
---|
809 | virtual HRESULT STDMETHODCALLTYPE OnConnectFail(
|
---|
810 | DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason) = 0;
|
---|
811 |
|
---|
812 | };
|
---|
813 | #ifdef __CRT_UUID_DECL
|
---|
814 | __CRT_UUID_DECL(IDot11AdHocNetworkNotificationSink, 0x8f10cc2a, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
815 | #endif
|
---|
816 | #else
|
---|
817 | typedef struct IDot11AdHocNetworkNotificationSinkVtbl {
|
---|
818 | BEGIN_INTERFACE
|
---|
819 |
|
---|
820 | /*** IUnknown methods ***/
|
---|
821 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
822 | IDot11AdHocNetworkNotificationSink *This,
|
---|
823 | REFIID riid,
|
---|
824 | void **ppvObject);
|
---|
825 |
|
---|
826 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
827 | IDot11AdHocNetworkNotificationSink *This);
|
---|
828 |
|
---|
829 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
830 | IDot11AdHocNetworkNotificationSink *This);
|
---|
831 |
|
---|
832 | /*** IDot11AdHocNetworkNotificationSink methods ***/
|
---|
833 | HRESULT (STDMETHODCALLTYPE *OnStatusChange)(
|
---|
834 | IDot11AdHocNetworkNotificationSink *This,
|
---|
835 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus);
|
---|
836 |
|
---|
837 | HRESULT (STDMETHODCALLTYPE *OnConnectFail)(
|
---|
838 | IDot11AdHocNetworkNotificationSink *This,
|
---|
839 | DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason);
|
---|
840 |
|
---|
841 | END_INTERFACE
|
---|
842 | } IDot11AdHocNetworkNotificationSinkVtbl;
|
---|
843 |
|
---|
844 | interface IDot11AdHocNetworkNotificationSink {
|
---|
845 | CONST_VTBL IDot11AdHocNetworkNotificationSinkVtbl* lpVtbl;
|
---|
846 | };
|
---|
847 |
|
---|
848 | #ifdef COBJMACROS
|
---|
849 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
850 | /*** IUnknown methods ***/
|
---|
851 | #define IDot11AdHocNetworkNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
852 | #define IDot11AdHocNetworkNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
853 | #define IDot11AdHocNetworkNotificationSink_Release(This) (This)->lpVtbl->Release(This)
|
---|
854 | /*** IDot11AdHocNetworkNotificationSink methods ***/
|
---|
855 | #define IDot11AdHocNetworkNotificationSink_OnStatusChange(This,eStatus) (This)->lpVtbl->OnStatusChange(This,eStatus)
|
---|
856 | #define IDot11AdHocNetworkNotificationSink_OnConnectFail(This,eFailReason) (This)->lpVtbl->OnConnectFail(This,eFailReason)
|
---|
857 | #else
|
---|
858 | /*** IUnknown methods ***/
|
---|
859 | static FORCEINLINE HRESULT IDot11AdHocNetworkNotificationSink_QueryInterface(IDot11AdHocNetworkNotificationSink* This,REFIID riid,void **ppvObject) {
|
---|
860 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
861 | }
|
---|
862 | static FORCEINLINE ULONG IDot11AdHocNetworkNotificationSink_AddRef(IDot11AdHocNetworkNotificationSink* This) {
|
---|
863 | return This->lpVtbl->AddRef(This);
|
---|
864 | }
|
---|
865 | static FORCEINLINE ULONG IDot11AdHocNetworkNotificationSink_Release(IDot11AdHocNetworkNotificationSink* This) {
|
---|
866 | return This->lpVtbl->Release(This);
|
---|
867 | }
|
---|
868 | /*** IDot11AdHocNetworkNotificationSink methods ***/
|
---|
869 | static FORCEINLINE HRESULT IDot11AdHocNetworkNotificationSink_OnStatusChange(IDot11AdHocNetworkNotificationSink* This,DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) {
|
---|
870 | return This->lpVtbl->OnStatusChange(This,eStatus);
|
---|
871 | }
|
---|
872 | static FORCEINLINE HRESULT IDot11AdHocNetworkNotificationSink_OnConnectFail(IDot11AdHocNetworkNotificationSink* This,DOT11_ADHOC_CONNECT_FAIL_REASON eFailReason) {
|
---|
873 | return This->lpVtbl->OnConnectFail(This,eFailReason);
|
---|
874 | }
|
---|
875 | #endif
|
---|
876 | #endif
|
---|
877 |
|
---|
878 | #endif
|
---|
879 |
|
---|
880 |
|
---|
881 | #endif /* __IDot11AdHocNetworkNotificationSink_INTERFACE_DEFINED__ */
|
---|
882 |
|
---|
883 | /*****************************************************************************
|
---|
884 | * IDot11AdHocInterface interface
|
---|
885 | */
|
---|
886 | #ifndef __IDot11AdHocInterface_INTERFACE_DEFINED__
|
---|
887 | #define __IDot11AdHocInterface_INTERFACE_DEFINED__
|
---|
888 |
|
---|
889 | DEFINE_GUID(IID_IDot11AdHocInterface, 0x8f10cc2b, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
890 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
891 | MIDL_INTERFACE("8f10cc2b-cf0d-42a0-acbe-e2de7007384d")
|
---|
892 | IDot11AdHocInterface : public IUnknown
|
---|
893 | {
|
---|
894 | virtual HRESULT STDMETHODCALLTYPE GetDeviceSignature(
|
---|
895 | GUID *pSignature) = 0;
|
---|
896 |
|
---|
897 | virtual HRESULT STDMETHODCALLTYPE GetFriendlyName(
|
---|
898 | LPWSTR *ppszName) = 0;
|
---|
899 |
|
---|
900 | virtual HRESULT STDMETHODCALLTYPE IsDot11d(
|
---|
901 | BOOLEAN *pf11d) = 0;
|
---|
902 |
|
---|
903 | virtual HRESULT STDMETHODCALLTYPE IsAdHocCapable(
|
---|
904 | BOOLEAN *pfAdHocCapable) = 0;
|
---|
905 |
|
---|
906 | virtual HRESULT STDMETHODCALLTYPE IsRadioOn(
|
---|
907 | BOOLEAN *pfIsRadioOn) = 0;
|
---|
908 |
|
---|
909 | virtual HRESULT STDMETHODCALLTYPE GetActiveNetwork(
|
---|
910 | IDot11AdHocNetwork **ppNetwork) = 0;
|
---|
911 |
|
---|
912 | virtual HRESULT STDMETHODCALLTYPE GetIEnumSecuritySettings(
|
---|
913 | IEnumDot11AdHocSecuritySettings **ppEnum) = 0;
|
---|
914 |
|
---|
915 | virtual HRESULT STDMETHODCALLTYPE GetIEnumDot11AdHocNetworks(
|
---|
916 | GUID *pFilterGuid,
|
---|
917 | IEnumDot11AdHocNetworks **ppEnum) = 0;
|
---|
918 |
|
---|
919 | virtual HRESULT STDMETHODCALLTYPE GetStatus(
|
---|
920 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS *pState) = 0;
|
---|
921 |
|
---|
922 | };
|
---|
923 | #ifdef __CRT_UUID_DECL
|
---|
924 | __CRT_UUID_DECL(IDot11AdHocInterface, 0x8f10cc2b, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
925 | #endif
|
---|
926 | #else
|
---|
927 | typedef struct IDot11AdHocInterfaceVtbl {
|
---|
928 | BEGIN_INTERFACE
|
---|
929 |
|
---|
930 | /*** IUnknown methods ***/
|
---|
931 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
932 | IDot11AdHocInterface *This,
|
---|
933 | REFIID riid,
|
---|
934 | void **ppvObject);
|
---|
935 |
|
---|
936 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
937 | IDot11AdHocInterface *This);
|
---|
938 |
|
---|
939 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
940 | IDot11AdHocInterface *This);
|
---|
941 |
|
---|
942 | /*** IDot11AdHocInterface methods ***/
|
---|
943 | HRESULT (STDMETHODCALLTYPE *GetDeviceSignature)(
|
---|
944 | IDot11AdHocInterface *This,
|
---|
945 | GUID *pSignature);
|
---|
946 |
|
---|
947 | HRESULT (STDMETHODCALLTYPE *GetFriendlyName)(
|
---|
948 | IDot11AdHocInterface *This,
|
---|
949 | LPWSTR *ppszName);
|
---|
950 |
|
---|
951 | HRESULT (STDMETHODCALLTYPE *IsDot11d)(
|
---|
952 | IDot11AdHocInterface *This,
|
---|
953 | BOOLEAN *pf11d);
|
---|
954 |
|
---|
955 | HRESULT (STDMETHODCALLTYPE *IsAdHocCapable)(
|
---|
956 | IDot11AdHocInterface *This,
|
---|
957 | BOOLEAN *pfAdHocCapable);
|
---|
958 |
|
---|
959 | HRESULT (STDMETHODCALLTYPE *IsRadioOn)(
|
---|
960 | IDot11AdHocInterface *This,
|
---|
961 | BOOLEAN *pfIsRadioOn);
|
---|
962 |
|
---|
963 | HRESULT (STDMETHODCALLTYPE *GetActiveNetwork)(
|
---|
964 | IDot11AdHocInterface *This,
|
---|
965 | IDot11AdHocNetwork **ppNetwork);
|
---|
966 |
|
---|
967 | HRESULT (STDMETHODCALLTYPE *GetIEnumSecuritySettings)(
|
---|
968 | IDot11AdHocInterface *This,
|
---|
969 | IEnumDot11AdHocSecuritySettings **ppEnum);
|
---|
970 |
|
---|
971 | HRESULT (STDMETHODCALLTYPE *GetIEnumDot11AdHocNetworks)(
|
---|
972 | IDot11AdHocInterface *This,
|
---|
973 | GUID *pFilterGuid,
|
---|
974 | IEnumDot11AdHocNetworks **ppEnum);
|
---|
975 |
|
---|
976 | HRESULT (STDMETHODCALLTYPE *GetStatus)(
|
---|
977 | IDot11AdHocInterface *This,
|
---|
978 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS *pState);
|
---|
979 |
|
---|
980 | END_INTERFACE
|
---|
981 | } IDot11AdHocInterfaceVtbl;
|
---|
982 |
|
---|
983 | interface IDot11AdHocInterface {
|
---|
984 | CONST_VTBL IDot11AdHocInterfaceVtbl* lpVtbl;
|
---|
985 | };
|
---|
986 |
|
---|
987 | #ifdef COBJMACROS
|
---|
988 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
989 | /*** IUnknown methods ***/
|
---|
990 | #define IDot11AdHocInterface_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
991 | #define IDot11AdHocInterface_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
992 | #define IDot11AdHocInterface_Release(This) (This)->lpVtbl->Release(This)
|
---|
993 | /*** IDot11AdHocInterface methods ***/
|
---|
994 | #define IDot11AdHocInterface_GetDeviceSignature(This,pSignature) (This)->lpVtbl->GetDeviceSignature(This,pSignature)
|
---|
995 | #define IDot11AdHocInterface_GetFriendlyName(This,ppszName) (This)->lpVtbl->GetFriendlyName(This,ppszName)
|
---|
996 | #define IDot11AdHocInterface_IsDot11d(This,pf11d) (This)->lpVtbl->IsDot11d(This,pf11d)
|
---|
997 | #define IDot11AdHocInterface_IsAdHocCapable(This,pfAdHocCapable) (This)->lpVtbl->IsAdHocCapable(This,pfAdHocCapable)
|
---|
998 | #define IDot11AdHocInterface_IsRadioOn(This,pfIsRadioOn) (This)->lpVtbl->IsRadioOn(This,pfIsRadioOn)
|
---|
999 | #define IDot11AdHocInterface_GetActiveNetwork(This,ppNetwork) (This)->lpVtbl->GetActiveNetwork(This,ppNetwork)
|
---|
1000 | #define IDot11AdHocInterface_GetIEnumSecuritySettings(This,ppEnum) (This)->lpVtbl->GetIEnumSecuritySettings(This,ppEnum)
|
---|
1001 | #define IDot11AdHocInterface_GetIEnumDot11AdHocNetworks(This,pFilterGuid,ppEnum) (This)->lpVtbl->GetIEnumDot11AdHocNetworks(This,pFilterGuid,ppEnum)
|
---|
1002 | #define IDot11AdHocInterface_GetStatus(This,pState) (This)->lpVtbl->GetStatus(This,pState)
|
---|
1003 | #else
|
---|
1004 | /*** IUnknown methods ***/
|
---|
1005 | static FORCEINLINE HRESULT IDot11AdHocInterface_QueryInterface(IDot11AdHocInterface* This,REFIID riid,void **ppvObject) {
|
---|
1006 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1007 | }
|
---|
1008 | static FORCEINLINE ULONG IDot11AdHocInterface_AddRef(IDot11AdHocInterface* This) {
|
---|
1009 | return This->lpVtbl->AddRef(This);
|
---|
1010 | }
|
---|
1011 | static FORCEINLINE ULONG IDot11AdHocInterface_Release(IDot11AdHocInterface* This) {
|
---|
1012 | return This->lpVtbl->Release(This);
|
---|
1013 | }
|
---|
1014 | /*** IDot11AdHocInterface methods ***/
|
---|
1015 | static FORCEINLINE HRESULT IDot11AdHocInterface_GetDeviceSignature(IDot11AdHocInterface* This,GUID *pSignature) {
|
---|
1016 | return This->lpVtbl->GetDeviceSignature(This,pSignature);
|
---|
1017 | }
|
---|
1018 | static FORCEINLINE HRESULT IDot11AdHocInterface_GetFriendlyName(IDot11AdHocInterface* This,LPWSTR *ppszName) {
|
---|
1019 | return This->lpVtbl->GetFriendlyName(This,ppszName);
|
---|
1020 | }
|
---|
1021 | static FORCEINLINE HRESULT IDot11AdHocInterface_IsDot11d(IDot11AdHocInterface* This,BOOLEAN *pf11d) {
|
---|
1022 | return This->lpVtbl->IsDot11d(This,pf11d);
|
---|
1023 | }
|
---|
1024 | static FORCEINLINE HRESULT IDot11AdHocInterface_IsAdHocCapable(IDot11AdHocInterface* This,BOOLEAN *pfAdHocCapable) {
|
---|
1025 | return This->lpVtbl->IsAdHocCapable(This,pfAdHocCapable);
|
---|
1026 | }
|
---|
1027 | static FORCEINLINE HRESULT IDot11AdHocInterface_IsRadioOn(IDot11AdHocInterface* This,BOOLEAN *pfIsRadioOn) {
|
---|
1028 | return This->lpVtbl->IsRadioOn(This,pfIsRadioOn);
|
---|
1029 | }
|
---|
1030 | static FORCEINLINE HRESULT IDot11AdHocInterface_GetActiveNetwork(IDot11AdHocInterface* This,IDot11AdHocNetwork **ppNetwork) {
|
---|
1031 | return This->lpVtbl->GetActiveNetwork(This,ppNetwork);
|
---|
1032 | }
|
---|
1033 | static FORCEINLINE HRESULT IDot11AdHocInterface_GetIEnumSecuritySettings(IDot11AdHocInterface* This,IEnumDot11AdHocSecuritySettings **ppEnum) {
|
---|
1034 | return This->lpVtbl->GetIEnumSecuritySettings(This,ppEnum);
|
---|
1035 | }
|
---|
1036 | static FORCEINLINE HRESULT IDot11AdHocInterface_GetIEnumDot11AdHocNetworks(IDot11AdHocInterface* This,GUID *pFilterGuid,IEnumDot11AdHocNetworks **ppEnum) {
|
---|
1037 | return This->lpVtbl->GetIEnumDot11AdHocNetworks(This,pFilterGuid,ppEnum);
|
---|
1038 | }
|
---|
1039 | static FORCEINLINE HRESULT IDot11AdHocInterface_GetStatus(IDot11AdHocInterface* This,DOT11_ADHOC_NETWORK_CONNECTION_STATUS *pState) {
|
---|
1040 | return This->lpVtbl->GetStatus(This,pState);
|
---|
1041 | }
|
---|
1042 | #endif
|
---|
1043 | #endif
|
---|
1044 |
|
---|
1045 | #endif
|
---|
1046 |
|
---|
1047 |
|
---|
1048 | #endif /* __IDot11AdHocInterface_INTERFACE_DEFINED__ */
|
---|
1049 |
|
---|
1050 | /*****************************************************************************
|
---|
1051 | * IEnumDot11AdHocInterfaces interface
|
---|
1052 | */
|
---|
1053 | #ifndef __IEnumDot11AdHocInterfaces_INTERFACE_DEFINED__
|
---|
1054 | #define __IEnumDot11AdHocInterfaces_INTERFACE_DEFINED__
|
---|
1055 |
|
---|
1056 | DEFINE_GUID(IID_IEnumDot11AdHocInterfaces, 0x8f10cc2c, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
1057 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1058 | MIDL_INTERFACE("8f10cc2c-cf0d-42a0-acbe-e2de7007384d")
|
---|
1059 | IEnumDot11AdHocInterfaces : public IUnknown
|
---|
1060 | {
|
---|
1061 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
1062 | ULONG cElt,
|
---|
1063 | IDot11AdHocInterface **rgElt,
|
---|
1064 | ULONG *pcEltFetched) = 0;
|
---|
1065 |
|
---|
1066 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
1067 | ULONG cElt) = 0;
|
---|
1068 |
|
---|
1069 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
1070 | ) = 0;
|
---|
1071 |
|
---|
1072 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
1073 | IEnumDot11AdHocInterfaces **ppEnum) = 0;
|
---|
1074 |
|
---|
1075 | };
|
---|
1076 | #ifdef __CRT_UUID_DECL
|
---|
1077 | __CRT_UUID_DECL(IEnumDot11AdHocInterfaces, 0x8f10cc2c, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
1078 | #endif
|
---|
1079 | #else
|
---|
1080 | typedef struct IEnumDot11AdHocInterfacesVtbl {
|
---|
1081 | BEGIN_INTERFACE
|
---|
1082 |
|
---|
1083 | /*** IUnknown methods ***/
|
---|
1084 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1085 | IEnumDot11AdHocInterfaces *This,
|
---|
1086 | REFIID riid,
|
---|
1087 | void **ppvObject);
|
---|
1088 |
|
---|
1089 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1090 | IEnumDot11AdHocInterfaces *This);
|
---|
1091 |
|
---|
1092 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1093 | IEnumDot11AdHocInterfaces *This);
|
---|
1094 |
|
---|
1095 | /*** IEnumDot11AdHocInterfaces methods ***/
|
---|
1096 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
1097 | IEnumDot11AdHocInterfaces *This,
|
---|
1098 | ULONG cElt,
|
---|
1099 | IDot11AdHocInterface **rgElt,
|
---|
1100 | ULONG *pcEltFetched);
|
---|
1101 |
|
---|
1102 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
1103 | IEnumDot11AdHocInterfaces *This,
|
---|
1104 | ULONG cElt);
|
---|
1105 |
|
---|
1106 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
1107 | IEnumDot11AdHocInterfaces *This);
|
---|
1108 |
|
---|
1109 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
1110 | IEnumDot11AdHocInterfaces *This,
|
---|
1111 | IEnumDot11AdHocInterfaces **ppEnum);
|
---|
1112 |
|
---|
1113 | END_INTERFACE
|
---|
1114 | } IEnumDot11AdHocInterfacesVtbl;
|
---|
1115 |
|
---|
1116 | interface IEnumDot11AdHocInterfaces {
|
---|
1117 | CONST_VTBL IEnumDot11AdHocInterfacesVtbl* lpVtbl;
|
---|
1118 | };
|
---|
1119 |
|
---|
1120 | #ifdef COBJMACROS
|
---|
1121 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1122 | /*** IUnknown methods ***/
|
---|
1123 | #define IEnumDot11AdHocInterfaces_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1124 | #define IEnumDot11AdHocInterfaces_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1125 | #define IEnumDot11AdHocInterfaces_Release(This) (This)->lpVtbl->Release(This)
|
---|
1126 | /*** IEnumDot11AdHocInterfaces methods ***/
|
---|
1127 | #define IEnumDot11AdHocInterfaces_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
|
---|
1128 | #define IEnumDot11AdHocInterfaces_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
|
---|
1129 | #define IEnumDot11AdHocInterfaces_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
1130 | #define IEnumDot11AdHocInterfaces_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
|
---|
1131 | #else
|
---|
1132 | /*** IUnknown methods ***/
|
---|
1133 | static FORCEINLINE HRESULT IEnumDot11AdHocInterfaces_QueryInterface(IEnumDot11AdHocInterfaces* This,REFIID riid,void **ppvObject) {
|
---|
1134 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1135 | }
|
---|
1136 | static FORCEINLINE ULONG IEnumDot11AdHocInterfaces_AddRef(IEnumDot11AdHocInterfaces* This) {
|
---|
1137 | return This->lpVtbl->AddRef(This);
|
---|
1138 | }
|
---|
1139 | static FORCEINLINE ULONG IEnumDot11AdHocInterfaces_Release(IEnumDot11AdHocInterfaces* This) {
|
---|
1140 | return This->lpVtbl->Release(This);
|
---|
1141 | }
|
---|
1142 | /*** IEnumDot11AdHocInterfaces methods ***/
|
---|
1143 | static FORCEINLINE HRESULT IEnumDot11AdHocInterfaces_Next(IEnumDot11AdHocInterfaces* This,ULONG cElt,IDot11AdHocInterface **rgElt,ULONG *pcEltFetched) {
|
---|
1144 | return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched);
|
---|
1145 | }
|
---|
1146 | static FORCEINLINE HRESULT IEnumDot11AdHocInterfaces_Skip(IEnumDot11AdHocInterfaces* This,ULONG cElt) {
|
---|
1147 | return This->lpVtbl->Skip(This,cElt);
|
---|
1148 | }
|
---|
1149 | static FORCEINLINE HRESULT IEnumDot11AdHocInterfaces_Reset(IEnumDot11AdHocInterfaces* This) {
|
---|
1150 | return This->lpVtbl->Reset(This);
|
---|
1151 | }
|
---|
1152 | static FORCEINLINE HRESULT IEnumDot11AdHocInterfaces_Clone(IEnumDot11AdHocInterfaces* This,IEnumDot11AdHocInterfaces **ppEnum) {
|
---|
1153 | return This->lpVtbl->Clone(This,ppEnum);
|
---|
1154 | }
|
---|
1155 | #endif
|
---|
1156 | #endif
|
---|
1157 |
|
---|
1158 | #endif
|
---|
1159 |
|
---|
1160 |
|
---|
1161 | #endif /* __IEnumDot11AdHocInterfaces_INTERFACE_DEFINED__ */
|
---|
1162 |
|
---|
1163 | /*****************************************************************************
|
---|
1164 | * IEnumDot11AdHocSecuritySettings interface
|
---|
1165 | */
|
---|
1166 | #ifndef __IEnumDot11AdHocSecuritySettings_INTERFACE_DEFINED__
|
---|
1167 | #define __IEnumDot11AdHocSecuritySettings_INTERFACE_DEFINED__
|
---|
1168 |
|
---|
1169 | DEFINE_GUID(IID_IEnumDot11AdHocSecuritySettings, 0x8f10cc2d, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
1170 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1171 | MIDL_INTERFACE("8f10cc2d-cf0d-42a0-acbe-e2de7007384d")
|
---|
1172 | IEnumDot11AdHocSecuritySettings : public IUnknown
|
---|
1173 | {
|
---|
1174 | virtual HRESULT STDMETHODCALLTYPE Next(
|
---|
1175 | ULONG cElt,
|
---|
1176 | IDot11AdHocSecuritySettings **rgElt,
|
---|
1177 | ULONG *pcEltFetched) = 0;
|
---|
1178 |
|
---|
1179 | virtual HRESULT STDMETHODCALLTYPE Skip(
|
---|
1180 | ULONG cElt) = 0;
|
---|
1181 |
|
---|
1182 | virtual HRESULT STDMETHODCALLTYPE Reset(
|
---|
1183 | ) = 0;
|
---|
1184 |
|
---|
1185 | virtual HRESULT STDMETHODCALLTYPE Clone(
|
---|
1186 | IEnumDot11AdHocSecuritySettings **ppEnum) = 0;
|
---|
1187 |
|
---|
1188 | };
|
---|
1189 | #ifdef __CRT_UUID_DECL
|
---|
1190 | __CRT_UUID_DECL(IEnumDot11AdHocSecuritySettings, 0x8f10cc2d, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
1191 | #endif
|
---|
1192 | #else
|
---|
1193 | typedef struct IEnumDot11AdHocSecuritySettingsVtbl {
|
---|
1194 | BEGIN_INTERFACE
|
---|
1195 |
|
---|
1196 | /*** IUnknown methods ***/
|
---|
1197 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1198 | IEnumDot11AdHocSecuritySettings *This,
|
---|
1199 | REFIID riid,
|
---|
1200 | void **ppvObject);
|
---|
1201 |
|
---|
1202 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1203 | IEnumDot11AdHocSecuritySettings *This);
|
---|
1204 |
|
---|
1205 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1206 | IEnumDot11AdHocSecuritySettings *This);
|
---|
1207 |
|
---|
1208 | /*** IEnumDot11AdHocSecuritySettings methods ***/
|
---|
1209 | HRESULT (STDMETHODCALLTYPE *Next)(
|
---|
1210 | IEnumDot11AdHocSecuritySettings *This,
|
---|
1211 | ULONG cElt,
|
---|
1212 | IDot11AdHocSecuritySettings **rgElt,
|
---|
1213 | ULONG *pcEltFetched);
|
---|
1214 |
|
---|
1215 | HRESULT (STDMETHODCALLTYPE *Skip)(
|
---|
1216 | IEnumDot11AdHocSecuritySettings *This,
|
---|
1217 | ULONG cElt);
|
---|
1218 |
|
---|
1219 | HRESULT (STDMETHODCALLTYPE *Reset)(
|
---|
1220 | IEnumDot11AdHocSecuritySettings *This);
|
---|
1221 |
|
---|
1222 | HRESULT (STDMETHODCALLTYPE *Clone)(
|
---|
1223 | IEnumDot11AdHocSecuritySettings *This,
|
---|
1224 | IEnumDot11AdHocSecuritySettings **ppEnum);
|
---|
1225 |
|
---|
1226 | END_INTERFACE
|
---|
1227 | } IEnumDot11AdHocSecuritySettingsVtbl;
|
---|
1228 |
|
---|
1229 | interface IEnumDot11AdHocSecuritySettings {
|
---|
1230 | CONST_VTBL IEnumDot11AdHocSecuritySettingsVtbl* lpVtbl;
|
---|
1231 | };
|
---|
1232 |
|
---|
1233 | #ifdef COBJMACROS
|
---|
1234 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1235 | /*** IUnknown methods ***/
|
---|
1236 | #define IEnumDot11AdHocSecuritySettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1237 | #define IEnumDot11AdHocSecuritySettings_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1238 | #define IEnumDot11AdHocSecuritySettings_Release(This) (This)->lpVtbl->Release(This)
|
---|
1239 | /*** IEnumDot11AdHocSecuritySettings methods ***/
|
---|
1240 | #define IEnumDot11AdHocSecuritySettings_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched)
|
---|
1241 | #define IEnumDot11AdHocSecuritySettings_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt)
|
---|
1242 | #define IEnumDot11AdHocSecuritySettings_Reset(This) (This)->lpVtbl->Reset(This)
|
---|
1243 | #define IEnumDot11AdHocSecuritySettings_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
|
---|
1244 | #else
|
---|
1245 | /*** IUnknown methods ***/
|
---|
1246 | static FORCEINLINE HRESULT IEnumDot11AdHocSecuritySettings_QueryInterface(IEnumDot11AdHocSecuritySettings* This,REFIID riid,void **ppvObject) {
|
---|
1247 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1248 | }
|
---|
1249 | static FORCEINLINE ULONG IEnumDot11AdHocSecuritySettings_AddRef(IEnumDot11AdHocSecuritySettings* This) {
|
---|
1250 | return This->lpVtbl->AddRef(This);
|
---|
1251 | }
|
---|
1252 | static FORCEINLINE ULONG IEnumDot11AdHocSecuritySettings_Release(IEnumDot11AdHocSecuritySettings* This) {
|
---|
1253 | return This->lpVtbl->Release(This);
|
---|
1254 | }
|
---|
1255 | /*** IEnumDot11AdHocSecuritySettings methods ***/
|
---|
1256 | static FORCEINLINE HRESULT IEnumDot11AdHocSecuritySettings_Next(IEnumDot11AdHocSecuritySettings* This,ULONG cElt,IDot11AdHocSecuritySettings **rgElt,ULONG *pcEltFetched) {
|
---|
1257 | return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched);
|
---|
1258 | }
|
---|
1259 | static FORCEINLINE HRESULT IEnumDot11AdHocSecuritySettings_Skip(IEnumDot11AdHocSecuritySettings* This,ULONG cElt) {
|
---|
1260 | return This->lpVtbl->Skip(This,cElt);
|
---|
1261 | }
|
---|
1262 | static FORCEINLINE HRESULT IEnumDot11AdHocSecuritySettings_Reset(IEnumDot11AdHocSecuritySettings* This) {
|
---|
1263 | return This->lpVtbl->Reset(This);
|
---|
1264 | }
|
---|
1265 | static FORCEINLINE HRESULT IEnumDot11AdHocSecuritySettings_Clone(IEnumDot11AdHocSecuritySettings* This,IEnumDot11AdHocSecuritySettings **ppEnum) {
|
---|
1266 | return This->lpVtbl->Clone(This,ppEnum);
|
---|
1267 | }
|
---|
1268 | #endif
|
---|
1269 | #endif
|
---|
1270 |
|
---|
1271 | #endif
|
---|
1272 |
|
---|
1273 |
|
---|
1274 | #endif /* __IEnumDot11AdHocSecuritySettings_INTERFACE_DEFINED__ */
|
---|
1275 |
|
---|
1276 | /*****************************************************************************
|
---|
1277 | * IDot11AdHocSecuritySettings interface
|
---|
1278 | */
|
---|
1279 | #ifndef __IDot11AdHocSecuritySettings_INTERFACE_DEFINED__
|
---|
1280 | #define __IDot11AdHocSecuritySettings_INTERFACE_DEFINED__
|
---|
1281 |
|
---|
1282 | DEFINE_GUID(IID_IDot11AdHocSecuritySettings, 0x8f10cc2e, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
1283 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1284 | MIDL_INTERFACE("8f10cc2e-cf0d-42a0-acbe-e2de7007384d")
|
---|
1285 | IDot11AdHocSecuritySettings : public IUnknown
|
---|
1286 | {
|
---|
1287 | virtual HRESULT STDMETHODCALLTYPE GetDot11AuthAlgorithm(
|
---|
1288 | DOT11_ADHOC_AUTH_ALGORITHM *pAuth) = 0;
|
---|
1289 |
|
---|
1290 | virtual HRESULT STDMETHODCALLTYPE GetDot11CipherAlgorithm(
|
---|
1291 | DOT11_ADHOC_CIPHER_ALGORITHM *pCipher) = 0;
|
---|
1292 |
|
---|
1293 | };
|
---|
1294 | #ifdef __CRT_UUID_DECL
|
---|
1295 | __CRT_UUID_DECL(IDot11AdHocSecuritySettings, 0x8f10cc2e, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
1296 | #endif
|
---|
1297 | #else
|
---|
1298 | typedef struct IDot11AdHocSecuritySettingsVtbl {
|
---|
1299 | BEGIN_INTERFACE
|
---|
1300 |
|
---|
1301 | /*** IUnknown methods ***/
|
---|
1302 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1303 | IDot11AdHocSecuritySettings *This,
|
---|
1304 | REFIID riid,
|
---|
1305 | void **ppvObject);
|
---|
1306 |
|
---|
1307 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1308 | IDot11AdHocSecuritySettings *This);
|
---|
1309 |
|
---|
1310 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1311 | IDot11AdHocSecuritySettings *This);
|
---|
1312 |
|
---|
1313 | /*** IDot11AdHocSecuritySettings methods ***/
|
---|
1314 | HRESULT (STDMETHODCALLTYPE *GetDot11AuthAlgorithm)(
|
---|
1315 | IDot11AdHocSecuritySettings *This,
|
---|
1316 | DOT11_ADHOC_AUTH_ALGORITHM *pAuth);
|
---|
1317 |
|
---|
1318 | HRESULT (STDMETHODCALLTYPE *GetDot11CipherAlgorithm)(
|
---|
1319 | IDot11AdHocSecuritySettings *This,
|
---|
1320 | DOT11_ADHOC_CIPHER_ALGORITHM *pCipher);
|
---|
1321 |
|
---|
1322 | END_INTERFACE
|
---|
1323 | } IDot11AdHocSecuritySettingsVtbl;
|
---|
1324 |
|
---|
1325 | interface IDot11AdHocSecuritySettings {
|
---|
1326 | CONST_VTBL IDot11AdHocSecuritySettingsVtbl* lpVtbl;
|
---|
1327 | };
|
---|
1328 |
|
---|
1329 | #ifdef COBJMACROS
|
---|
1330 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1331 | /*** IUnknown methods ***/
|
---|
1332 | #define IDot11AdHocSecuritySettings_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1333 | #define IDot11AdHocSecuritySettings_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1334 | #define IDot11AdHocSecuritySettings_Release(This) (This)->lpVtbl->Release(This)
|
---|
1335 | /*** IDot11AdHocSecuritySettings methods ***/
|
---|
1336 | #define IDot11AdHocSecuritySettings_GetDot11AuthAlgorithm(This,pAuth) (This)->lpVtbl->GetDot11AuthAlgorithm(This,pAuth)
|
---|
1337 | #define IDot11AdHocSecuritySettings_GetDot11CipherAlgorithm(This,pCipher) (This)->lpVtbl->GetDot11CipherAlgorithm(This,pCipher)
|
---|
1338 | #else
|
---|
1339 | /*** IUnknown methods ***/
|
---|
1340 | static FORCEINLINE HRESULT IDot11AdHocSecuritySettings_QueryInterface(IDot11AdHocSecuritySettings* This,REFIID riid,void **ppvObject) {
|
---|
1341 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1342 | }
|
---|
1343 | static FORCEINLINE ULONG IDot11AdHocSecuritySettings_AddRef(IDot11AdHocSecuritySettings* This) {
|
---|
1344 | return This->lpVtbl->AddRef(This);
|
---|
1345 | }
|
---|
1346 | static FORCEINLINE ULONG IDot11AdHocSecuritySettings_Release(IDot11AdHocSecuritySettings* This) {
|
---|
1347 | return This->lpVtbl->Release(This);
|
---|
1348 | }
|
---|
1349 | /*** IDot11AdHocSecuritySettings methods ***/
|
---|
1350 | static FORCEINLINE HRESULT IDot11AdHocSecuritySettings_GetDot11AuthAlgorithm(IDot11AdHocSecuritySettings* This,DOT11_ADHOC_AUTH_ALGORITHM *pAuth) {
|
---|
1351 | return This->lpVtbl->GetDot11AuthAlgorithm(This,pAuth);
|
---|
1352 | }
|
---|
1353 | static FORCEINLINE HRESULT IDot11AdHocSecuritySettings_GetDot11CipherAlgorithm(IDot11AdHocSecuritySettings* This,DOT11_ADHOC_CIPHER_ALGORITHM *pCipher) {
|
---|
1354 | return This->lpVtbl->GetDot11CipherAlgorithm(This,pCipher);
|
---|
1355 | }
|
---|
1356 | #endif
|
---|
1357 | #endif
|
---|
1358 |
|
---|
1359 | #endif
|
---|
1360 |
|
---|
1361 |
|
---|
1362 | #endif /* __IDot11AdHocSecuritySettings_INTERFACE_DEFINED__ */
|
---|
1363 |
|
---|
1364 | /*****************************************************************************
|
---|
1365 | * IDot11AdHocInterfaceNotificationSink interface
|
---|
1366 | */
|
---|
1367 | #ifndef __IDot11AdHocInterfaceNotificationSink_INTERFACE_DEFINED__
|
---|
1368 | #define __IDot11AdHocInterfaceNotificationSink_INTERFACE_DEFINED__
|
---|
1369 |
|
---|
1370 | DEFINE_GUID(IID_IDot11AdHocInterfaceNotificationSink, 0x8f10cc2f, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d);
|
---|
1371 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
1372 | MIDL_INTERFACE("8f10cc2f-cf0d-42a0-acbe-e2de7007384d")
|
---|
1373 | IDot11AdHocInterfaceNotificationSink : public IUnknown
|
---|
1374 | {
|
---|
1375 | virtual HRESULT STDMETHODCALLTYPE OnConnectionStatusChange(
|
---|
1376 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) = 0;
|
---|
1377 |
|
---|
1378 | };
|
---|
1379 | #ifdef __CRT_UUID_DECL
|
---|
1380 | __CRT_UUID_DECL(IDot11AdHocInterfaceNotificationSink, 0x8f10cc2f, 0xcf0d, 0x42a0, 0xac,0xbe, 0xe2,0xde,0x70,0x07,0x38,0x4d)
|
---|
1381 | #endif
|
---|
1382 | #else
|
---|
1383 | typedef struct IDot11AdHocInterfaceNotificationSinkVtbl {
|
---|
1384 | BEGIN_INTERFACE
|
---|
1385 |
|
---|
1386 | /*** IUnknown methods ***/
|
---|
1387 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
1388 | IDot11AdHocInterfaceNotificationSink *This,
|
---|
1389 | REFIID riid,
|
---|
1390 | void **ppvObject);
|
---|
1391 |
|
---|
1392 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
1393 | IDot11AdHocInterfaceNotificationSink *This);
|
---|
1394 |
|
---|
1395 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
1396 | IDot11AdHocInterfaceNotificationSink *This);
|
---|
1397 |
|
---|
1398 | /*** IDot11AdHocInterfaceNotificationSink methods ***/
|
---|
1399 | HRESULT (STDMETHODCALLTYPE *OnConnectionStatusChange)(
|
---|
1400 | IDot11AdHocInterfaceNotificationSink *This,
|
---|
1401 | DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus);
|
---|
1402 |
|
---|
1403 | END_INTERFACE
|
---|
1404 | } IDot11AdHocInterfaceNotificationSinkVtbl;
|
---|
1405 |
|
---|
1406 | interface IDot11AdHocInterfaceNotificationSink {
|
---|
1407 | CONST_VTBL IDot11AdHocInterfaceNotificationSinkVtbl* lpVtbl;
|
---|
1408 | };
|
---|
1409 |
|
---|
1410 | #ifdef COBJMACROS
|
---|
1411 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
1412 | /*** IUnknown methods ***/
|
---|
1413 | #define IDot11AdHocInterfaceNotificationSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
1414 | #define IDot11AdHocInterfaceNotificationSink_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
1415 | #define IDot11AdHocInterfaceNotificationSink_Release(This) (This)->lpVtbl->Release(This)
|
---|
1416 | /*** IDot11AdHocInterfaceNotificationSink methods ***/
|
---|
1417 | #define IDot11AdHocInterfaceNotificationSink_OnConnectionStatusChange(This,eStatus) (This)->lpVtbl->OnConnectionStatusChange(This,eStatus)
|
---|
1418 | #else
|
---|
1419 | /*** IUnknown methods ***/
|
---|
1420 | static FORCEINLINE HRESULT IDot11AdHocInterfaceNotificationSink_QueryInterface(IDot11AdHocInterfaceNotificationSink* This,REFIID riid,void **ppvObject) {
|
---|
1421 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
1422 | }
|
---|
1423 | static FORCEINLINE ULONG IDot11AdHocInterfaceNotificationSink_AddRef(IDot11AdHocInterfaceNotificationSink* This) {
|
---|
1424 | return This->lpVtbl->AddRef(This);
|
---|
1425 | }
|
---|
1426 | static FORCEINLINE ULONG IDot11AdHocInterfaceNotificationSink_Release(IDot11AdHocInterfaceNotificationSink* This) {
|
---|
1427 | return This->lpVtbl->Release(This);
|
---|
1428 | }
|
---|
1429 | /*** IDot11AdHocInterfaceNotificationSink methods ***/
|
---|
1430 | static FORCEINLINE HRESULT IDot11AdHocInterfaceNotificationSink_OnConnectionStatusChange(IDot11AdHocInterfaceNotificationSink* This,DOT11_ADHOC_NETWORK_CONNECTION_STATUS eStatus) {
|
---|
1431 | return This->lpVtbl->OnConnectionStatusChange(This,eStatus);
|
---|
1432 | }
|
---|
1433 | #endif
|
---|
1434 | #endif
|
---|
1435 |
|
---|
1436 | #endif
|
---|
1437 |
|
---|
1438 |
|
---|
1439 | #endif /* __IDot11AdHocInterfaceNotificationSink_INTERFACE_DEFINED__ */
|
---|
1440 |
|
---|
1441 | #ifndef __ADHOCLib_LIBRARY_DEFINED__
|
---|
1442 | #define __ADHOCLib_LIBRARY_DEFINED__
|
---|
1443 |
|
---|
1444 | DEFINE_GUID(LIBID_ADHOCLib, 0x45357166, 0xff38, 0x4302, 0x8f,0x5c, 0xdf,0x5b,0x70,0x3a,0x6e,0x3d);
|
---|
1445 |
|
---|
1446 | /*****************************************************************************
|
---|
1447 | * Dot11AdHocManager coclass
|
---|
1448 | */
|
---|
1449 |
|
---|
1450 | DEFINE_GUID(CLSID_Dot11AdHocManager, 0xdd06a84f, 0x83bd, 0x4d01, 0x8a,0xb9, 0x23,0x89,0xfe,0xa0,0x86,0x9e);
|
---|
1451 |
|
---|
1452 | #ifdef __cplusplus
|
---|
1453 | class DECLSPEC_UUID("dd06a84f-83bd-4d01-8ab9-2389fea0869e") Dot11AdHocManager;
|
---|
1454 | #ifdef __CRT_UUID_DECL
|
---|
1455 | __CRT_UUID_DECL(Dot11AdHocManager, 0xdd06a84f, 0x83bd, 0x4d01, 0x8a,0xb9, 0x23,0x89,0xfe,0xa0,0x86,0x9e)
|
---|
1456 | #endif
|
---|
1457 | #endif
|
---|
1458 |
|
---|
1459 | #endif /* __ADHOCLib_LIBRARY_DEFINED__ */
|
---|
1460 | #endif
|
---|
1461 | /* Begin additional prototypes for all interfaces */
|
---|
1462 |
|
---|
1463 |
|
---|
1464 | /* End additional prototypes */
|
---|
1465 |
|
---|
1466 | #ifdef __cplusplus
|
---|
1467 | }
|
---|
1468 | #endif
|
---|
1469 |
|
---|
1470 | #endif /* __adhoc_h__ */
|
---|