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