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