source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/portabledevicetypes.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 45.0 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/portabledevicetypes.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 __portabledevicetypes_h__
17#define __portabledevicetypes_h__
18
19/* Forward declarations */
20
21#ifndef __IPortableDeviceValues_FWD_DEFINED__
22#define __IPortableDeviceValues_FWD_DEFINED__
23typedef interface IPortableDeviceValues IPortableDeviceValues;
24#ifdef __cplusplus
25interface IPortableDeviceValues;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __IPortableDeviceKeyCollection_FWD_DEFINED__
30#define __IPortableDeviceKeyCollection_FWD_DEFINED__
31typedef interface IPortableDeviceKeyCollection IPortableDeviceKeyCollection;
32#ifdef __cplusplus
33interface IPortableDeviceKeyCollection;
34#endif /* __cplusplus */
35#endif
36
37#ifndef __IPortableDevicePropVariantCollection_FWD_DEFINED__
38#define __IPortableDevicePropVariantCollection_FWD_DEFINED__
39typedef interface IPortableDevicePropVariantCollection IPortableDevicePropVariantCollection;
40#ifdef __cplusplus
41interface IPortableDevicePropVariantCollection;
42#endif /* __cplusplus */
43#endif
44
45#ifndef __IPortableDeviceValuesCollection_FWD_DEFINED__
46#define __IPortableDeviceValuesCollection_FWD_DEFINED__
47typedef interface IPortableDeviceValuesCollection IPortableDeviceValuesCollection;
48#ifdef __cplusplus
49interface IPortableDeviceValuesCollection;
50#endif /* __cplusplus */
51#endif
52
53#ifndef __PortableDeviceValues_FWD_DEFINED__
54#define __PortableDeviceValues_FWD_DEFINED__
55#ifdef __cplusplus
56typedef class PortableDeviceValues PortableDeviceValues;
57#else
58typedef struct PortableDeviceValues PortableDeviceValues;
59#endif /* defined __cplusplus */
60#endif /* defined __PortableDeviceValues_FWD_DEFINED__ */
61
62/* Headers for imported files */
63
64#include <oaidl.h>
65#include <ocidl.h>
66#include <propsys.h>
67
68#ifdef __cplusplus
69extern "C" {
70#endif
71
72#ifndef __IPortableDeviceKeyCollection_FWD_DEFINED__
73#define __IPortableDeviceKeyCollection_FWD_DEFINED__
74typedef interface IPortableDeviceKeyCollection IPortableDeviceKeyCollection;
75#ifdef __cplusplus
76interface IPortableDeviceKeyCollection;
77#endif /* __cplusplus */
78#endif
79
80#ifndef __IPortableDevicePropVariantCollection_FWD_DEFINED__
81#define __IPortableDevicePropVariantCollection_FWD_DEFINED__
82typedef interface IPortableDevicePropVariantCollection IPortableDevicePropVariantCollection;
83#ifdef __cplusplus
84interface IPortableDevicePropVariantCollection;
85#endif /* __cplusplus */
86#endif
87
88#ifndef __IPortableDeviceValuesCollection_FWD_DEFINED__
89#define __IPortableDeviceValuesCollection_FWD_DEFINED__
90typedef interface IPortableDeviceValuesCollection IPortableDeviceValuesCollection;
91#ifdef __cplusplus
92interface IPortableDeviceValuesCollection;
93#endif /* __cplusplus */
94#endif
95
96/*****************************************************************************
97 * IPortableDeviceValues interface
98 */
99#ifndef __IPortableDeviceValues_INTERFACE_DEFINED__
100#define __IPortableDeviceValues_INTERFACE_DEFINED__
101
102DEFINE_GUID(IID_IPortableDeviceValues, 0x6848f6f2, 0x3155, 0x4f86, 0xb6,0xf5, 0x26,0x3e,0xee,0xab,0x31,0x43);
103#if defined(__cplusplus) && !defined(CINTERFACE)
104MIDL_INTERFACE("6848f6f2-3155-4f86-b6f5-263eeeab3143")
105IPortableDeviceValues : public IUnknown
106{
107 virtual HRESULT STDMETHODCALLTYPE GetCount(
108 DWORD *pcelt) = 0;
109
110 virtual HRESULT STDMETHODCALLTYPE GetAt(
111 const DWORD index,
112 PROPERTYKEY *pKey,
113 PROPVARIANT *pValue) = 0;
114
115 virtual HRESULT STDMETHODCALLTYPE SetValue(
116 REFPROPERTYKEY key,
117 const PROPVARIANT *pValue) = 0;
118
119 virtual HRESULT STDMETHODCALLTYPE GetValue(
120 REFPROPERTYKEY key,
121 PROPVARIANT *pValue) = 0;
122
123 virtual HRESULT STDMETHODCALLTYPE SetStringValue(
124 REFPROPERTYKEY key,
125 LPCWSTR Value) = 0;
126
127 virtual HRESULT STDMETHODCALLTYPE GetStringValue(
128 REFPROPERTYKEY key,
129 LPWSTR *pValue) = 0;
130
131 virtual HRESULT STDMETHODCALLTYPE SetUnsignedIntegerValue(
132 REFPROPERTYKEY key,
133 const ULONG Value) = 0;
134
135 virtual HRESULT STDMETHODCALLTYPE GetUnsignedIntegerValue(
136 REFPROPERTYKEY key,
137 ULONG *pValue) = 0;
138
139 virtual HRESULT STDMETHODCALLTYPE SetSignedIntegerValue(
140 REFPROPERTYKEY key,
141 const LONG Value) = 0;
142
143 virtual HRESULT STDMETHODCALLTYPE GetSignedIntegerValue(
144 REFPROPERTYKEY key,
145 LONG *pValue) = 0;
146
147 virtual HRESULT STDMETHODCALLTYPE SetUnsignedLargeIntegerValue(
148 REFPROPERTYKEY key,
149 const ULONGLONG Value) = 0;
150
151 virtual HRESULT STDMETHODCALLTYPE GetUnsignedLargeIntegerValue(
152 REFPROPERTYKEY key,
153 ULONGLONG *pValue) = 0;
154
155 virtual HRESULT STDMETHODCALLTYPE SetSignedLargeIntegerValue(
156 REFPROPERTYKEY key,
157 const LONGLONG Value) = 0;
158
159 virtual HRESULT STDMETHODCALLTYPE GetSignedLargeIntegerValue(
160 REFPROPERTYKEY key,
161 LONGLONG *pValue) = 0;
162
163 virtual HRESULT STDMETHODCALLTYPE SetFloatValue(
164 REFPROPERTYKEY key,
165 const FLOAT Value) = 0;
166
167 virtual HRESULT STDMETHODCALLTYPE GetFloatValue(
168 REFPROPERTYKEY key,
169 FLOAT *pValue) = 0;
170
171 virtual HRESULT STDMETHODCALLTYPE SetErrorValue(
172 REFPROPERTYKEY key,
173 const HRESULT Value) = 0;
174
175 virtual HRESULT STDMETHODCALLTYPE GetErrorValue(
176 REFPROPERTYKEY key,
177 HRESULT *pValue) = 0;
178
179 virtual HRESULT STDMETHODCALLTYPE SetKeyValue(
180 REFPROPERTYKEY key,
181 REFPROPERTYKEY Value) = 0;
182
183 virtual HRESULT STDMETHODCALLTYPE GetKeyValue(
184 REFPROPERTYKEY key,
185 PROPERTYKEY *pValue) = 0;
186
187 virtual HRESULT STDMETHODCALLTYPE SetBoolValue(
188 REFPROPERTYKEY key,
189 const WINBOOL Value) = 0;
190
191 virtual HRESULT STDMETHODCALLTYPE GetBoolValue(
192 REFPROPERTYKEY key,
193 WINBOOL *pValue) = 0;
194
195 virtual HRESULT STDMETHODCALLTYPE SetIUnknownValue(
196 REFPROPERTYKEY key,
197 IUnknown *pValue) = 0;
198
199 virtual HRESULT STDMETHODCALLTYPE GetIUnknownValue(
200 REFPROPERTYKEY key,
201 IUnknown **ppValue) = 0;
202
203 virtual HRESULT STDMETHODCALLTYPE SetGuidValue(
204 REFPROPERTYKEY key,
205 REFGUID Value) = 0;
206
207 virtual HRESULT STDMETHODCALLTYPE GetGuidValue(
208 REFPROPERTYKEY key,
209 GUID *pValue) = 0;
210
211 virtual HRESULT STDMETHODCALLTYPE SetBufferValue(
212 REFPROPERTYKEY key,
213 BYTE *pValue,
214 DWORD cbValue) = 0;
215
216 virtual HRESULT STDMETHODCALLTYPE GetBufferValue(
217 REFPROPERTYKEY key,
218 BYTE **ppValue,
219 DWORD *pcbValue) = 0;
220
221 virtual HRESULT STDMETHODCALLTYPE SetIPortableDeviceValuesValue(
222 REFPROPERTYKEY key,
223 IPortableDeviceValues *pValue) = 0;
224
225 virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceValuesValue(
226 REFPROPERTYKEY key,
227 IPortableDeviceValues **ppValue) = 0;
228
229 virtual HRESULT STDMETHODCALLTYPE SetIPortableDevicePropVariantCollectionValue(
230 REFPROPERTYKEY key,
231 IPortableDevicePropVariantCollection *pValue) = 0;
232
233 virtual HRESULT STDMETHODCALLTYPE GetIPortableDevicePropVariantCollectionValue(
234 REFPROPERTYKEY key,
235 IPortableDevicePropVariantCollection **ppValue) = 0;
236
237 virtual HRESULT STDMETHODCALLTYPE SetIPortableDeviceKeyCollectionValue(
238 REFPROPERTYKEY key,
239 IPortableDeviceKeyCollection *pValue) = 0;
240
241 virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceKeyCollectionValue(
242 REFPROPERTYKEY key,
243 IPortableDeviceKeyCollection **ppValue) = 0;
244
245 virtual HRESULT STDMETHODCALLTYPE SetIPortableDeviceValuesCollectionValue(
246 REFPROPERTYKEY key,
247 IPortableDeviceValuesCollection *pValue) = 0;
248
249 virtual HRESULT STDMETHODCALLTYPE GetIPortableDeviceValuesCollectionValue(
250 REFPROPERTYKEY key,
251 IPortableDeviceValuesCollection **ppValue) = 0;
252
253 virtual HRESULT STDMETHODCALLTYPE RemoveValue(
254 REFPROPERTYKEY key) = 0;
255
256 virtual HRESULT STDMETHODCALLTYPE CopyValuesFromPropertyStore(
257 IPropertyStore *pStore) = 0;
258
259 virtual HRESULT STDMETHODCALLTYPE CopyValuesToPropertyStore(
260 IPropertyStore *pStore) = 0;
261
262 virtual HRESULT STDMETHODCALLTYPE Clear(
263 ) = 0;
264
265};
266#ifdef __CRT_UUID_DECL
267__CRT_UUID_DECL(IPortableDeviceValues, 0x6848f6f2, 0x3155, 0x4f86, 0xb6,0xf5, 0x26,0x3e,0xee,0xab,0x31,0x43)
268#endif
269#else
270typedef struct IPortableDeviceValuesVtbl {
271 BEGIN_INTERFACE
272
273 /*** IUnknown methods ***/
274 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
275 IPortableDeviceValues *This,
276 REFIID riid,
277 void **ppvObject);
278
279 ULONG (STDMETHODCALLTYPE *AddRef)(
280 IPortableDeviceValues *This);
281
282 ULONG (STDMETHODCALLTYPE *Release)(
283 IPortableDeviceValues *This);
284
285 /*** IPortableDeviceValues methods ***/
286 HRESULT (STDMETHODCALLTYPE *GetCount)(
287 IPortableDeviceValues *This,
288 DWORD *pcelt);
289
290 HRESULT (STDMETHODCALLTYPE *GetAt)(
291 IPortableDeviceValues *This,
292 const DWORD index,
293 PROPERTYKEY *pKey,
294 PROPVARIANT *pValue);
295
296 HRESULT (STDMETHODCALLTYPE *SetValue)(
297 IPortableDeviceValues *This,
298 REFPROPERTYKEY key,
299 const PROPVARIANT *pValue);
300
301 HRESULT (STDMETHODCALLTYPE *GetValue)(
302 IPortableDeviceValues *This,
303 REFPROPERTYKEY key,
304 PROPVARIANT *pValue);
305
306 HRESULT (STDMETHODCALLTYPE *SetStringValue)(
307 IPortableDeviceValues *This,
308 REFPROPERTYKEY key,
309 LPCWSTR Value);
310
311 HRESULT (STDMETHODCALLTYPE *GetStringValue)(
312 IPortableDeviceValues *This,
313 REFPROPERTYKEY key,
314 LPWSTR *pValue);
315
316 HRESULT (STDMETHODCALLTYPE *SetUnsignedIntegerValue)(
317 IPortableDeviceValues *This,
318 REFPROPERTYKEY key,
319 const ULONG Value);
320
321 HRESULT (STDMETHODCALLTYPE *GetUnsignedIntegerValue)(
322 IPortableDeviceValues *This,
323 REFPROPERTYKEY key,
324 ULONG *pValue);
325
326 HRESULT (STDMETHODCALLTYPE *SetSignedIntegerValue)(
327 IPortableDeviceValues *This,
328 REFPROPERTYKEY key,
329 const LONG Value);
330
331 HRESULT (STDMETHODCALLTYPE *GetSignedIntegerValue)(
332 IPortableDeviceValues *This,
333 REFPROPERTYKEY key,
334 LONG *pValue);
335
336 HRESULT (STDMETHODCALLTYPE *SetUnsignedLargeIntegerValue)(
337 IPortableDeviceValues *This,
338 REFPROPERTYKEY key,
339 const ULONGLONG Value);
340
341 HRESULT (STDMETHODCALLTYPE *GetUnsignedLargeIntegerValue)(
342 IPortableDeviceValues *This,
343 REFPROPERTYKEY key,
344 ULONGLONG *pValue);
345
346 HRESULT (STDMETHODCALLTYPE *SetSignedLargeIntegerValue)(
347 IPortableDeviceValues *This,
348 REFPROPERTYKEY key,
349 const LONGLONG Value);
350
351 HRESULT (STDMETHODCALLTYPE *GetSignedLargeIntegerValue)(
352 IPortableDeviceValues *This,
353 REFPROPERTYKEY key,
354 LONGLONG *pValue);
355
356 HRESULT (STDMETHODCALLTYPE *SetFloatValue)(
357 IPortableDeviceValues *This,
358 REFPROPERTYKEY key,
359 const FLOAT Value);
360
361 HRESULT (STDMETHODCALLTYPE *GetFloatValue)(
362 IPortableDeviceValues *This,
363 REFPROPERTYKEY key,
364 FLOAT *pValue);
365
366 HRESULT (STDMETHODCALLTYPE *SetErrorValue)(
367 IPortableDeviceValues *This,
368 REFPROPERTYKEY key,
369 const HRESULT Value);
370
371 HRESULT (STDMETHODCALLTYPE *GetErrorValue)(
372 IPortableDeviceValues *This,
373 REFPROPERTYKEY key,
374 HRESULT *pValue);
375
376 HRESULT (STDMETHODCALLTYPE *SetKeyValue)(
377 IPortableDeviceValues *This,
378 REFPROPERTYKEY key,
379 REFPROPERTYKEY Value);
380
381 HRESULT (STDMETHODCALLTYPE *GetKeyValue)(
382 IPortableDeviceValues *This,
383 REFPROPERTYKEY key,
384 PROPERTYKEY *pValue);
385
386 HRESULT (STDMETHODCALLTYPE *SetBoolValue)(
387 IPortableDeviceValues *This,
388 REFPROPERTYKEY key,
389 const WINBOOL Value);
390
391 HRESULT (STDMETHODCALLTYPE *GetBoolValue)(
392 IPortableDeviceValues *This,
393 REFPROPERTYKEY key,
394 WINBOOL *pValue);
395
396 HRESULT (STDMETHODCALLTYPE *SetIUnknownValue)(
397 IPortableDeviceValues *This,
398 REFPROPERTYKEY key,
399 IUnknown *pValue);
400
401 HRESULT (STDMETHODCALLTYPE *GetIUnknownValue)(
402 IPortableDeviceValues *This,
403 REFPROPERTYKEY key,
404 IUnknown **ppValue);
405
406 HRESULT (STDMETHODCALLTYPE *SetGuidValue)(
407 IPortableDeviceValues *This,
408 REFPROPERTYKEY key,
409 REFGUID Value);
410
411 HRESULT (STDMETHODCALLTYPE *GetGuidValue)(
412 IPortableDeviceValues *This,
413 REFPROPERTYKEY key,
414 GUID *pValue);
415
416 HRESULT (STDMETHODCALLTYPE *SetBufferValue)(
417 IPortableDeviceValues *This,
418 REFPROPERTYKEY key,
419 BYTE *pValue,
420 DWORD cbValue);
421
422 HRESULT (STDMETHODCALLTYPE *GetBufferValue)(
423 IPortableDeviceValues *This,
424 REFPROPERTYKEY key,
425 BYTE **ppValue,
426 DWORD *pcbValue);
427
428 HRESULT (STDMETHODCALLTYPE *SetIPortableDeviceValuesValue)(
429 IPortableDeviceValues *This,
430 REFPROPERTYKEY key,
431 IPortableDeviceValues *pValue);
432
433 HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceValuesValue)(
434 IPortableDeviceValues *This,
435 REFPROPERTYKEY key,
436 IPortableDeviceValues **ppValue);
437
438 HRESULT (STDMETHODCALLTYPE *SetIPortableDevicePropVariantCollectionValue)(
439 IPortableDeviceValues *This,
440 REFPROPERTYKEY key,
441 IPortableDevicePropVariantCollection *pValue);
442
443 HRESULT (STDMETHODCALLTYPE *GetIPortableDevicePropVariantCollectionValue)(
444 IPortableDeviceValues *This,
445 REFPROPERTYKEY key,
446 IPortableDevicePropVariantCollection **ppValue);
447
448 HRESULT (STDMETHODCALLTYPE *SetIPortableDeviceKeyCollectionValue)(
449 IPortableDeviceValues *This,
450 REFPROPERTYKEY key,
451 IPortableDeviceKeyCollection *pValue);
452
453 HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceKeyCollectionValue)(
454 IPortableDeviceValues *This,
455 REFPROPERTYKEY key,
456 IPortableDeviceKeyCollection **ppValue);
457
458 HRESULT (STDMETHODCALLTYPE *SetIPortableDeviceValuesCollectionValue)(
459 IPortableDeviceValues *This,
460 REFPROPERTYKEY key,
461 IPortableDeviceValuesCollection *pValue);
462
463 HRESULT (STDMETHODCALLTYPE *GetIPortableDeviceValuesCollectionValue)(
464 IPortableDeviceValues *This,
465 REFPROPERTYKEY key,
466 IPortableDeviceValuesCollection **ppValue);
467
468 HRESULT (STDMETHODCALLTYPE *RemoveValue)(
469 IPortableDeviceValues *This,
470 REFPROPERTYKEY key);
471
472 HRESULT (STDMETHODCALLTYPE *CopyValuesFromPropertyStore)(
473 IPortableDeviceValues *This,
474 IPropertyStore *pStore);
475
476 HRESULT (STDMETHODCALLTYPE *CopyValuesToPropertyStore)(
477 IPortableDeviceValues *This,
478 IPropertyStore *pStore);
479
480 HRESULT (STDMETHODCALLTYPE *Clear)(
481 IPortableDeviceValues *This);
482
483 END_INTERFACE
484} IPortableDeviceValuesVtbl;
485
486interface IPortableDeviceValues {
487 CONST_VTBL IPortableDeviceValuesVtbl* lpVtbl;
488};
489
490#ifdef COBJMACROS
491#ifndef WIDL_C_INLINE_WRAPPERS
492/*** IUnknown methods ***/
493#define IPortableDeviceValues_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
494#define IPortableDeviceValues_AddRef(This) (This)->lpVtbl->AddRef(This)
495#define IPortableDeviceValues_Release(This) (This)->lpVtbl->Release(This)
496/*** IPortableDeviceValues methods ***/
497#define IPortableDeviceValues_GetCount(This,pcelt) (This)->lpVtbl->GetCount(This,pcelt)
498#define IPortableDeviceValues_GetAt(This,index,pKey,pValue) (This)->lpVtbl->GetAt(This,index,pKey,pValue)
499#define IPortableDeviceValues_SetValue(This,key,pValue) (This)->lpVtbl->SetValue(This,key,pValue)
500#define IPortableDeviceValues_GetValue(This,key,pValue) (This)->lpVtbl->GetValue(This,key,pValue)
501#define IPortableDeviceValues_SetStringValue(This,key,Value) (This)->lpVtbl->SetStringValue(This,key,Value)
502#define IPortableDeviceValues_GetStringValue(This,key,pValue) (This)->lpVtbl->GetStringValue(This,key,pValue)
503#define IPortableDeviceValues_SetUnsignedIntegerValue(This,key,Value) (This)->lpVtbl->SetUnsignedIntegerValue(This,key,Value)
504#define IPortableDeviceValues_GetUnsignedIntegerValue(This,key,pValue) (This)->lpVtbl->GetUnsignedIntegerValue(This,key,pValue)
505#define IPortableDeviceValues_SetSignedIntegerValue(This,key,Value) (This)->lpVtbl->SetSignedIntegerValue(This,key,Value)
506#define IPortableDeviceValues_GetSignedIntegerValue(This,key,pValue) (This)->lpVtbl->GetSignedIntegerValue(This,key,pValue)
507#define IPortableDeviceValues_SetUnsignedLargeIntegerValue(This,key,Value) (This)->lpVtbl->SetUnsignedLargeIntegerValue(This,key,Value)
508#define IPortableDeviceValues_GetUnsignedLargeIntegerValue(This,key,pValue) (This)->lpVtbl->GetUnsignedLargeIntegerValue(This,key,pValue)
509#define IPortableDeviceValues_SetSignedLargeIntegerValue(This,key,Value) (This)->lpVtbl->SetSignedLargeIntegerValue(This,key,Value)
510#define IPortableDeviceValues_GetSignedLargeIntegerValue(This,key,pValue) (This)->lpVtbl->GetSignedLargeIntegerValue(This,key,pValue)
511#define IPortableDeviceValues_SetFloatValue(This,key,Value) (This)->lpVtbl->SetFloatValue(This,key,Value)
512#define IPortableDeviceValues_GetFloatValue(This,key,pValue) (This)->lpVtbl->GetFloatValue(This,key,pValue)
513#define IPortableDeviceValues_SetErrorValue(This,key,Value) (This)->lpVtbl->SetErrorValue(This,key,Value)
514#define IPortableDeviceValues_GetErrorValue(This,key,pValue) (This)->lpVtbl->GetErrorValue(This,key,pValue)
515#define IPortableDeviceValues_SetKeyValue(This,key,Value) (This)->lpVtbl->SetKeyValue(This,key,Value)
516#define IPortableDeviceValues_GetKeyValue(This,key,pValue) (This)->lpVtbl->GetKeyValue(This,key,pValue)
517#define IPortableDeviceValues_SetBoolValue(This,key,Value) (This)->lpVtbl->SetBoolValue(This,key,Value)
518#define IPortableDeviceValues_GetBoolValue(This,key,pValue) (This)->lpVtbl->GetBoolValue(This,key,pValue)
519#define IPortableDeviceValues_SetIUnknownValue(This,key,pValue) (This)->lpVtbl->SetIUnknownValue(This,key,pValue)
520#define IPortableDeviceValues_GetIUnknownValue(This,key,ppValue) (This)->lpVtbl->GetIUnknownValue(This,key,ppValue)
521#define IPortableDeviceValues_SetGuidValue(This,key,Value) (This)->lpVtbl->SetGuidValue(This,key,Value)
522#define IPortableDeviceValues_GetGuidValue(This,key,pValue) (This)->lpVtbl->GetGuidValue(This,key,pValue)
523#define IPortableDeviceValues_SetBufferValue(This,key,pValue,cbValue) (This)->lpVtbl->SetBufferValue(This,key,pValue,cbValue)
524#define IPortableDeviceValues_GetBufferValue(This,key,ppValue,pcbValue) (This)->lpVtbl->GetBufferValue(This,key,ppValue,pcbValue)
525#define IPortableDeviceValues_SetIPortableDeviceValuesValue(This,key,pValue) (This)->lpVtbl->SetIPortableDeviceValuesValue(This,key,pValue)
526#define IPortableDeviceValues_GetIPortableDeviceValuesValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDeviceValuesValue(This,key,ppValue)
527#define IPortableDeviceValues_SetIPortableDevicePropVariantCollectionValue(This,key,pValue) (This)->lpVtbl->SetIPortableDevicePropVariantCollectionValue(This,key,pValue)
528#define IPortableDeviceValues_GetIPortableDevicePropVariantCollectionValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDevicePropVariantCollectionValue(This,key,ppValue)
529#define IPortableDeviceValues_SetIPortableDeviceKeyCollectionValue(This,key,pValue) (This)->lpVtbl->SetIPortableDeviceKeyCollectionValue(This,key,pValue)
530#define IPortableDeviceValues_GetIPortableDeviceKeyCollectionValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDeviceKeyCollectionValue(This,key,ppValue)
531#define IPortableDeviceValues_SetIPortableDeviceValuesCollectionValue(This,key,pValue) (This)->lpVtbl->SetIPortableDeviceValuesCollectionValue(This,key,pValue)
532#define IPortableDeviceValues_GetIPortableDeviceValuesCollectionValue(This,key,ppValue) (This)->lpVtbl->GetIPortableDeviceValuesCollectionValue(This,key,ppValue)
533#define IPortableDeviceValues_RemoveValue(This,key) (This)->lpVtbl->RemoveValue(This,key)
534#define IPortableDeviceValues_CopyValuesFromPropertyStore(This,pStore) (This)->lpVtbl->CopyValuesFromPropertyStore(This,pStore)
535#define IPortableDeviceValues_CopyValuesToPropertyStore(This,pStore) (This)->lpVtbl->CopyValuesToPropertyStore(This,pStore)
536#define IPortableDeviceValues_Clear(This) (This)->lpVtbl->Clear(This)
537#else
538/*** IUnknown methods ***/
539static FORCEINLINE HRESULT IPortableDeviceValues_QueryInterface(IPortableDeviceValues* This,REFIID riid,void **ppvObject) {
540 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
541}
542static FORCEINLINE ULONG IPortableDeviceValues_AddRef(IPortableDeviceValues* This) {
543 return This->lpVtbl->AddRef(This);
544}
545static FORCEINLINE ULONG IPortableDeviceValues_Release(IPortableDeviceValues* This) {
546 return This->lpVtbl->Release(This);
547}
548/*** IPortableDeviceValues methods ***/
549static FORCEINLINE HRESULT IPortableDeviceValues_GetCount(IPortableDeviceValues* This,DWORD *pcelt) {
550 return This->lpVtbl->GetCount(This,pcelt);
551}
552static FORCEINLINE HRESULT IPortableDeviceValues_GetAt(IPortableDeviceValues* This,const DWORD index,PROPERTYKEY *pKey,PROPVARIANT *pValue) {
553 return This->lpVtbl->GetAt(This,index,pKey,pValue);
554}
555static FORCEINLINE HRESULT IPortableDeviceValues_SetValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const PROPVARIANT *pValue) {
556 return This->lpVtbl->SetValue(This,key,pValue);
557}
558static FORCEINLINE HRESULT IPortableDeviceValues_GetValue(IPortableDeviceValues* This,REFPROPERTYKEY key,PROPVARIANT *pValue) {
559 return This->lpVtbl->GetValue(This,key,pValue);
560}
561static FORCEINLINE HRESULT IPortableDeviceValues_SetStringValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LPCWSTR Value) {
562 return This->lpVtbl->SetStringValue(This,key,Value);
563}
564static FORCEINLINE HRESULT IPortableDeviceValues_GetStringValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LPWSTR *pValue) {
565 return This->lpVtbl->GetStringValue(This,key,pValue);
566}
567static FORCEINLINE HRESULT IPortableDeviceValues_SetUnsignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const ULONG Value) {
568 return This->lpVtbl->SetUnsignedIntegerValue(This,key,Value);
569}
570static FORCEINLINE HRESULT IPortableDeviceValues_GetUnsignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,ULONG *pValue) {
571 return This->lpVtbl->GetUnsignedIntegerValue(This,key,pValue);
572}
573static FORCEINLINE HRESULT IPortableDeviceValues_SetSignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const LONG Value) {
574 return This->lpVtbl->SetSignedIntegerValue(This,key,Value);
575}
576static FORCEINLINE HRESULT IPortableDeviceValues_GetSignedIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LONG *pValue) {
577 return This->lpVtbl->GetSignedIntegerValue(This,key,pValue);
578}
579static FORCEINLINE HRESULT IPortableDeviceValues_SetUnsignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const ULONGLONG Value) {
580 return This->lpVtbl->SetUnsignedLargeIntegerValue(This,key,Value);
581}
582static FORCEINLINE HRESULT IPortableDeviceValues_GetUnsignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,ULONGLONG *pValue) {
583 return This->lpVtbl->GetUnsignedLargeIntegerValue(This,key,pValue);
584}
585static FORCEINLINE HRESULT IPortableDeviceValues_SetSignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const LONGLONG Value) {
586 return This->lpVtbl->SetSignedLargeIntegerValue(This,key,Value);
587}
588static FORCEINLINE HRESULT IPortableDeviceValues_GetSignedLargeIntegerValue(IPortableDeviceValues* This,REFPROPERTYKEY key,LONGLONG *pValue) {
589 return This->lpVtbl->GetSignedLargeIntegerValue(This,key,pValue);
590}
591static FORCEINLINE HRESULT IPortableDeviceValues_SetFloatValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const FLOAT Value) {
592 return This->lpVtbl->SetFloatValue(This,key,Value);
593}
594static FORCEINLINE HRESULT IPortableDeviceValues_GetFloatValue(IPortableDeviceValues* This,REFPROPERTYKEY key,FLOAT *pValue) {
595 return This->lpVtbl->GetFloatValue(This,key,pValue);
596}
597static FORCEINLINE HRESULT IPortableDeviceValues_SetErrorValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const HRESULT Value) {
598 return This->lpVtbl->SetErrorValue(This,key,Value);
599}
600static FORCEINLINE HRESULT IPortableDeviceValues_GetErrorValue(IPortableDeviceValues* This,REFPROPERTYKEY key,HRESULT *pValue) {
601 return This->lpVtbl->GetErrorValue(This,key,pValue);
602}
603static FORCEINLINE HRESULT IPortableDeviceValues_SetKeyValue(IPortableDeviceValues* This,REFPROPERTYKEY key,REFPROPERTYKEY Value) {
604 return This->lpVtbl->SetKeyValue(This,key,Value);
605}
606static FORCEINLINE HRESULT IPortableDeviceValues_GetKeyValue(IPortableDeviceValues* This,REFPROPERTYKEY key,PROPERTYKEY *pValue) {
607 return This->lpVtbl->GetKeyValue(This,key,pValue);
608}
609static FORCEINLINE HRESULT IPortableDeviceValues_SetBoolValue(IPortableDeviceValues* This,REFPROPERTYKEY key,const WINBOOL Value) {
610 return This->lpVtbl->SetBoolValue(This,key,Value);
611}
612static FORCEINLINE HRESULT IPortableDeviceValues_GetBoolValue(IPortableDeviceValues* This,REFPROPERTYKEY key,WINBOOL *pValue) {
613 return This->lpVtbl->GetBoolValue(This,key,pValue);
614}
615static FORCEINLINE HRESULT IPortableDeviceValues_SetIUnknownValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IUnknown *pValue) {
616 return This->lpVtbl->SetIUnknownValue(This,key,pValue);
617}
618static FORCEINLINE HRESULT IPortableDeviceValues_GetIUnknownValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IUnknown **ppValue) {
619 return This->lpVtbl->GetIUnknownValue(This,key,ppValue);
620}
621static FORCEINLINE HRESULT IPortableDeviceValues_SetGuidValue(IPortableDeviceValues* This,REFPROPERTYKEY key,REFGUID Value) {
622 return This->lpVtbl->SetGuidValue(This,key,Value);
623}
624static FORCEINLINE HRESULT IPortableDeviceValues_GetGuidValue(IPortableDeviceValues* This,REFPROPERTYKEY key,GUID *pValue) {
625 return This->lpVtbl->GetGuidValue(This,key,pValue);
626}
627static FORCEINLINE HRESULT IPortableDeviceValues_SetBufferValue(IPortableDeviceValues* This,REFPROPERTYKEY key,BYTE *pValue,DWORD cbValue) {
628 return This->lpVtbl->SetBufferValue(This,key,pValue,cbValue);
629}
630static FORCEINLINE HRESULT IPortableDeviceValues_GetBufferValue(IPortableDeviceValues* This,REFPROPERTYKEY key,BYTE **ppValue,DWORD *pcbValue) {
631 return This->lpVtbl->GetBufferValue(This,key,ppValue,pcbValue);
632}
633static FORCEINLINE HRESULT IPortableDeviceValues_SetIPortableDeviceValuesValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValues *pValue) {
634 return This->lpVtbl->SetIPortableDeviceValuesValue(This,key,pValue);
635}
636static FORCEINLINE HRESULT IPortableDeviceValues_GetIPortableDeviceValuesValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValues **ppValue) {
637 return This->lpVtbl->GetIPortableDeviceValuesValue(This,key,ppValue);
638}
639static FORCEINLINE HRESULT IPortableDeviceValues_SetIPortableDevicePropVariantCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDevicePropVariantCollection *pValue) {
640 return This->lpVtbl->SetIPortableDevicePropVariantCollectionValue(This,key,pValue);
641}
642static FORCEINLINE HRESULT IPortableDeviceValues_GetIPortableDevicePropVariantCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDevicePropVariantCollection **ppValue) {
643 return This->lpVtbl->GetIPortableDevicePropVariantCollectionValue(This,key,ppValue);
644}
645static FORCEINLINE HRESULT IPortableDeviceValues_SetIPortableDeviceKeyCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceKeyCollection *pValue) {
646 return This->lpVtbl->SetIPortableDeviceKeyCollectionValue(This,key,pValue);
647}
648static FORCEINLINE HRESULT IPortableDeviceValues_GetIPortableDeviceKeyCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceKeyCollection **ppValue) {
649 return This->lpVtbl->GetIPortableDeviceKeyCollectionValue(This,key,ppValue);
650}
651static FORCEINLINE HRESULT IPortableDeviceValues_SetIPortableDeviceValuesCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValuesCollection *pValue) {
652 return This->lpVtbl->SetIPortableDeviceValuesCollectionValue(This,key,pValue);
653}
654static FORCEINLINE HRESULT IPortableDeviceValues_GetIPortableDeviceValuesCollectionValue(IPortableDeviceValues* This,REFPROPERTYKEY key,IPortableDeviceValuesCollection **ppValue) {
655 return This->lpVtbl->GetIPortableDeviceValuesCollectionValue(This,key,ppValue);
656}
657static FORCEINLINE HRESULT IPortableDeviceValues_RemoveValue(IPortableDeviceValues* This,REFPROPERTYKEY key) {
658 return This->lpVtbl->RemoveValue(This,key);
659}
660static FORCEINLINE HRESULT IPortableDeviceValues_CopyValuesFromPropertyStore(IPortableDeviceValues* This,IPropertyStore *pStore) {
661 return This->lpVtbl->CopyValuesFromPropertyStore(This,pStore);
662}
663static FORCEINLINE HRESULT IPortableDeviceValues_CopyValuesToPropertyStore(IPortableDeviceValues* This,IPropertyStore *pStore) {
664 return This->lpVtbl->CopyValuesToPropertyStore(This,pStore);
665}
666static FORCEINLINE HRESULT IPortableDeviceValues_Clear(IPortableDeviceValues* This) {
667 return This->lpVtbl->Clear(This);
668}
669#endif
670#endif
671
672#endif
673
674
675#endif /* __IPortableDeviceValues_INTERFACE_DEFINED__ */
676
677/*****************************************************************************
678 * IPortableDeviceKeyCollection interface
679 */
680#ifndef __IPortableDeviceKeyCollection_INTERFACE_DEFINED__
681#define __IPortableDeviceKeyCollection_INTERFACE_DEFINED__
682
683DEFINE_GUID(IID_IPortableDeviceKeyCollection, 0xdada2357, 0xe0ad, 0x492e, 0x98,0xdb, 0xdd,0x61,0xc5,0x3b,0xa3,0x53);
684#if defined(__cplusplus) && !defined(CINTERFACE)
685MIDL_INTERFACE("dada2357-e0ad-492e-98db-dd61c53ba353")
686IPortableDeviceKeyCollection : public IUnknown
687{
688 virtual HRESULT STDMETHODCALLTYPE GetCount(
689 DWORD *pcElems) = 0;
690
691 virtual HRESULT STDMETHODCALLTYPE GetAt(
692 const DWORD dwIndex,
693 PROPERTYKEY *pKey) = 0;
694
695 virtual HRESULT STDMETHODCALLTYPE Add(
696 REFPROPERTYKEY Key) = 0;
697
698 virtual HRESULT STDMETHODCALLTYPE Clear(
699 ) = 0;
700
701 virtual HRESULT STDMETHODCALLTYPE RemoveAt(
702 const DWORD dwIndex) = 0;
703
704};
705#ifdef __CRT_UUID_DECL
706__CRT_UUID_DECL(IPortableDeviceKeyCollection, 0xdada2357, 0xe0ad, 0x492e, 0x98,0xdb, 0xdd,0x61,0xc5,0x3b,0xa3,0x53)
707#endif
708#else
709typedef struct IPortableDeviceKeyCollectionVtbl {
710 BEGIN_INTERFACE
711
712 /*** IUnknown methods ***/
713 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
714 IPortableDeviceKeyCollection *This,
715 REFIID riid,
716 void **ppvObject);
717
718 ULONG (STDMETHODCALLTYPE *AddRef)(
719 IPortableDeviceKeyCollection *This);
720
721 ULONG (STDMETHODCALLTYPE *Release)(
722 IPortableDeviceKeyCollection *This);
723
724 /*** IPortableDeviceKeyCollection methods ***/
725 HRESULT (STDMETHODCALLTYPE *GetCount)(
726 IPortableDeviceKeyCollection *This,
727 DWORD *pcElems);
728
729 HRESULT (STDMETHODCALLTYPE *GetAt)(
730 IPortableDeviceKeyCollection *This,
731 const DWORD dwIndex,
732 PROPERTYKEY *pKey);
733
734 HRESULT (STDMETHODCALLTYPE *Add)(
735 IPortableDeviceKeyCollection *This,
736 REFPROPERTYKEY Key);
737
738 HRESULT (STDMETHODCALLTYPE *Clear)(
739 IPortableDeviceKeyCollection *This);
740
741 HRESULT (STDMETHODCALLTYPE *RemoveAt)(
742 IPortableDeviceKeyCollection *This,
743 const DWORD dwIndex);
744
745 END_INTERFACE
746} IPortableDeviceKeyCollectionVtbl;
747
748interface IPortableDeviceKeyCollection {
749 CONST_VTBL IPortableDeviceKeyCollectionVtbl* lpVtbl;
750};
751
752#ifdef COBJMACROS
753#ifndef WIDL_C_INLINE_WRAPPERS
754/*** IUnknown methods ***/
755#define IPortableDeviceKeyCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
756#define IPortableDeviceKeyCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
757#define IPortableDeviceKeyCollection_Release(This) (This)->lpVtbl->Release(This)
758/*** IPortableDeviceKeyCollection methods ***/
759#define IPortableDeviceKeyCollection_GetCount(This,pcElems) (This)->lpVtbl->GetCount(This,pcElems)
760#define IPortableDeviceKeyCollection_GetAt(This,dwIndex,pKey) (This)->lpVtbl->GetAt(This,dwIndex,pKey)
761#define IPortableDeviceKeyCollection_Add(This,Key) (This)->lpVtbl->Add(This,Key)
762#define IPortableDeviceKeyCollection_Clear(This) (This)->lpVtbl->Clear(This)
763#define IPortableDeviceKeyCollection_RemoveAt(This,dwIndex) (This)->lpVtbl->RemoveAt(This,dwIndex)
764#else
765/*** IUnknown methods ***/
766static FORCEINLINE HRESULT IPortableDeviceKeyCollection_QueryInterface(IPortableDeviceKeyCollection* This,REFIID riid,void **ppvObject) {
767 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
768}
769static FORCEINLINE ULONG IPortableDeviceKeyCollection_AddRef(IPortableDeviceKeyCollection* This) {
770 return This->lpVtbl->AddRef(This);
771}
772static FORCEINLINE ULONG IPortableDeviceKeyCollection_Release(IPortableDeviceKeyCollection* This) {
773 return This->lpVtbl->Release(This);
774}
775/*** IPortableDeviceKeyCollection methods ***/
776static FORCEINLINE HRESULT IPortableDeviceKeyCollection_GetCount(IPortableDeviceKeyCollection* This,DWORD *pcElems) {
777 return This->lpVtbl->GetCount(This,pcElems);
778}
779static FORCEINLINE HRESULT IPortableDeviceKeyCollection_GetAt(IPortableDeviceKeyCollection* This,const DWORD dwIndex,PROPERTYKEY *pKey) {
780 return This->lpVtbl->GetAt(This,dwIndex,pKey);
781}
782static FORCEINLINE HRESULT IPortableDeviceKeyCollection_Add(IPortableDeviceKeyCollection* This,REFPROPERTYKEY Key) {
783 return This->lpVtbl->Add(This,Key);
784}
785static FORCEINLINE HRESULT IPortableDeviceKeyCollection_Clear(IPortableDeviceKeyCollection* This) {
786 return This->lpVtbl->Clear(This);
787}
788static FORCEINLINE HRESULT IPortableDeviceKeyCollection_RemoveAt(IPortableDeviceKeyCollection* This,const DWORD dwIndex) {
789 return This->lpVtbl->RemoveAt(This,dwIndex);
790}
791#endif
792#endif
793
794#endif
795
796
797#endif /* __IPortableDeviceKeyCollection_INTERFACE_DEFINED__ */
798
799/*****************************************************************************
800 * IPortableDevicePropVariantCollection interface
801 */
802#ifndef __IPortableDevicePropVariantCollection_INTERFACE_DEFINED__
803#define __IPortableDevicePropVariantCollection_INTERFACE_DEFINED__
804
805DEFINE_GUID(IID_IPortableDevicePropVariantCollection, 0x89b2e422, 0x4f1b, 0x4316, 0xbc,0xef, 0xa4,0x4a,0xfe,0xa8,0x3e,0xb3);
806#if defined(__cplusplus) && !defined(CINTERFACE)
807MIDL_INTERFACE("89b2e422-4f1b-4316-bcef-a44afea83eb3")
808IPortableDevicePropVariantCollection : public IUnknown
809{
810 virtual HRESULT STDMETHODCALLTYPE GetCount(
811 DWORD *pcElems) = 0;
812
813 virtual HRESULT STDMETHODCALLTYPE GetAt(
814 const DWORD dwIndex,
815 PROPVARIANT *pValue) = 0;
816
817 virtual HRESULT STDMETHODCALLTYPE Add(
818 const PROPVARIANT *pValue) = 0;
819
820 virtual HRESULT STDMETHODCALLTYPE GetType(
821 VARTYPE *pvt) = 0;
822
823 virtual HRESULT STDMETHODCALLTYPE ChangeType(
824 const VARTYPE vt) = 0;
825
826 virtual HRESULT STDMETHODCALLTYPE Clear(
827 ) = 0;
828
829 virtual HRESULT STDMETHODCALLTYPE RemoveAt(
830 const DWORD dwIndex) = 0;
831
832};
833#ifdef __CRT_UUID_DECL
834__CRT_UUID_DECL(IPortableDevicePropVariantCollection, 0x89b2e422, 0x4f1b, 0x4316, 0xbc,0xef, 0xa4,0x4a,0xfe,0xa8,0x3e,0xb3)
835#endif
836#else
837typedef struct IPortableDevicePropVariantCollectionVtbl {
838 BEGIN_INTERFACE
839
840 /*** IUnknown methods ***/
841 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
842 IPortableDevicePropVariantCollection *This,
843 REFIID riid,
844 void **ppvObject);
845
846 ULONG (STDMETHODCALLTYPE *AddRef)(
847 IPortableDevicePropVariantCollection *This);
848
849 ULONG (STDMETHODCALLTYPE *Release)(
850 IPortableDevicePropVariantCollection *This);
851
852 /*** IPortableDevicePropVariantCollection methods ***/
853 HRESULT (STDMETHODCALLTYPE *GetCount)(
854 IPortableDevicePropVariantCollection *This,
855 DWORD *pcElems);
856
857 HRESULT (STDMETHODCALLTYPE *GetAt)(
858 IPortableDevicePropVariantCollection *This,
859 const DWORD dwIndex,
860 PROPVARIANT *pValue);
861
862 HRESULT (STDMETHODCALLTYPE *Add)(
863 IPortableDevicePropVariantCollection *This,
864 const PROPVARIANT *pValue);
865
866 HRESULT (STDMETHODCALLTYPE *GetType)(
867 IPortableDevicePropVariantCollection *This,
868 VARTYPE *pvt);
869
870 HRESULT (STDMETHODCALLTYPE *ChangeType)(
871 IPortableDevicePropVariantCollection *This,
872 const VARTYPE vt);
873
874 HRESULT (STDMETHODCALLTYPE *Clear)(
875 IPortableDevicePropVariantCollection *This);
876
877 HRESULT (STDMETHODCALLTYPE *RemoveAt)(
878 IPortableDevicePropVariantCollection *This,
879 const DWORD dwIndex);
880
881 END_INTERFACE
882} IPortableDevicePropVariantCollectionVtbl;
883
884interface IPortableDevicePropVariantCollection {
885 CONST_VTBL IPortableDevicePropVariantCollectionVtbl* lpVtbl;
886};
887
888#ifdef COBJMACROS
889#ifndef WIDL_C_INLINE_WRAPPERS
890/*** IUnknown methods ***/
891#define IPortableDevicePropVariantCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
892#define IPortableDevicePropVariantCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
893#define IPortableDevicePropVariantCollection_Release(This) (This)->lpVtbl->Release(This)
894/*** IPortableDevicePropVariantCollection methods ***/
895#define IPortableDevicePropVariantCollection_GetCount(This,pcElems) (This)->lpVtbl->GetCount(This,pcElems)
896#define IPortableDevicePropVariantCollection_GetAt(This,dwIndex,pValue) (This)->lpVtbl->GetAt(This,dwIndex,pValue)
897#define IPortableDevicePropVariantCollection_Add(This,pValue) (This)->lpVtbl->Add(This,pValue)
898#define IPortableDevicePropVariantCollection_GetType(This,pvt) (This)->lpVtbl->GetType(This,pvt)
899#define IPortableDevicePropVariantCollection_ChangeType(This,vt) (This)->lpVtbl->ChangeType(This,vt)
900#define IPortableDevicePropVariantCollection_Clear(This) (This)->lpVtbl->Clear(This)
901#define IPortableDevicePropVariantCollection_RemoveAt(This,dwIndex) (This)->lpVtbl->RemoveAt(This,dwIndex)
902#else
903/*** IUnknown methods ***/
904static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_QueryInterface(IPortableDevicePropVariantCollection* This,REFIID riid,void **ppvObject) {
905 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
906}
907static FORCEINLINE ULONG IPortableDevicePropVariantCollection_AddRef(IPortableDevicePropVariantCollection* This) {
908 return This->lpVtbl->AddRef(This);
909}
910static FORCEINLINE ULONG IPortableDevicePropVariantCollection_Release(IPortableDevicePropVariantCollection* This) {
911 return This->lpVtbl->Release(This);
912}
913/*** IPortableDevicePropVariantCollection methods ***/
914static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_GetCount(IPortableDevicePropVariantCollection* This,DWORD *pcElems) {
915 return This->lpVtbl->GetCount(This,pcElems);
916}
917static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_GetAt(IPortableDevicePropVariantCollection* This,const DWORD dwIndex,PROPVARIANT *pValue) {
918 return This->lpVtbl->GetAt(This,dwIndex,pValue);
919}
920static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_Add(IPortableDevicePropVariantCollection* This,const PROPVARIANT *pValue) {
921 return This->lpVtbl->Add(This,pValue);
922}
923static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_GetType(IPortableDevicePropVariantCollection* This,VARTYPE *pvt) {
924 return This->lpVtbl->GetType(This,pvt);
925}
926static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_ChangeType(IPortableDevicePropVariantCollection* This,const VARTYPE vt) {
927 return This->lpVtbl->ChangeType(This,vt);
928}
929static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_Clear(IPortableDevicePropVariantCollection* This) {
930 return This->lpVtbl->Clear(This);
931}
932static FORCEINLINE HRESULT IPortableDevicePropVariantCollection_RemoveAt(IPortableDevicePropVariantCollection* This,const DWORD dwIndex) {
933 return This->lpVtbl->RemoveAt(This,dwIndex);
934}
935#endif
936#endif
937
938#endif
939
940
941#endif /* __IPortableDevicePropVariantCollection_INTERFACE_DEFINED__ */
942
943/*****************************************************************************
944 * IPortableDeviceValuesCollection interface
945 */
946#ifndef __IPortableDeviceValuesCollection_INTERFACE_DEFINED__
947#define __IPortableDeviceValuesCollection_INTERFACE_DEFINED__
948
949DEFINE_GUID(IID_IPortableDeviceValuesCollection, 0x6e3f2d79, 0x4e07, 0x48c4, 0x82,0x08, 0xd8,0xc2,0xe5,0xaf,0x4a,0x99);
950#if defined(__cplusplus) && !defined(CINTERFACE)
951MIDL_INTERFACE("6e3f2d79-4e07-48c4-8208-d8c2e5af4a99")
952IPortableDeviceValuesCollection : public IUnknown
953{
954 virtual HRESULT STDMETHODCALLTYPE GetCount(
955 DWORD *pcElems) = 0;
956
957 virtual HRESULT STDMETHODCALLTYPE GetAt(
958 DWORD dwIndex,
959 IPortableDeviceValues **ppValues) = 0;
960
961 virtual HRESULT STDMETHODCALLTYPE Add(
962 IPortableDeviceValues *pValues) = 0;
963
964 virtual HRESULT STDMETHODCALLTYPE Clear(
965 ) = 0;
966
967 virtual HRESULT STDMETHODCALLTYPE RemoveAt(
968 const DWORD dwIndex) = 0;
969
970};
971#ifdef __CRT_UUID_DECL
972__CRT_UUID_DECL(IPortableDeviceValuesCollection, 0x6e3f2d79, 0x4e07, 0x48c4, 0x82,0x08, 0xd8,0xc2,0xe5,0xaf,0x4a,0x99)
973#endif
974#else
975typedef struct IPortableDeviceValuesCollectionVtbl {
976 BEGIN_INTERFACE
977
978 /*** IUnknown methods ***/
979 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
980 IPortableDeviceValuesCollection *This,
981 REFIID riid,
982 void **ppvObject);
983
984 ULONG (STDMETHODCALLTYPE *AddRef)(
985 IPortableDeviceValuesCollection *This);
986
987 ULONG (STDMETHODCALLTYPE *Release)(
988 IPortableDeviceValuesCollection *This);
989
990 /*** IPortableDeviceValuesCollection methods ***/
991 HRESULT (STDMETHODCALLTYPE *GetCount)(
992 IPortableDeviceValuesCollection *This,
993 DWORD *pcElems);
994
995 HRESULT (STDMETHODCALLTYPE *GetAt)(
996 IPortableDeviceValuesCollection *This,
997 DWORD dwIndex,
998 IPortableDeviceValues **ppValues);
999
1000 HRESULT (STDMETHODCALLTYPE *Add)(
1001 IPortableDeviceValuesCollection *This,
1002 IPortableDeviceValues *pValues);
1003
1004 HRESULT (STDMETHODCALLTYPE *Clear)(
1005 IPortableDeviceValuesCollection *This);
1006
1007 HRESULT (STDMETHODCALLTYPE *RemoveAt)(
1008 IPortableDeviceValuesCollection *This,
1009 const DWORD dwIndex);
1010
1011 END_INTERFACE
1012} IPortableDeviceValuesCollectionVtbl;
1013
1014interface IPortableDeviceValuesCollection {
1015 CONST_VTBL IPortableDeviceValuesCollectionVtbl* lpVtbl;
1016};
1017
1018#ifdef COBJMACROS
1019#ifndef WIDL_C_INLINE_WRAPPERS
1020/*** IUnknown methods ***/
1021#define IPortableDeviceValuesCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1022#define IPortableDeviceValuesCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
1023#define IPortableDeviceValuesCollection_Release(This) (This)->lpVtbl->Release(This)
1024/*** IPortableDeviceValuesCollection methods ***/
1025#define IPortableDeviceValuesCollection_GetCount(This,pcElems) (This)->lpVtbl->GetCount(This,pcElems)
1026#define IPortableDeviceValuesCollection_GetAt(This,dwIndex,ppValues) (This)->lpVtbl->GetAt(This,dwIndex,ppValues)
1027#define IPortableDeviceValuesCollection_Add(This,pValues) (This)->lpVtbl->Add(This,pValues)
1028#define IPortableDeviceValuesCollection_Clear(This) (This)->lpVtbl->Clear(This)
1029#define IPortableDeviceValuesCollection_RemoveAt(This,dwIndex) (This)->lpVtbl->RemoveAt(This,dwIndex)
1030#else
1031/*** IUnknown methods ***/
1032static FORCEINLINE HRESULT IPortableDeviceValuesCollection_QueryInterface(IPortableDeviceValuesCollection* This,REFIID riid,void **ppvObject) {
1033 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1034}
1035static FORCEINLINE ULONG IPortableDeviceValuesCollection_AddRef(IPortableDeviceValuesCollection* This) {
1036 return This->lpVtbl->AddRef(This);
1037}
1038static FORCEINLINE ULONG IPortableDeviceValuesCollection_Release(IPortableDeviceValuesCollection* This) {
1039 return This->lpVtbl->Release(This);
1040}
1041/*** IPortableDeviceValuesCollection methods ***/
1042static FORCEINLINE HRESULT IPortableDeviceValuesCollection_GetCount(IPortableDeviceValuesCollection* This,DWORD *pcElems) {
1043 return This->lpVtbl->GetCount(This,pcElems);
1044}
1045static FORCEINLINE HRESULT IPortableDeviceValuesCollection_GetAt(IPortableDeviceValuesCollection* This,DWORD dwIndex,IPortableDeviceValues **ppValues) {
1046 return This->lpVtbl->GetAt(This,dwIndex,ppValues);
1047}
1048static FORCEINLINE HRESULT IPortableDeviceValuesCollection_Add(IPortableDeviceValuesCollection* This,IPortableDeviceValues *pValues) {
1049 return This->lpVtbl->Add(This,pValues);
1050}
1051static FORCEINLINE HRESULT IPortableDeviceValuesCollection_Clear(IPortableDeviceValuesCollection* This) {
1052 return This->lpVtbl->Clear(This);
1053}
1054static FORCEINLINE HRESULT IPortableDeviceValuesCollection_RemoveAt(IPortableDeviceValuesCollection* This,const DWORD dwIndex) {
1055 return This->lpVtbl->RemoveAt(This,dwIndex);
1056}
1057#endif
1058#endif
1059
1060#endif
1061
1062
1063#endif /* __IPortableDeviceValuesCollection_INTERFACE_DEFINED__ */
1064
1065#ifndef __PortableDeviceTypesLib_LIBRARY_DEFINED__
1066#define __PortableDeviceTypesLib_LIBRARY_DEFINED__
1067
1068DEFINE_GUID(LIBID_PortableDeviceTypesLib, 0x2b00ba2f, 0xe750, 0x4beb, 0x92,0x35, 0x97,0x14,0x2e,0xde,0x1d,0x3e);
1069
1070/*****************************************************************************
1071 * PortableDeviceValues coclass
1072 */
1073
1074DEFINE_GUID(CLSID_PortableDeviceValues, 0x0c15d503, 0xd017, 0x47ce, 0x90,0x16, 0x7b,0x3f,0x97,0x87,0x21,0xcc);
1075
1076#ifdef __cplusplus
1077class DECLSPEC_UUID("0c15d503-d017-47ce-9016-7b3f978721cc") PortableDeviceValues;
1078#ifdef __CRT_UUID_DECL
1079__CRT_UUID_DECL(PortableDeviceValues, 0x0c15d503, 0xd017, 0x47ce, 0x90,0x16, 0x7b,0x3f,0x97,0x87,0x21,0xcc)
1080#endif
1081#endif
1082
1083#endif /* __PortableDeviceTypesLib_LIBRARY_DEFINED__ */
1084/* Begin additional prototypes for all interfaces */
1085
1086ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
1087unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
1088unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
1089void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
1090ULONG __RPC_USER LPSAFEARRAY_UserSize (ULONG *, ULONG, LPSAFEARRAY *);
1091unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal (ULONG *, unsigned char *, LPSAFEARRAY *);
1092unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
1093void __RPC_USER LPSAFEARRAY_UserFree (ULONG *, LPSAFEARRAY *);
1094
1095/* End additional prototypes */
1096
1097#ifdef __cplusplus
1098}
1099#endif
1100
1101#endif /* __portabledevicetypes_h__ */
Note: See TracBrowser for help on using the repository browser.