1 /*** Autogenerated by WIDL 1.6 from include/napcommon.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 __napcommon_h__
16 #define __napcommon_h__
17 
18 /* Forward declarations */
19 
20 #ifndef __INapComponentConfig_FWD_DEFINED__
21 #define __INapComponentConfig_FWD_DEFINED__
22 typedef interface INapComponentConfig INapComponentConfig;
23 #endif
24 
25 #ifndef __INapComponentInfo_FWD_DEFINED__
26 #define __INapComponentInfo_FWD_DEFINED__
27 typedef interface INapComponentInfo INapComponentInfo;
28 #endif
29 
30 #ifndef __INapComponentConfig2_FWD_DEFINED__
31 #define __INapComponentConfig2_FWD_DEFINED__
32 typedef interface INapComponentConfig2 INapComponentConfig2;
33 #endif
34 
35 #ifndef __INapComponentConfig3_FWD_DEFINED__
36 #define __INapComponentConfig3_FWD_DEFINED__
37 typedef interface INapComponentConfig3 INapComponentConfig3;
38 #endif
39 
40 /* Headers for imported files */
41 
42 #include <naptypes.h>
43 #include <unknwn.h>
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 #include <winapifamily.h>
50 
51 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
52 /*****************************************************************************
53  * INapComponentConfig interface
54  */
55 #ifndef __INapComponentConfig_INTERFACE_DEFINED__
56 #define __INapComponentConfig_INTERFACE_DEFINED__
57 
58 DEFINE_GUID(IID_INapComponentConfig, 0xa9e0af1a, 0x3713, 0x478e, 0xae,0x03, 0x8e,0xdd,0x27,0x2d,0x21,0xfa);
59 #if defined(__cplusplus) && !defined(CINTERFACE)
60 MIDL_INTERFACE("a9e0af1a-3713-478e-ae03-8edd272d21fa")
61 INapComponentConfig : public IUnknown
62 {
63     virtual HRESULT STDMETHODCALLTYPE IsUISupported(
64         WINBOOL *isSupported) = 0;
65 
66     virtual HRESULT STDMETHODCALLTYPE InvokeUI(
67         HWND hwndParent) = 0;
68 
69     virtual HRESULT STDMETHODCALLTYPE GetConfig(
70         UINT16 *bCount,
71         BYTE **data) = 0;
72 
73     virtual HRESULT STDMETHODCALLTYPE SetConfig(
74         UINT16 bCount,
75         BYTE *data) = 0;
76 
77 };
78 #ifdef __CRT_UUID_DECL
79 __CRT_UUID_DECL(INapComponentConfig, 0xa9e0af1a, 0x3713, 0x478e, 0xae,0x03, 0x8e,0xdd,0x27,0x2d,0x21,0xfa)
80 #endif
81 #else
82 typedef struct INapComponentConfigVtbl {
83     BEGIN_INTERFACE
84 
85     /*** IUnknown methods ***/
86     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
87         INapComponentConfig* This,
88         REFIID riid,
89         void **ppvObject);
90 
91     ULONG (STDMETHODCALLTYPE *AddRef)(
92         INapComponentConfig* This);
93 
94     ULONG (STDMETHODCALLTYPE *Release)(
95         INapComponentConfig* This);
96 
97     /*** INapComponentConfig methods ***/
98     HRESULT (STDMETHODCALLTYPE *IsUISupported)(
99         INapComponentConfig* This,
100         WINBOOL *isSupported);
101 
102     HRESULT (STDMETHODCALLTYPE *InvokeUI)(
103         INapComponentConfig* This,
104         HWND hwndParent);
105 
106     HRESULT (STDMETHODCALLTYPE *GetConfig)(
107         INapComponentConfig* This,
108         UINT16 *bCount,
109         BYTE **data);
110 
111     HRESULT (STDMETHODCALLTYPE *SetConfig)(
112         INapComponentConfig* This,
113         UINT16 bCount,
114         BYTE *data);
115 
116     END_INTERFACE
117 } INapComponentConfigVtbl;
118 interface INapComponentConfig {
119     CONST_VTBL INapComponentConfigVtbl* lpVtbl;
120 };
121 
122 #ifdef COBJMACROS
123 #ifndef WIDL_C_INLINE_WRAPPERS
124 /*** IUnknown methods ***/
125 #define INapComponentConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
126 #define INapComponentConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
127 #define INapComponentConfig_Release(This) (This)->lpVtbl->Release(This)
128 /*** INapComponentConfig methods ***/
129 #define INapComponentConfig_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported)
130 #define INapComponentConfig_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent)
131 #define INapComponentConfig_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data)
132 #define INapComponentConfig_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data)
133 #else
134 /*** IUnknown methods ***/
135 static FORCEINLINE HRESULT INapComponentConfig_QueryInterface(INapComponentConfig* This,REFIID riid,void **ppvObject) {
136     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
137 }
138 static FORCEINLINE ULONG INapComponentConfig_AddRef(INapComponentConfig* This) {
139     return This->lpVtbl->AddRef(This);
140 }
141 static FORCEINLINE ULONG INapComponentConfig_Release(INapComponentConfig* This) {
142     return This->lpVtbl->Release(This);
143 }
144 /*** INapComponentConfig methods ***/
145 static FORCEINLINE HRESULT INapComponentConfig_IsUISupported(INapComponentConfig* This,WINBOOL *isSupported) {
146     return This->lpVtbl->IsUISupported(This,isSupported);
147 }
148 static FORCEINLINE HRESULT INapComponentConfig_InvokeUI(INapComponentConfig* This,HWND hwndParent) {
149     return This->lpVtbl->InvokeUI(This,hwndParent);
150 }
151 static FORCEINLINE HRESULT INapComponentConfig_GetConfig(INapComponentConfig* This,UINT16 *bCount,BYTE **data) {
152     return This->lpVtbl->GetConfig(This,bCount,data);
153 }
154 static FORCEINLINE HRESULT INapComponentConfig_SetConfig(INapComponentConfig* This,UINT16 bCount,BYTE *data) {
155     return This->lpVtbl->SetConfig(This,bCount,data);
156 }
157 #endif
158 #endif
159 
160 #endif
161 
162 HRESULT STDMETHODCALLTYPE INapComponentConfig_IsUISupported_Proxy(
163     INapComponentConfig* This,
164     WINBOOL *isSupported);
165 void __RPC_STUB INapComponentConfig_IsUISupported_Stub(
166     IRpcStubBuffer* This,
167     IRpcChannelBuffer* pRpcChannelBuffer,
168     PRPC_MESSAGE pRpcMessage,
169     DWORD* pdwStubPhase);
170 HRESULT STDMETHODCALLTYPE INapComponentConfig_InvokeUI_Proxy(
171     INapComponentConfig* This,
172     HWND hwndParent);
173 void __RPC_STUB INapComponentConfig_InvokeUI_Stub(
174     IRpcStubBuffer* This,
175     IRpcChannelBuffer* pRpcChannelBuffer,
176     PRPC_MESSAGE pRpcMessage,
177     DWORD* pdwStubPhase);
178 HRESULT STDMETHODCALLTYPE INapComponentConfig_GetConfig_Proxy(
179     INapComponentConfig* This,
180     UINT16 *bCount,
181     BYTE **data);
182 void __RPC_STUB INapComponentConfig_GetConfig_Stub(
183     IRpcStubBuffer* This,
184     IRpcChannelBuffer* pRpcChannelBuffer,
185     PRPC_MESSAGE pRpcMessage,
186     DWORD* pdwStubPhase);
187 HRESULT STDMETHODCALLTYPE INapComponentConfig_SetConfig_Proxy(
188     INapComponentConfig* This,
189     UINT16 bCount,
190     BYTE *data);
191 void __RPC_STUB INapComponentConfig_SetConfig_Stub(
192     IRpcStubBuffer* This,
193     IRpcChannelBuffer* pRpcChannelBuffer,
194     PRPC_MESSAGE pRpcMessage,
195     DWORD* pdwStubPhase);
196 
197 #endif  /* __INapComponentConfig_INTERFACE_DEFINED__ */
198 
199 /*****************************************************************************
200  * INapComponentInfo interface
201  */
202 #ifndef __INapComponentInfo_INTERFACE_DEFINED__
203 #define __INapComponentInfo_INTERFACE_DEFINED__
204 
205 DEFINE_GUID(IID_INapComponentInfo, 0xb475f925, 0xe3f7, 0x414c, 0x8c,0x72, 0x1c,0xee,0x64,0xb9,0xd8,0xf6);
206 #if defined(__cplusplus) && !defined(CINTERFACE)
207 MIDL_INTERFACE("b475f925-e3f7-414c-8c72-1cee64b9d8f6")
208 INapComponentInfo : public IUnknown
209 {
210     virtual HRESULT STDMETHODCALLTYPE GetFriendlyName(
211         MessageId *friendlyName) = 0;
212 
213     virtual HRESULT STDMETHODCALLTYPE GetDescription(
214         MessageId *description) = 0;
215 
216     virtual HRESULT STDMETHODCALLTYPE GetVendorName(
217         MessageId *vendorName) = 0;
218 
219     virtual HRESULT STDMETHODCALLTYPE GetVersion(
220         MessageId *version) = 0;
221 
222     virtual HRESULT STDMETHODCALLTYPE GetIcon(
223         CountedString **dllFilePath,
224         UINT32 *iconResourceId) = 0;
225 
226     virtual HRESULT STDMETHODCALLTYPE ConvertErrorCodeToMessageId(
227         HRESULT errorCode,
228         MessageId *msgId) = 0;
229 
230     virtual HRESULT STDMETHODCALLTYPE GetLocalizedString(
231         MessageId msgId,
232         CountedString **string) = 0;
233 
234 };
235 #ifdef __CRT_UUID_DECL
236 __CRT_UUID_DECL(INapComponentInfo, 0xb475f925, 0xe3f7, 0x414c, 0x8c,0x72, 0x1c,0xee,0x64,0xb9,0xd8,0xf6)
237 #endif
238 #else
239 typedef struct INapComponentInfoVtbl {
240     BEGIN_INTERFACE
241 
242     /*** IUnknown methods ***/
243     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
244         INapComponentInfo* This,
245         REFIID riid,
246         void **ppvObject);
247 
248     ULONG (STDMETHODCALLTYPE *AddRef)(
249         INapComponentInfo* This);
250 
251     ULONG (STDMETHODCALLTYPE *Release)(
252         INapComponentInfo* This);
253 
254     /*** INapComponentInfo methods ***/
255     HRESULT (STDMETHODCALLTYPE *GetFriendlyName)(
256         INapComponentInfo* This,
257         MessageId *friendlyName);
258 
259     HRESULT (STDMETHODCALLTYPE *GetDescription)(
260         INapComponentInfo* This,
261         MessageId *description);
262 
263     HRESULT (STDMETHODCALLTYPE *GetVendorName)(
264         INapComponentInfo* This,
265         MessageId *vendorName);
266 
267     HRESULT (STDMETHODCALLTYPE *GetVersion)(
268         INapComponentInfo* This,
269         MessageId *version);
270 
271     HRESULT (STDMETHODCALLTYPE *GetIcon)(
272         INapComponentInfo* This,
273         CountedString **dllFilePath,
274         UINT32 *iconResourceId);
275 
276     HRESULT (STDMETHODCALLTYPE *ConvertErrorCodeToMessageId)(
277         INapComponentInfo* This,
278         HRESULT errorCode,
279         MessageId *msgId);
280 
281     HRESULT (STDMETHODCALLTYPE *GetLocalizedString)(
282         INapComponentInfo* This,
283         MessageId msgId,
284         CountedString **string);
285 
286     END_INTERFACE
287 } INapComponentInfoVtbl;
288 interface INapComponentInfo {
289     CONST_VTBL INapComponentInfoVtbl* lpVtbl;
290 };
291 
292 #ifdef COBJMACROS
293 #ifndef WIDL_C_INLINE_WRAPPERS
294 /*** IUnknown methods ***/
295 #define INapComponentInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
296 #define INapComponentInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
297 #define INapComponentInfo_Release(This) (This)->lpVtbl->Release(This)
298 /*** INapComponentInfo methods ***/
299 #define INapComponentInfo_GetFriendlyName(This,friendlyName) (This)->lpVtbl->GetFriendlyName(This,friendlyName)
300 #define INapComponentInfo_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description)
301 #define INapComponentInfo_GetVendorName(This,vendorName) (This)->lpVtbl->GetVendorName(This,vendorName)
302 #define INapComponentInfo_GetVersion(This,version) (This)->lpVtbl->GetVersion(This,version)
303 #define INapComponentInfo_GetIcon(This,dllFilePath,iconResourceId) (This)->lpVtbl->GetIcon(This,dllFilePath,iconResourceId)
304 #define INapComponentInfo_ConvertErrorCodeToMessageId(This,errorCode,msgId) (This)->lpVtbl->ConvertErrorCodeToMessageId(This,errorCode,msgId)
305 #define INapComponentInfo_GetLocalizedString(This,msgId,string) (This)->lpVtbl->GetLocalizedString(This,msgId,string)
306 #else
307 /*** IUnknown methods ***/
308 static FORCEINLINE HRESULT INapComponentInfo_QueryInterface(INapComponentInfo* This,REFIID riid,void **ppvObject) {
309     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
310 }
311 static FORCEINLINE ULONG INapComponentInfo_AddRef(INapComponentInfo* This) {
312     return This->lpVtbl->AddRef(This);
313 }
314 static FORCEINLINE ULONG INapComponentInfo_Release(INapComponentInfo* This) {
315     return This->lpVtbl->Release(This);
316 }
317 /*** INapComponentInfo methods ***/
318 static FORCEINLINE HRESULT INapComponentInfo_GetFriendlyName(INapComponentInfo* This,MessageId *friendlyName) {
319     return This->lpVtbl->GetFriendlyName(This,friendlyName);
320 }
321 static FORCEINLINE HRESULT INapComponentInfo_GetDescription(INapComponentInfo* This,MessageId *description) {
322     return This->lpVtbl->GetDescription(This,description);
323 }
324 static FORCEINLINE HRESULT INapComponentInfo_GetVendorName(INapComponentInfo* This,MessageId *vendorName) {
325     return This->lpVtbl->GetVendorName(This,vendorName);
326 }
327 static FORCEINLINE HRESULT INapComponentInfo_GetVersion(INapComponentInfo* This,MessageId *version) {
328     return This->lpVtbl->GetVersion(This,version);
329 }
330 static FORCEINLINE HRESULT INapComponentInfo_GetIcon(INapComponentInfo* This,CountedString **dllFilePath,UINT32 *iconResourceId) {
331     return This->lpVtbl->GetIcon(This,dllFilePath,iconResourceId);
332 }
333 static FORCEINLINE HRESULT INapComponentInfo_ConvertErrorCodeToMessageId(INapComponentInfo* This,HRESULT errorCode,MessageId *msgId) {
334     return This->lpVtbl->ConvertErrorCodeToMessageId(This,errorCode,msgId);
335 }
336 static FORCEINLINE HRESULT INapComponentInfo_GetLocalizedString(INapComponentInfo* This,MessageId msgId,CountedString **string) {
337     return This->lpVtbl->GetLocalizedString(This,msgId,string);
338 }
339 #endif
340 #endif
341 
342 #endif
343 
344 HRESULT STDMETHODCALLTYPE INapComponentInfo_GetFriendlyName_Proxy(
345     INapComponentInfo* This,
346     MessageId *friendlyName);
347 void __RPC_STUB INapComponentInfo_GetFriendlyName_Stub(
348     IRpcStubBuffer* This,
349     IRpcChannelBuffer* pRpcChannelBuffer,
350     PRPC_MESSAGE pRpcMessage,
351     DWORD* pdwStubPhase);
352 HRESULT STDMETHODCALLTYPE INapComponentInfo_GetDescription_Proxy(
353     INapComponentInfo* This,
354     MessageId *description);
355 void __RPC_STUB INapComponentInfo_GetDescription_Stub(
356     IRpcStubBuffer* This,
357     IRpcChannelBuffer* pRpcChannelBuffer,
358     PRPC_MESSAGE pRpcMessage,
359     DWORD* pdwStubPhase);
360 HRESULT STDMETHODCALLTYPE INapComponentInfo_GetVendorName_Proxy(
361     INapComponentInfo* This,
362     MessageId *vendorName);
363 void __RPC_STUB INapComponentInfo_GetVendorName_Stub(
364     IRpcStubBuffer* This,
365     IRpcChannelBuffer* pRpcChannelBuffer,
366     PRPC_MESSAGE pRpcMessage,
367     DWORD* pdwStubPhase);
368 HRESULT STDMETHODCALLTYPE INapComponentInfo_GetVersion_Proxy(
369     INapComponentInfo* This,
370     MessageId *version);
371 void __RPC_STUB INapComponentInfo_GetVersion_Stub(
372     IRpcStubBuffer* This,
373     IRpcChannelBuffer* pRpcChannelBuffer,
374     PRPC_MESSAGE pRpcMessage,
375     DWORD* pdwStubPhase);
376 HRESULT STDMETHODCALLTYPE INapComponentInfo_GetIcon_Proxy(
377     INapComponentInfo* This,
378     CountedString **dllFilePath,
379     UINT32 *iconResourceId);
380 void __RPC_STUB INapComponentInfo_GetIcon_Stub(
381     IRpcStubBuffer* This,
382     IRpcChannelBuffer* pRpcChannelBuffer,
383     PRPC_MESSAGE pRpcMessage,
384     DWORD* pdwStubPhase);
385 HRESULT STDMETHODCALLTYPE INapComponentInfo_ConvertErrorCodeToMessageId_Proxy(
386     INapComponentInfo* This,
387     HRESULT errorCode,
388     MessageId *msgId);
389 void __RPC_STUB INapComponentInfo_ConvertErrorCodeToMessageId_Stub(
390     IRpcStubBuffer* This,
391     IRpcChannelBuffer* pRpcChannelBuffer,
392     PRPC_MESSAGE pRpcMessage,
393     DWORD* pdwStubPhase);
394 HRESULT STDMETHODCALLTYPE INapComponentInfo_GetLocalizedString_Proxy(
395     INapComponentInfo* This,
396     MessageId msgId,
397     CountedString **string);
398 void __RPC_STUB INapComponentInfo_GetLocalizedString_Stub(
399     IRpcStubBuffer* This,
400     IRpcChannelBuffer* pRpcChannelBuffer,
401     PRPC_MESSAGE pRpcMessage,
402     DWORD* pdwStubPhase);
403 
404 #endif  /* __INapComponentInfo_INTERFACE_DEFINED__ */
405 
406 /*****************************************************************************
407  * INapComponentConfig2 interface
408  */
409 #ifndef __INapComponentConfig2_INTERFACE_DEFINED__
410 #define __INapComponentConfig2_INTERFACE_DEFINED__
411 
412 DEFINE_GUID(IID_INapComponentConfig2, 0x47cbdb9e, 0x1972, 0x4f5e, 0xbd,0x3c, 0x5e,0xb6,0x23,0x06,0x14,0xb5);
413 #if defined(__cplusplus) && !defined(CINTERFACE)
414 MIDL_INTERFACE("47cbdb9e-1972-4f5e-bd3c-5eb6230614b5")
415 INapComponentConfig2 : public INapComponentConfig
416 {
417     virtual HRESULT STDMETHODCALLTYPE IsRemoteConfigSupported(
418         WINBOOL *isSupported,
419         UINT8 *remoteConfigType) = 0;
420 
421     virtual HRESULT STDMETHODCALLTYPE InvokeUIForMachine(
422         HWND hwndParent,
423         CountedString *machineName) = 0;
424 
425     virtual HRESULT STDMETHODCALLTYPE InvokeUIFromConfigBlob(
426         HWND hwndParent,
427         UINT16 inbCount,
428         BYTE *inData,
429         UINT16 *outbCount,
430         BYTE **outdata,
431         WINBOOL *fConfigChanged) = 0;
432 
433 };
434 #ifdef __CRT_UUID_DECL
435 __CRT_UUID_DECL(INapComponentConfig2, 0x47cbdb9e, 0x1972, 0x4f5e, 0xbd,0x3c, 0x5e,0xb6,0x23,0x06,0x14,0xb5)
436 #endif
437 #else
438 typedef struct INapComponentConfig2Vtbl {
439     BEGIN_INTERFACE
440 
441     /*** IUnknown methods ***/
442     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
443         INapComponentConfig2* This,
444         REFIID riid,
445         void **ppvObject);
446 
447     ULONG (STDMETHODCALLTYPE *AddRef)(
448         INapComponentConfig2* This);
449 
450     ULONG (STDMETHODCALLTYPE *Release)(
451         INapComponentConfig2* This);
452 
453     /*** INapComponentConfig methods ***/
454     HRESULT (STDMETHODCALLTYPE *IsUISupported)(
455         INapComponentConfig2* This,
456         WINBOOL *isSupported);
457 
458     HRESULT (STDMETHODCALLTYPE *InvokeUI)(
459         INapComponentConfig2* This,
460         HWND hwndParent);
461 
462     HRESULT (STDMETHODCALLTYPE *GetConfig)(
463         INapComponentConfig2* This,
464         UINT16 *bCount,
465         BYTE **data);
466 
467     HRESULT (STDMETHODCALLTYPE *SetConfig)(
468         INapComponentConfig2* This,
469         UINT16 bCount,
470         BYTE *data);
471 
472     /*** INapComponentConfig2 methods ***/
473     HRESULT (STDMETHODCALLTYPE *IsRemoteConfigSupported)(
474         INapComponentConfig2* This,
475         WINBOOL *isSupported,
476         UINT8 *remoteConfigType);
477 
478     HRESULT (STDMETHODCALLTYPE *InvokeUIForMachine)(
479         INapComponentConfig2* This,
480         HWND hwndParent,
481         CountedString *machineName);
482 
483     HRESULT (STDMETHODCALLTYPE *InvokeUIFromConfigBlob)(
484         INapComponentConfig2* This,
485         HWND hwndParent,
486         UINT16 inbCount,
487         BYTE *inData,
488         UINT16 *outbCount,
489         BYTE **outdata,
490         WINBOOL *fConfigChanged);
491 
492     END_INTERFACE
493 } INapComponentConfig2Vtbl;
494 interface INapComponentConfig2 {
495     CONST_VTBL INapComponentConfig2Vtbl* lpVtbl;
496 };
497 
498 #ifdef COBJMACROS
499 #ifndef WIDL_C_INLINE_WRAPPERS
500 /*** IUnknown methods ***/
501 #define INapComponentConfig2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
502 #define INapComponentConfig2_AddRef(This) (This)->lpVtbl->AddRef(This)
503 #define INapComponentConfig2_Release(This) (This)->lpVtbl->Release(This)
504 /*** INapComponentConfig methods ***/
505 #define INapComponentConfig2_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported)
506 #define INapComponentConfig2_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent)
507 #define INapComponentConfig2_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data)
508 #define INapComponentConfig2_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data)
509 /*** INapComponentConfig2 methods ***/
510 #define INapComponentConfig2_IsRemoteConfigSupported(This,isSupported,remoteConfigType) (This)->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType)
511 #define INapComponentConfig2_InvokeUIForMachine(This,hwndParent,machineName) (This)->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName)
512 #define INapComponentConfig2_InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) (This)->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged)
513 #else
514 /*** IUnknown methods ***/
515 static FORCEINLINE HRESULT INapComponentConfig2_QueryInterface(INapComponentConfig2* This,REFIID riid,void **ppvObject) {
516     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
517 }
518 static FORCEINLINE ULONG INapComponentConfig2_AddRef(INapComponentConfig2* This) {
519     return This->lpVtbl->AddRef(This);
520 }
521 static FORCEINLINE ULONG INapComponentConfig2_Release(INapComponentConfig2* This) {
522     return This->lpVtbl->Release(This);
523 }
524 /*** INapComponentConfig methods ***/
525 static FORCEINLINE HRESULT INapComponentConfig2_IsUISupported(INapComponentConfig2* This,WINBOOL *isSupported) {
526     return This->lpVtbl->IsUISupported(This,isSupported);
527 }
528 static FORCEINLINE HRESULT INapComponentConfig2_InvokeUI(INapComponentConfig2* This,HWND hwndParent) {
529     return This->lpVtbl->InvokeUI(This,hwndParent);
530 }
531 static FORCEINLINE HRESULT INapComponentConfig2_GetConfig(INapComponentConfig2* This,UINT16 *bCount,BYTE **data) {
532     return This->lpVtbl->GetConfig(This,bCount,data);
533 }
534 static FORCEINLINE HRESULT INapComponentConfig2_SetConfig(INapComponentConfig2* This,UINT16 bCount,BYTE *data) {
535     return This->lpVtbl->SetConfig(This,bCount,data);
536 }
537 /*** INapComponentConfig2 methods ***/
538 static FORCEINLINE HRESULT INapComponentConfig2_IsRemoteConfigSupported(INapComponentConfig2* This,WINBOOL *isSupported,UINT8 *remoteConfigType) {
539     return This->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType);
540 }
541 static FORCEINLINE HRESULT INapComponentConfig2_InvokeUIForMachine(INapComponentConfig2* This,HWND hwndParent,CountedString *machineName) {
542     return This->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName);
543 }
544 static FORCEINLINE HRESULT INapComponentConfig2_InvokeUIFromConfigBlob(INapComponentConfig2* This,HWND hwndParent,UINT16 inbCount,BYTE *inData,UINT16 *outbCount,BYTE **outdata,WINBOOL *fConfigChanged) {
545     return This->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged);
546 }
547 #endif
548 #endif
549 
550 #endif
551 
552 HRESULT STDMETHODCALLTYPE INapComponentConfig2_IsRemoteConfigSupported_Proxy(
553     INapComponentConfig2* This,
554     WINBOOL *isSupported,
555     UINT8 *remoteConfigType);
556 void __RPC_STUB INapComponentConfig2_IsRemoteConfigSupported_Stub(
557     IRpcStubBuffer* This,
558     IRpcChannelBuffer* pRpcChannelBuffer,
559     PRPC_MESSAGE pRpcMessage,
560     DWORD* pdwStubPhase);
561 HRESULT STDMETHODCALLTYPE INapComponentConfig2_InvokeUIForMachine_Proxy(
562     INapComponentConfig2* This,
563     HWND hwndParent,
564     CountedString *machineName);
565 void __RPC_STUB INapComponentConfig2_InvokeUIForMachine_Stub(
566     IRpcStubBuffer* This,
567     IRpcChannelBuffer* pRpcChannelBuffer,
568     PRPC_MESSAGE pRpcMessage,
569     DWORD* pdwStubPhase);
570 HRESULT STDMETHODCALLTYPE INapComponentConfig2_InvokeUIFromConfigBlob_Proxy(
571     INapComponentConfig2* This,
572     HWND hwndParent,
573     UINT16 inbCount,
574     BYTE *inData,
575     UINT16 *outbCount,
576     BYTE **outdata,
577     WINBOOL *fConfigChanged);
578 void __RPC_STUB INapComponentConfig2_InvokeUIFromConfigBlob_Stub(
579     IRpcStubBuffer* This,
580     IRpcChannelBuffer* pRpcChannelBuffer,
581     PRPC_MESSAGE pRpcMessage,
582     DWORD* pdwStubPhase);
583 
584 #endif  /* __INapComponentConfig2_INTERFACE_DEFINED__ */
585 
586 /*****************************************************************************
587  * INapComponentConfig3 interface
588  */
589 #ifndef __INapComponentConfig3_INTERFACE_DEFINED__
590 #define __INapComponentConfig3_INTERFACE_DEFINED__
591 
592 DEFINE_GUID(IID_INapComponentConfig3, 0x9c4a8101, 0x8cfe, 0x4332, 0x87,0x6e, 0xc4,0xa4,0x9d,0x1d,0x3f,0x77);
593 #if defined(__cplusplus) && !defined(CINTERFACE)
594 MIDL_INTERFACE("9c4a8101-8cfe-4332-876e-c4a49d1d3f77")
595 INapComponentConfig3 : public INapComponentConfig2
596 {
597     virtual HRESULT STDMETHODCALLTYPE NewConfig(
598         UINT32 configID) = 0;
599 
600     virtual HRESULT STDMETHODCALLTYPE DeleteConfig(
601         UINT32 configID) = 0;
602 
603     virtual HRESULT STDMETHODCALLTYPE DeleteAllConfig(
604         ) = 0;
605 
606     virtual HRESULT STDMETHODCALLTYPE GetConfigFromID(
607         UINT32 configID,
608         UINT16 *count,
609         BYTE **outdata) = 0;
610 
611     virtual HRESULT STDMETHODCALLTYPE SetConfigToID(
612         UINT32 configID,
613         UINT16 count,
614         BYTE *data) = 0;
615 
616 };
617 #ifdef __CRT_UUID_DECL
618 __CRT_UUID_DECL(INapComponentConfig3, 0x9c4a8101, 0x8cfe, 0x4332, 0x87,0x6e, 0xc4,0xa4,0x9d,0x1d,0x3f,0x77)
619 #endif
620 #else
621 typedef struct INapComponentConfig3Vtbl {
622     BEGIN_INTERFACE
623 
624     /*** IUnknown methods ***/
625     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
626         INapComponentConfig3* This,
627         REFIID riid,
628         void **ppvObject);
629 
630     ULONG (STDMETHODCALLTYPE *AddRef)(
631         INapComponentConfig3* This);
632 
633     ULONG (STDMETHODCALLTYPE *Release)(
634         INapComponentConfig3* This);
635 
636     /*** INapComponentConfig methods ***/
637     HRESULT (STDMETHODCALLTYPE *IsUISupported)(
638         INapComponentConfig3* This,
639         WINBOOL *isSupported);
640 
641     HRESULT (STDMETHODCALLTYPE *InvokeUI)(
642         INapComponentConfig3* This,
643         HWND hwndParent);
644 
645     HRESULT (STDMETHODCALLTYPE *GetConfig)(
646         INapComponentConfig3* This,
647         UINT16 *bCount,
648         BYTE **data);
649 
650     HRESULT (STDMETHODCALLTYPE *SetConfig)(
651         INapComponentConfig3* This,
652         UINT16 bCount,
653         BYTE *data);
654 
655     /*** INapComponentConfig2 methods ***/
656     HRESULT (STDMETHODCALLTYPE *IsRemoteConfigSupported)(
657         INapComponentConfig3* This,
658         WINBOOL *isSupported,
659         UINT8 *remoteConfigType);
660 
661     HRESULT (STDMETHODCALLTYPE *InvokeUIForMachine)(
662         INapComponentConfig3* This,
663         HWND hwndParent,
664         CountedString *machineName);
665 
666     HRESULT (STDMETHODCALLTYPE *InvokeUIFromConfigBlob)(
667         INapComponentConfig3* This,
668         HWND hwndParent,
669         UINT16 inbCount,
670         BYTE *inData,
671         UINT16 *outbCount,
672         BYTE **outdata,
673         WINBOOL *fConfigChanged);
674 
675     /*** INapComponentConfig3 methods ***/
676     HRESULT (STDMETHODCALLTYPE *NewConfig)(
677         INapComponentConfig3* This,
678         UINT32 configID);
679 
680     HRESULT (STDMETHODCALLTYPE *DeleteConfig)(
681         INapComponentConfig3* This,
682         UINT32 configID);
683 
684     HRESULT (STDMETHODCALLTYPE *DeleteAllConfig)(
685         INapComponentConfig3* This);
686 
687     HRESULT (STDMETHODCALLTYPE *GetConfigFromID)(
688         INapComponentConfig3* This,
689         UINT32 configID,
690         UINT16 *count,
691         BYTE **outdata);
692 
693     HRESULT (STDMETHODCALLTYPE *SetConfigToID)(
694         INapComponentConfig3* This,
695         UINT32 configID,
696         UINT16 count,
697         BYTE *data);
698 
699     END_INTERFACE
700 } INapComponentConfig3Vtbl;
701 interface INapComponentConfig3 {
702     CONST_VTBL INapComponentConfig3Vtbl* lpVtbl;
703 };
704 
705 #ifdef COBJMACROS
706 #ifndef WIDL_C_INLINE_WRAPPERS
707 /*** IUnknown methods ***/
708 #define INapComponentConfig3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
709 #define INapComponentConfig3_AddRef(This) (This)->lpVtbl->AddRef(This)
710 #define INapComponentConfig3_Release(This) (This)->lpVtbl->Release(This)
711 /*** INapComponentConfig methods ***/
712 #define INapComponentConfig3_IsUISupported(This,isSupported) (This)->lpVtbl->IsUISupported(This,isSupported)
713 #define INapComponentConfig3_InvokeUI(This,hwndParent) (This)->lpVtbl->InvokeUI(This,hwndParent)
714 #define INapComponentConfig3_GetConfig(This,bCount,data) (This)->lpVtbl->GetConfig(This,bCount,data)
715 #define INapComponentConfig3_SetConfig(This,bCount,data) (This)->lpVtbl->SetConfig(This,bCount,data)
716 /*** INapComponentConfig2 methods ***/
717 #define INapComponentConfig3_IsRemoteConfigSupported(This,isSupported,remoteConfigType) (This)->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType)
718 #define INapComponentConfig3_InvokeUIForMachine(This,hwndParent,machineName) (This)->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName)
719 #define INapComponentConfig3_InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged) (This)->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged)
720 /*** INapComponentConfig3 methods ***/
721 #define INapComponentConfig3_NewConfig(This,configID) (This)->lpVtbl->NewConfig(This,configID)
722 #define INapComponentConfig3_DeleteConfig(This,configID) (This)->lpVtbl->DeleteConfig(This,configID)
723 #define INapComponentConfig3_DeleteAllConfig(This) (This)->lpVtbl->DeleteAllConfig(This)
724 #define INapComponentConfig3_GetConfigFromID(This,configID,count,outdata) (This)->lpVtbl->GetConfigFromID(This,configID,count,outdata)
725 #define INapComponentConfig3_SetConfigToID(This,configID,count,data) (This)->lpVtbl->SetConfigToID(This,configID,count,data)
726 #else
727 /*** IUnknown methods ***/
728 static FORCEINLINE HRESULT INapComponentConfig3_QueryInterface(INapComponentConfig3* This,REFIID riid,void **ppvObject) {
729     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
730 }
731 static FORCEINLINE ULONG INapComponentConfig3_AddRef(INapComponentConfig3* This) {
732     return This->lpVtbl->AddRef(This);
733 }
734 static FORCEINLINE ULONG INapComponentConfig3_Release(INapComponentConfig3* This) {
735     return This->lpVtbl->Release(This);
736 }
737 /*** INapComponentConfig methods ***/
738 static FORCEINLINE HRESULT INapComponentConfig3_IsUISupported(INapComponentConfig3* This,WINBOOL *isSupported) {
739     return This->lpVtbl->IsUISupported(This,isSupported);
740 }
741 static FORCEINLINE HRESULT INapComponentConfig3_InvokeUI(INapComponentConfig3* This,HWND hwndParent) {
742     return This->lpVtbl->InvokeUI(This,hwndParent);
743 }
744 static FORCEINLINE HRESULT INapComponentConfig3_GetConfig(INapComponentConfig3* This,UINT16 *bCount,BYTE **data) {
745     return This->lpVtbl->GetConfig(This,bCount,data);
746 }
747 static FORCEINLINE HRESULT INapComponentConfig3_SetConfig(INapComponentConfig3* This,UINT16 bCount,BYTE *data) {
748     return This->lpVtbl->SetConfig(This,bCount,data);
749 }
750 /*** INapComponentConfig2 methods ***/
751 static FORCEINLINE HRESULT INapComponentConfig3_IsRemoteConfigSupported(INapComponentConfig3* This,WINBOOL *isSupported,UINT8 *remoteConfigType) {
752     return This->lpVtbl->IsRemoteConfigSupported(This,isSupported,remoteConfigType);
753 }
754 static FORCEINLINE HRESULT INapComponentConfig3_InvokeUIForMachine(INapComponentConfig3* This,HWND hwndParent,CountedString *machineName) {
755     return This->lpVtbl->InvokeUIForMachine(This,hwndParent,machineName);
756 }
757 static FORCEINLINE HRESULT INapComponentConfig3_InvokeUIFromConfigBlob(INapComponentConfig3* This,HWND hwndParent,UINT16 inbCount,BYTE *inData,UINT16 *outbCount,BYTE **outdata,WINBOOL *fConfigChanged) {
758     return This->lpVtbl->InvokeUIFromConfigBlob(This,hwndParent,inbCount,inData,outbCount,outdata,fConfigChanged);
759 }
760 /*** INapComponentConfig3 methods ***/
761 static FORCEINLINE HRESULT INapComponentConfig3_NewConfig(INapComponentConfig3* This,UINT32 configID) {
762     return This->lpVtbl->NewConfig(This,configID);
763 }
764 static FORCEINLINE HRESULT INapComponentConfig3_DeleteConfig(INapComponentConfig3* This,UINT32 configID) {
765     return This->lpVtbl->DeleteConfig(This,configID);
766 }
767 static FORCEINLINE HRESULT INapComponentConfig3_DeleteAllConfig(INapComponentConfig3* This) {
768     return This->lpVtbl->DeleteAllConfig(This);
769 }
770 static FORCEINLINE HRESULT INapComponentConfig3_GetConfigFromID(INapComponentConfig3* This,UINT32 configID,UINT16 *count,BYTE **outdata) {
771     return This->lpVtbl->GetConfigFromID(This,configID,count,outdata);
772 }
773 static FORCEINLINE HRESULT INapComponentConfig3_SetConfigToID(INapComponentConfig3* This,UINT32 configID,UINT16 count,BYTE *data) {
774     return This->lpVtbl->SetConfigToID(This,configID,count,data);
775 }
776 #endif
777 #endif
778 
779 #endif
780 
781 HRESULT STDMETHODCALLTYPE INapComponentConfig3_NewConfig_Proxy(
782     INapComponentConfig3* This,
783     UINT32 configID);
784 void __RPC_STUB INapComponentConfig3_NewConfig_Stub(
785     IRpcStubBuffer* This,
786     IRpcChannelBuffer* pRpcChannelBuffer,
787     PRPC_MESSAGE pRpcMessage,
788     DWORD* pdwStubPhase);
789 HRESULT STDMETHODCALLTYPE INapComponentConfig3_DeleteConfig_Proxy(
790     INapComponentConfig3* This,
791     UINT32 configID);
792 void __RPC_STUB INapComponentConfig3_DeleteConfig_Stub(
793     IRpcStubBuffer* This,
794     IRpcChannelBuffer* pRpcChannelBuffer,
795     PRPC_MESSAGE pRpcMessage,
796     DWORD* pdwStubPhase);
797 HRESULT STDMETHODCALLTYPE INapComponentConfig3_DeleteAllConfig_Proxy(
798     INapComponentConfig3* This);
799 void __RPC_STUB INapComponentConfig3_DeleteAllConfig_Stub(
800     IRpcStubBuffer* This,
801     IRpcChannelBuffer* pRpcChannelBuffer,
802     PRPC_MESSAGE pRpcMessage,
803     DWORD* pdwStubPhase);
804 HRESULT STDMETHODCALLTYPE INapComponentConfig3_GetConfigFromID_Proxy(
805     INapComponentConfig3* This,
806     UINT32 configID,
807     UINT16 *count,
808     BYTE **outdata);
809 void __RPC_STUB INapComponentConfig3_GetConfigFromID_Stub(
810     IRpcStubBuffer* This,
811     IRpcChannelBuffer* pRpcChannelBuffer,
812     PRPC_MESSAGE pRpcMessage,
813     DWORD* pdwStubPhase);
814 HRESULT STDMETHODCALLTYPE INapComponentConfig3_SetConfigToID_Proxy(
815     INapComponentConfig3* This,
816     UINT32 configID,
817     UINT16 count,
818     BYTE *data);
819 void __RPC_STUB INapComponentConfig3_SetConfigToID_Stub(
820     IRpcStubBuffer* This,
821     IRpcChannelBuffer* pRpcChannelBuffer,
822     PRPC_MESSAGE pRpcMessage,
823     DWORD* pdwStubPhase);
824 
825 #endif  /* __INapComponentConfig3_INTERFACE_DEFINED__ */
826 
827 #endif
828 /* Begin additional prototypes for all interfaces */
829 
830 ULONG           __RPC_USER HWND_UserSize     (ULONG *, ULONG, HWND *);
831 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
832 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
833 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
834 
835 /* End additional prototypes */
836 
837 #ifdef __cplusplus
838 }
839 #endif
840 
841 #endif /* __napcommon_h__ */
842