• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*** Autogenerated by WIDL 1.6 from include/windows.storage.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 __windows_storage_h__
16 #define __windows_storage_h__
17 
18 /* Forward declarations */
19 
20 #ifndef __IStorageItem_FWD_DEFINED__
21 #define __IStorageItem_FWD_DEFINED__
22 typedef interface IStorageItem IStorageItem;
23 #endif
24 
25 #ifndef __IKnownFoldersStatics_FWD_DEFINED__
26 #define __IKnownFoldersStatics_FWD_DEFINED__
27 typedef interface IKnownFoldersStatics IKnownFoldersStatics;
28 #endif
29 
30 #ifndef __IStorageFolder_FWD_DEFINED__
31 #define __IStorageFolder_FWD_DEFINED__
32 typedef interface IStorageFolder IStorageFolder;
33 #endif
34 
35 #ifndef __IApplicationDataContainer_FWD_DEFINED__
36 #define __IApplicationDataContainer_FWD_DEFINED__
37 typedef interface IApplicationDataContainer IApplicationDataContainer;
38 #endif
39 
40 #ifndef __IApplicationData_FWD_DEFINED__
41 #define __IApplicationData_FWD_DEFINED__
42 typedef interface IApplicationData IApplicationData;
43 #endif
44 
45 #ifndef __IApplicationDataStatics_FWD_DEFINED__
46 #define __IApplicationDataStatics_FWD_DEFINED__
47 typedef interface IApplicationDataStatics IApplicationDataStatics;
48 #endif
49 
50 #ifndef __ApplicationDataSetVersionHandler_FWD_DEFINED__
51 #define __ApplicationDataSetVersionHandler_FWD_DEFINED__
52 typedef interface ApplicationDataSetVersionHandler ApplicationDataSetVersionHandler;
53 #endif
54 
55 #ifndef __ISetVersionRequest_FWD_DEFINED__
56 #define __ISetVersionRequest_FWD_DEFINED__
57 typedef interface ISetVersionRequest ISetVersionRequest;
58 #endif
59 
60 #ifndef __ISetVersionDeferral_FWD_DEFINED__
61 #define __ISetVersionDeferral_FWD_DEFINED__
62 typedef interface ISetVersionDeferral ISetVersionDeferral;
63 #endif
64 
65 /* Headers for imported files */
66 
67 #include <inspectable.h>
68 #include <hstring.h>
69 #include <windows.foundation.h>
70 
71 #ifdef __cplusplus
72 extern "C" {
73 #endif
74 
75 #ifndef __IAsyncAction_FWD_DEFINED__
76 #define __IAsyncAction_FWD_DEFINED__
77 typedef interface IAsyncAction IAsyncAction;
78 #endif
79 
80 #ifndef __TypedEventHandler_FWD_DEFINED__
81 #define __TypedEventHandler_FWD_DEFINED__
82 typedef interface TypedEventHandler TypedEventHandler;
83 #endif
84 
85 #ifndef __IPropertySet_FWD_DEFINED__
86 #define __IPropertySet_FWD_DEFINED__
87 typedef interface IPropertySet IPropertySet;
88 #endif
89 
90 #ifndef __IMapView_FWD_DEFINED__
91 #define __IMapView_FWD_DEFINED__
92 typedef interface IMapView IMapView;
93 #endif
94 
95 #ifndef __IStorageItem_FWD_DEFINED__
96 #define __IStorageItem_FWD_DEFINED__
97 typedef interface IStorageItem IStorageItem;
98 #endif
99 
100 #ifndef __IStorageFolder_FWD_DEFINED__
101 #define __IStorageFolder_FWD_DEFINED__
102 typedef interface IStorageFolder IStorageFolder;
103 #endif
104 
105 #ifndef __IApplicationData_FWD_DEFINED__
106 #define __IApplicationData_FWD_DEFINED__
107 typedef interface IApplicationData IApplicationData;
108 #endif
109 
110 #ifndef __IApplicationDataStatics_FWD_DEFINED__
111 #define __IApplicationDataStatics_FWD_DEFINED__
112 typedef interface IApplicationDataStatics IApplicationDataStatics;
113 #endif
114 
115 #ifndef __IApplicationDataSetVersionHandler_FWD_DEFINED__
116 #define __IApplicationDataSetVersionHandler_FWD_DEFINED__
117 typedef interface IApplicationDataSetVersionHandler IApplicationDataSetVersionHandler;
118 #endif
119 
120 #ifndef __ApplicationDataContainer_FWD_DEFINED__
121 #define __ApplicationDataContainer_FWD_DEFINED__
122 typedef interface ApplicationDataContainer ApplicationDataContainer;
123 #endif
124 
125 #ifndef __ApplicationDataSetVersionHandler_FWD_DEFINED__
126 #define __ApplicationDataSetVersionHandler_FWD_DEFINED__
127 typedef interface ApplicationDataSetVersionHandler ApplicationDataSetVersionHandler;
128 #endif
129 
130 #ifndef __ISetVersionRequest_FWD_DEFINED__
131 #define __ISetVersionRequest_FWD_DEFINED__
132 typedef interface ISetVersionRequest ISetVersionRequest;
133 #endif
134 
135 #ifndef __ISetVersionDeferral_FWD_DEFINED__
136 #define __ISetVersionDeferral_FWD_DEFINED__
137 typedef interface ISetVersionDeferral ISetVersionDeferral;
138 #endif
139 
140 enum StorageDeleteOption;
141 
142 enum NameCollisionOption;
143 
144 enum StorageItemTypes;
145 
146 enum ApplicationDataLocality;
147 
148 enum ApplicationDataCreateDisposition;
149 
150 enum FileAttributes;
151 
152 enum CreationCollisionOption;
153 
154 typedef enum NameCollisionoption {
155     NameCollisionoption_GenerateUniqueName = 0,
156     NameCollisionoption_ReplaceExisting = 1,
157     NameCollisionoption_FailIfExists = 2
158 } NameCollisionOption;
159 typedef enum StorageDeleteOption {
160     StorageDeleteOption_Default = 0,
161     StorageDeleteOption_PermanentDelete = 1
162 } StorageDeleteOption;
163 typedef enum StorageItemTypes {
164     StorageItemTypes_None = 0,
165     StorageItemTypes_File = 1,
166     StorageItemTypes_Folder = 2
167 } StorageItemTypes;
168 typedef enum ApplicationDataCreateDisposition {
169     ApplicationDataCreateDisposition_Always = 0,
170     ApplicationDataCreateDisposition_Existing = 1
171 } ApplicationDataCreateDisposition;
172 typedef enum ApplicationDataLocality {
173     ApplicationDataLocality_Local = 0,
174     ApplicationDataLocality_Roaming = 1,
175     ApplicationDataLocality_Temporary = 2
176 } ApplicationDataLocality;
177 typedef enum FileAttributes {
178     FileAttributes_Normal = 0,
179     FileAttributes_ReadOnly = 1,
180     FileAttributes_Directory = 2,
181     FileAttributes_Archive = 3,
182     FileAttributes_Temporary = 4
183 } FileAttributes;
184 typedef enum CreationCollisionOption {
185     CreationCollisionOption_GenerateUniqueName = 0,
186     CreationCollisionOption_ReplaceExisting = 1,
187     CreationCollisionOption_FailIfExists = 2,
188     CreationCollisionOption_OpenIfExists = 3
189 } CreationCollisionOption;
190 /*****************************************************************************
191  * IStorageItem interface
192  */
193 #ifndef __IStorageItem_INTERFACE_DEFINED__
194 #define __IStorageItem_INTERFACE_DEFINED__
195 
196 DEFINE_GUID(IID_IStorageItem, 0x4207a996, 0xca2f, 0x42f7, 0xbd,0xe8, 0x8b,0x10,0x45,0x7a,0x7f,0x30);
197 #if defined(__cplusplus) && !defined(CINTERFACE)
198 MIDL_INTERFACE("4207a996-ca2f-42f7-bde8-8b10457a7f30")
199 IStorageItem : public IInspectable
200 {
201     virtual HRESULT STDMETHODCALLTYPE RenameAsyncOverloadDefaultOptions(
202         HSTRING desiredName,
203         IInspectable **action) = 0;
204 
205     virtual HRESULT STDMETHODCALLTYPE RenameAsync(
206         HSTRING desiredName,
207         NameCollisionOption option,
208         IInspectable **action) = 0;
209 
210     virtual HRESULT STDMETHODCALLTYPE DeleteAsyncOverloadDefaultOptions(
211         IInspectable **action) = 0;
212 
213     virtual HRESULT STDMETHODCALLTYPE DeleteAsync(
214         StorageDeleteOption option,
215         IInspectable **action) = 0;
216 
217     virtual HRESULT STDMETHODCALLTYPE GetBasicPropertiesAsync(
218         IInspectable **action) = 0;
219 
220     virtual HRESULT STDMETHODCALLTYPE get_Name(
221         HSTRING *value) = 0;
222 
223     virtual HRESULT STDMETHODCALLTYPE get_Path(
224         HSTRING *value) = 0;
225 
226     virtual HRESULT STDMETHODCALLTYPE get_Attributes(
227         FileAttributes *value) = 0;
228 
229     virtual HRESULT STDMETHODCALLTYPE get_DateCreated(
230         DateTime *value) = 0;
231 
232     virtual HRESULT STDMETHODCALLTYPE IsOfType(
233         StorageItemTypes itemType,
234         boolean *value) = 0;
235 
236 };
237 #ifdef __CRT_UUID_DECL
238 __CRT_UUID_DECL(IStorageItem, 0x4207a996, 0xca2f, 0x42f7, 0xbd,0xe8, 0x8b,0x10,0x45,0x7a,0x7f,0x30)
239 #endif
240 #else
241 typedef struct IStorageItemVtbl {
242     BEGIN_INTERFACE
243 
244     /*** IUnknown methods ***/
245     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
246         IStorageItem* This,
247         REFIID riid,
248         void **ppvObject);
249 
250     ULONG (STDMETHODCALLTYPE *AddRef)(
251         IStorageItem* This);
252 
253     ULONG (STDMETHODCALLTYPE *Release)(
254         IStorageItem* This);
255 
256     /*** IInspectable methods ***/
257     HRESULT (STDMETHODCALLTYPE *GetIids)(
258         IStorageItem* This,
259         ULONG *iidCount,
260         IID **iids);
261 
262     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
263         IStorageItem* This,
264         HSTRING *className);
265 
266     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
267         IStorageItem* This,
268         TrustLevel *trustLevel);
269 
270     /*** IStorageItem methods ***/
271     HRESULT (STDMETHODCALLTYPE *RenameAsyncOverloadDefaultOptions)(
272         IStorageItem* This,
273         HSTRING desiredName,
274         IInspectable **action);
275 
276     HRESULT (STDMETHODCALLTYPE *RenameAsync)(
277         IStorageItem* This,
278         HSTRING desiredName,
279         NameCollisionOption option,
280         IInspectable **action);
281 
282     HRESULT (STDMETHODCALLTYPE *DeleteAsyncOverloadDefaultOptions)(
283         IStorageItem* This,
284         IInspectable **action);
285 
286     HRESULT (STDMETHODCALLTYPE *DeleteAsync)(
287         IStorageItem* This,
288         StorageDeleteOption option,
289         IInspectable **action);
290 
291     HRESULT (STDMETHODCALLTYPE *GetBasicPropertiesAsync)(
292         IStorageItem* This,
293         IInspectable **action);
294 
295     HRESULT (STDMETHODCALLTYPE *get_Name)(
296         IStorageItem* This,
297         HSTRING *value);
298 
299     HRESULT (STDMETHODCALLTYPE *get_Path)(
300         IStorageItem* This,
301         HSTRING *value);
302 
303     HRESULT (STDMETHODCALLTYPE *get_Attributes)(
304         IStorageItem* This,
305         FileAttributes *value);
306 
307     HRESULT (STDMETHODCALLTYPE *get_DateCreated)(
308         IStorageItem* This,
309         DateTime *value);
310 
311     HRESULT (STDMETHODCALLTYPE *IsOfType)(
312         IStorageItem* This,
313         StorageItemTypes itemType,
314         boolean *value);
315 
316     END_INTERFACE
317 } IStorageItemVtbl;
318 interface IStorageItem {
319     CONST_VTBL IStorageItemVtbl* lpVtbl;
320 };
321 
322 #ifdef COBJMACROS
323 #ifndef WIDL_C_INLINE_WRAPPERS
324 /*** IUnknown methods ***/
325 #define IStorageItem_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
326 #define IStorageItem_AddRef(This) (This)->lpVtbl->AddRef(This)
327 #define IStorageItem_Release(This) (This)->lpVtbl->Release(This)
328 /*** IInspectable methods ***/
329 #define IStorageItem_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
330 #define IStorageItem_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
331 #define IStorageItem_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
332 /*** IStorageItem methods ***/
333 #define IStorageItem_RenameAsyncOverloadDefaultOptions(This,desiredName,action) (This)->lpVtbl->RenameAsyncOverloadDefaultOptions(This,desiredName,action)
334 #define IStorageItem_RenameAsync(This,desiredName,option,action) (This)->lpVtbl->RenameAsync(This,desiredName,option,action)
335 #define IStorageItem_DeleteAsyncOverloadDefaultOptions(This,action) (This)->lpVtbl->DeleteAsyncOverloadDefaultOptions(This,action)
336 #define IStorageItem_DeleteAsync(This,option,action) (This)->lpVtbl->DeleteAsync(This,option,action)
337 #define IStorageItem_GetBasicPropertiesAsync(This,action) (This)->lpVtbl->GetBasicPropertiesAsync(This,action)
338 #define IStorageItem_get_Name(This,value) (This)->lpVtbl->get_Name(This,value)
339 #define IStorageItem_get_Path(This,value) (This)->lpVtbl->get_Path(This,value)
340 #define IStorageItem_get_Attributes(This,value) (This)->lpVtbl->get_Attributes(This,value)
341 #define IStorageItem_get_DateCreated(This,value) (This)->lpVtbl->get_DateCreated(This,value)
342 #define IStorageItem_IsOfType(This,itemType,value) (This)->lpVtbl->IsOfType(This,itemType,value)
343 #else
344 /*** IUnknown methods ***/
345 static FORCEINLINE HRESULT IStorageItem_QueryInterface(IStorageItem* This,REFIID riid,void **ppvObject) {
346     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
347 }
348 static FORCEINLINE ULONG IStorageItem_AddRef(IStorageItem* This) {
349     return This->lpVtbl->AddRef(This);
350 }
351 static FORCEINLINE ULONG IStorageItem_Release(IStorageItem* This) {
352     return This->lpVtbl->Release(This);
353 }
354 /*** IInspectable methods ***/
355 static FORCEINLINE HRESULT IStorageItem_GetIids(IStorageItem* This,ULONG *iidCount,IID **iids) {
356     return This->lpVtbl->GetIids(This,iidCount,iids);
357 }
358 static FORCEINLINE HRESULT IStorageItem_GetRuntimeClassName(IStorageItem* This,HSTRING *className) {
359     return This->lpVtbl->GetRuntimeClassName(This,className);
360 }
361 static FORCEINLINE HRESULT IStorageItem_GetTrustLevel(IStorageItem* This,TrustLevel *trustLevel) {
362     return This->lpVtbl->GetTrustLevel(This,trustLevel);
363 }
364 /*** IStorageItem methods ***/
365 static FORCEINLINE HRESULT IStorageItem_RenameAsyncOverloadDefaultOptions(IStorageItem* This,HSTRING desiredName,IInspectable **action) {
366     return This->lpVtbl->RenameAsyncOverloadDefaultOptions(This,desiredName,action);
367 }
368 static FORCEINLINE HRESULT IStorageItem_RenameAsync(IStorageItem* This,HSTRING desiredName,NameCollisionOption option,IInspectable **action) {
369     return This->lpVtbl->RenameAsync(This,desiredName,option,action);
370 }
371 static FORCEINLINE HRESULT IStorageItem_DeleteAsyncOverloadDefaultOptions(IStorageItem* This,IInspectable **action) {
372     return This->lpVtbl->DeleteAsyncOverloadDefaultOptions(This,action);
373 }
374 static FORCEINLINE HRESULT IStorageItem_DeleteAsync(IStorageItem* This,StorageDeleteOption option,IInspectable **action) {
375     return This->lpVtbl->DeleteAsync(This,option,action);
376 }
377 static FORCEINLINE HRESULT IStorageItem_GetBasicPropertiesAsync(IStorageItem* This,IInspectable **action) {
378     return This->lpVtbl->GetBasicPropertiesAsync(This,action);
379 }
380 static FORCEINLINE HRESULT IStorageItem_get_Name(IStorageItem* This,HSTRING *value) {
381     return This->lpVtbl->get_Name(This,value);
382 }
383 static FORCEINLINE HRESULT IStorageItem_get_Path(IStorageItem* This,HSTRING *value) {
384     return This->lpVtbl->get_Path(This,value);
385 }
386 static FORCEINLINE HRESULT IStorageItem_get_Attributes(IStorageItem* This,FileAttributes *value) {
387     return This->lpVtbl->get_Attributes(This,value);
388 }
389 static FORCEINLINE HRESULT IStorageItem_get_DateCreated(IStorageItem* This,DateTime *value) {
390     return This->lpVtbl->get_DateCreated(This,value);
391 }
392 static FORCEINLINE HRESULT IStorageItem_IsOfType(IStorageItem* This,StorageItemTypes itemType,boolean *value) {
393     return This->lpVtbl->IsOfType(This,itemType,value);
394 }
395 #endif
396 #endif
397 
398 #endif
399 
400 HRESULT STDMETHODCALLTYPE IStorageItem_RenameAsyncOverloadDefaultOptions_Proxy(
401     IStorageItem* This,
402     HSTRING desiredName,
403     IInspectable **action);
404 void __RPC_STUB IStorageItem_RenameAsyncOverloadDefaultOptions_Stub(
405     IRpcStubBuffer* This,
406     IRpcChannelBuffer* pRpcChannelBuffer,
407     PRPC_MESSAGE pRpcMessage,
408     DWORD* pdwStubPhase);
409 HRESULT STDMETHODCALLTYPE IStorageItem_RenameAsync_Proxy(
410     IStorageItem* This,
411     HSTRING desiredName,
412     NameCollisionOption option,
413     IInspectable **action);
414 void __RPC_STUB IStorageItem_RenameAsync_Stub(
415     IRpcStubBuffer* This,
416     IRpcChannelBuffer* pRpcChannelBuffer,
417     PRPC_MESSAGE pRpcMessage,
418     DWORD* pdwStubPhase);
419 HRESULT STDMETHODCALLTYPE IStorageItem_DeleteAsyncOverloadDefaultOptions_Proxy(
420     IStorageItem* This,
421     IInspectable **action);
422 void __RPC_STUB IStorageItem_DeleteAsyncOverloadDefaultOptions_Stub(
423     IRpcStubBuffer* This,
424     IRpcChannelBuffer* pRpcChannelBuffer,
425     PRPC_MESSAGE pRpcMessage,
426     DWORD* pdwStubPhase);
427 HRESULT STDMETHODCALLTYPE IStorageItem_DeleteAsync_Proxy(
428     IStorageItem* This,
429     StorageDeleteOption option,
430     IInspectable **action);
431 void __RPC_STUB IStorageItem_DeleteAsync_Stub(
432     IRpcStubBuffer* This,
433     IRpcChannelBuffer* pRpcChannelBuffer,
434     PRPC_MESSAGE pRpcMessage,
435     DWORD* pdwStubPhase);
436 HRESULT STDMETHODCALLTYPE IStorageItem_GetBasicPropertiesAsync_Proxy(
437     IStorageItem* This,
438     IInspectable **action);
439 void __RPC_STUB IStorageItem_GetBasicPropertiesAsync_Stub(
440     IRpcStubBuffer* This,
441     IRpcChannelBuffer* pRpcChannelBuffer,
442     PRPC_MESSAGE pRpcMessage,
443     DWORD* pdwStubPhase);
444 HRESULT STDMETHODCALLTYPE IStorageItem_get_Name_Proxy(
445     IStorageItem* This,
446     HSTRING *value);
447 void __RPC_STUB IStorageItem_get_Name_Stub(
448     IRpcStubBuffer* This,
449     IRpcChannelBuffer* pRpcChannelBuffer,
450     PRPC_MESSAGE pRpcMessage,
451     DWORD* pdwStubPhase);
452 HRESULT STDMETHODCALLTYPE IStorageItem_get_Path_Proxy(
453     IStorageItem* This,
454     HSTRING *value);
455 void __RPC_STUB IStorageItem_get_Path_Stub(
456     IRpcStubBuffer* This,
457     IRpcChannelBuffer* pRpcChannelBuffer,
458     PRPC_MESSAGE pRpcMessage,
459     DWORD* pdwStubPhase);
460 HRESULT STDMETHODCALLTYPE IStorageItem_get_Attributes_Proxy(
461     IStorageItem* This,
462     FileAttributes *value);
463 void __RPC_STUB IStorageItem_get_Attributes_Stub(
464     IRpcStubBuffer* This,
465     IRpcChannelBuffer* pRpcChannelBuffer,
466     PRPC_MESSAGE pRpcMessage,
467     DWORD* pdwStubPhase);
468 HRESULT STDMETHODCALLTYPE IStorageItem_get_DateCreated_Proxy(
469     IStorageItem* This,
470     DateTime *value);
471 void __RPC_STUB IStorageItem_get_DateCreated_Stub(
472     IRpcStubBuffer* This,
473     IRpcChannelBuffer* pRpcChannelBuffer,
474     PRPC_MESSAGE pRpcMessage,
475     DWORD* pdwStubPhase);
476 HRESULT STDMETHODCALLTYPE IStorageItem_IsOfType_Proxy(
477     IStorageItem* This,
478     StorageItemTypes itemType,
479     boolean *value);
480 void __RPC_STUB IStorageItem_IsOfType_Stub(
481     IRpcStubBuffer* This,
482     IRpcChannelBuffer* pRpcChannelBuffer,
483     PRPC_MESSAGE pRpcMessage,
484     DWORD* pdwStubPhase);
485 
486 #endif  /* __IStorageItem_INTERFACE_DEFINED__ */
487 
488 /*****************************************************************************
489  * IKnownFoldersStatics interface
490  */
491 #ifndef __IKnownFoldersStatics_INTERFACE_DEFINED__
492 #define __IKnownFoldersStatics_INTERFACE_DEFINED__
493 
494 DEFINE_GUID(IID_IKnownFoldersStatics, 0x5a2a7520, 0x4802, 0x452d, 0x9a,0xd9, 0x43,0x51,0xad,0xa7,0xec,0x35);
495 #if defined(__cplusplus) && !defined(CINTERFACE)
496 MIDL_INTERFACE("5a2a7520-4802-452d-9ad9-4351ada7ec35")
497 IKnownFoldersStatics : public IInspectable
498 {
499     virtual HRESULT STDMETHODCALLTYPE get_MusicLibrary(
500         IStorageFolder **value) = 0;
501 
502     virtual HRESULT STDMETHODCALLTYPE get_PicturesLibrary(
503         IStorageFolder **value) = 0;
504 
505     virtual HRESULT STDMETHODCALLTYPE get_VideosLibrary(
506         IStorageFolder **value) = 0;
507 
508     virtual HRESULT STDMETHODCALLTYPE get_DocumentsLibrary(
509         IStorageFolder **value) = 0;
510 
511     virtual HRESULT STDMETHODCALLTYPE get_HomeGroup(
512         IStorageFolder **value) = 0;
513 
514     virtual HRESULT STDMETHODCALLTYPE get_RemovableDevices(
515         IStorageFolder **value) = 0;
516 
517     virtual HRESULT STDMETHODCALLTYPE get_MediaServerDevices(
518         IStorageFolder **value) = 0;
519 
520 };
521 #ifdef __CRT_UUID_DECL
522 __CRT_UUID_DECL(IKnownFoldersStatics, 0x5a2a7520, 0x4802, 0x452d, 0x9a,0xd9, 0x43,0x51,0xad,0xa7,0xec,0x35)
523 #endif
524 #else
525 typedef struct IKnownFoldersStaticsVtbl {
526     BEGIN_INTERFACE
527 
528     /*** IUnknown methods ***/
529     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
530         IKnownFoldersStatics* This,
531         REFIID riid,
532         void **ppvObject);
533 
534     ULONG (STDMETHODCALLTYPE *AddRef)(
535         IKnownFoldersStatics* This);
536 
537     ULONG (STDMETHODCALLTYPE *Release)(
538         IKnownFoldersStatics* This);
539 
540     /*** IInspectable methods ***/
541     HRESULT (STDMETHODCALLTYPE *GetIids)(
542         IKnownFoldersStatics* This,
543         ULONG *iidCount,
544         IID **iids);
545 
546     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
547         IKnownFoldersStatics* This,
548         HSTRING *className);
549 
550     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
551         IKnownFoldersStatics* This,
552         TrustLevel *trustLevel);
553 
554     /*** IKnownFoldersStatics methods ***/
555     HRESULT (STDMETHODCALLTYPE *get_MusicLibrary)(
556         IKnownFoldersStatics* This,
557         IStorageFolder **value);
558 
559     HRESULT (STDMETHODCALLTYPE *get_PicturesLibrary)(
560         IKnownFoldersStatics* This,
561         IStorageFolder **value);
562 
563     HRESULT (STDMETHODCALLTYPE *get_VideosLibrary)(
564         IKnownFoldersStatics* This,
565         IStorageFolder **value);
566 
567     HRESULT (STDMETHODCALLTYPE *get_DocumentsLibrary)(
568         IKnownFoldersStatics* This,
569         IStorageFolder **value);
570 
571     HRESULT (STDMETHODCALLTYPE *get_HomeGroup)(
572         IKnownFoldersStatics* This,
573         IStorageFolder **value);
574 
575     HRESULT (STDMETHODCALLTYPE *get_RemovableDevices)(
576         IKnownFoldersStatics* This,
577         IStorageFolder **value);
578 
579     HRESULT (STDMETHODCALLTYPE *get_MediaServerDevices)(
580         IKnownFoldersStatics* This,
581         IStorageFolder **value);
582 
583     END_INTERFACE
584 } IKnownFoldersStaticsVtbl;
585 interface IKnownFoldersStatics {
586     CONST_VTBL IKnownFoldersStaticsVtbl* lpVtbl;
587 };
588 
589 #ifdef COBJMACROS
590 #ifndef WIDL_C_INLINE_WRAPPERS
591 /*** IUnknown methods ***/
592 #define IKnownFoldersStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
593 #define IKnownFoldersStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
594 #define IKnownFoldersStatics_Release(This) (This)->lpVtbl->Release(This)
595 /*** IInspectable methods ***/
596 #define IKnownFoldersStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
597 #define IKnownFoldersStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
598 #define IKnownFoldersStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
599 /*** IKnownFoldersStatics methods ***/
600 #define IKnownFoldersStatics_get_MusicLibrary(This,value) (This)->lpVtbl->get_MusicLibrary(This,value)
601 #define IKnownFoldersStatics_get_PicturesLibrary(This,value) (This)->lpVtbl->get_PicturesLibrary(This,value)
602 #define IKnownFoldersStatics_get_VideosLibrary(This,value) (This)->lpVtbl->get_VideosLibrary(This,value)
603 #define IKnownFoldersStatics_get_DocumentsLibrary(This,value) (This)->lpVtbl->get_DocumentsLibrary(This,value)
604 #define IKnownFoldersStatics_get_HomeGroup(This,value) (This)->lpVtbl->get_HomeGroup(This,value)
605 #define IKnownFoldersStatics_get_RemovableDevices(This,value) (This)->lpVtbl->get_RemovableDevices(This,value)
606 #define IKnownFoldersStatics_get_MediaServerDevices(This,value) (This)->lpVtbl->get_MediaServerDevices(This,value)
607 #else
608 /*** IUnknown methods ***/
609 static FORCEINLINE HRESULT IKnownFoldersStatics_QueryInterface(IKnownFoldersStatics* This,REFIID riid,void **ppvObject) {
610     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
611 }
612 static FORCEINLINE ULONG IKnownFoldersStatics_AddRef(IKnownFoldersStatics* This) {
613     return This->lpVtbl->AddRef(This);
614 }
615 static FORCEINLINE ULONG IKnownFoldersStatics_Release(IKnownFoldersStatics* This) {
616     return This->lpVtbl->Release(This);
617 }
618 /*** IInspectable methods ***/
619 static FORCEINLINE HRESULT IKnownFoldersStatics_GetIids(IKnownFoldersStatics* This,ULONG *iidCount,IID **iids) {
620     return This->lpVtbl->GetIids(This,iidCount,iids);
621 }
622 static FORCEINLINE HRESULT IKnownFoldersStatics_GetRuntimeClassName(IKnownFoldersStatics* This,HSTRING *className) {
623     return This->lpVtbl->GetRuntimeClassName(This,className);
624 }
625 static FORCEINLINE HRESULT IKnownFoldersStatics_GetTrustLevel(IKnownFoldersStatics* This,TrustLevel *trustLevel) {
626     return This->lpVtbl->GetTrustLevel(This,trustLevel);
627 }
628 /*** IKnownFoldersStatics methods ***/
629 static FORCEINLINE HRESULT IKnownFoldersStatics_get_MusicLibrary(IKnownFoldersStatics* This,IStorageFolder **value) {
630     return This->lpVtbl->get_MusicLibrary(This,value);
631 }
632 static FORCEINLINE HRESULT IKnownFoldersStatics_get_PicturesLibrary(IKnownFoldersStatics* This,IStorageFolder **value) {
633     return This->lpVtbl->get_PicturesLibrary(This,value);
634 }
635 static FORCEINLINE HRESULT IKnownFoldersStatics_get_VideosLibrary(IKnownFoldersStatics* This,IStorageFolder **value) {
636     return This->lpVtbl->get_VideosLibrary(This,value);
637 }
638 static FORCEINLINE HRESULT IKnownFoldersStatics_get_DocumentsLibrary(IKnownFoldersStatics* This,IStorageFolder **value) {
639     return This->lpVtbl->get_DocumentsLibrary(This,value);
640 }
641 static FORCEINLINE HRESULT IKnownFoldersStatics_get_HomeGroup(IKnownFoldersStatics* This,IStorageFolder **value) {
642     return This->lpVtbl->get_HomeGroup(This,value);
643 }
644 static FORCEINLINE HRESULT IKnownFoldersStatics_get_RemovableDevices(IKnownFoldersStatics* This,IStorageFolder **value) {
645     return This->lpVtbl->get_RemovableDevices(This,value);
646 }
647 static FORCEINLINE HRESULT IKnownFoldersStatics_get_MediaServerDevices(IKnownFoldersStatics* This,IStorageFolder **value) {
648     return This->lpVtbl->get_MediaServerDevices(This,value);
649 }
650 #endif
651 #endif
652 
653 #endif
654 
655 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_MusicLibrary_Proxy(
656     IKnownFoldersStatics* This,
657     IStorageFolder **value);
658 void __RPC_STUB IKnownFoldersStatics_get_MusicLibrary_Stub(
659     IRpcStubBuffer* This,
660     IRpcChannelBuffer* pRpcChannelBuffer,
661     PRPC_MESSAGE pRpcMessage,
662     DWORD* pdwStubPhase);
663 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_PicturesLibrary_Proxy(
664     IKnownFoldersStatics* This,
665     IStorageFolder **value);
666 void __RPC_STUB IKnownFoldersStatics_get_PicturesLibrary_Stub(
667     IRpcStubBuffer* This,
668     IRpcChannelBuffer* pRpcChannelBuffer,
669     PRPC_MESSAGE pRpcMessage,
670     DWORD* pdwStubPhase);
671 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_VideosLibrary_Proxy(
672     IKnownFoldersStatics* This,
673     IStorageFolder **value);
674 void __RPC_STUB IKnownFoldersStatics_get_VideosLibrary_Stub(
675     IRpcStubBuffer* This,
676     IRpcChannelBuffer* pRpcChannelBuffer,
677     PRPC_MESSAGE pRpcMessage,
678     DWORD* pdwStubPhase);
679 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_DocumentsLibrary_Proxy(
680     IKnownFoldersStatics* This,
681     IStorageFolder **value);
682 void __RPC_STUB IKnownFoldersStatics_get_DocumentsLibrary_Stub(
683     IRpcStubBuffer* This,
684     IRpcChannelBuffer* pRpcChannelBuffer,
685     PRPC_MESSAGE pRpcMessage,
686     DWORD* pdwStubPhase);
687 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_HomeGroup_Proxy(
688     IKnownFoldersStatics* This,
689     IStorageFolder **value);
690 void __RPC_STUB IKnownFoldersStatics_get_HomeGroup_Stub(
691     IRpcStubBuffer* This,
692     IRpcChannelBuffer* pRpcChannelBuffer,
693     PRPC_MESSAGE pRpcMessage,
694     DWORD* pdwStubPhase);
695 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_RemovableDevices_Proxy(
696     IKnownFoldersStatics* This,
697     IStorageFolder **value);
698 void __RPC_STUB IKnownFoldersStatics_get_RemovableDevices_Stub(
699     IRpcStubBuffer* This,
700     IRpcChannelBuffer* pRpcChannelBuffer,
701     PRPC_MESSAGE pRpcMessage,
702     DWORD* pdwStubPhase);
703 HRESULT STDMETHODCALLTYPE IKnownFoldersStatics_get_MediaServerDevices_Proxy(
704     IKnownFoldersStatics* This,
705     IStorageFolder **value);
706 void __RPC_STUB IKnownFoldersStatics_get_MediaServerDevices_Stub(
707     IRpcStubBuffer* This,
708     IRpcChannelBuffer* pRpcChannelBuffer,
709     PRPC_MESSAGE pRpcMessage,
710     DWORD* pdwStubPhase);
711 
712 #endif  /* __IKnownFoldersStatics_INTERFACE_DEFINED__ */
713 
714 /*****************************************************************************
715  * IStorageFolder interface
716  */
717 #ifndef __IStorageFolder_INTERFACE_DEFINED__
718 #define __IStorageFolder_INTERFACE_DEFINED__
719 
720 DEFINE_GUID(IID_IStorageFolder, 0x72d1cb78, 0xb3ef, 0x4f75, 0xa8,0x0b, 0x6f,0xd9,0xda,0xe2,0x94,0x4b);
721 #if defined(__cplusplus) && !defined(CINTERFACE)
722 MIDL_INTERFACE("72d1cb78-b3ef-4f75-a80b-6fd9dae2944b")
723 IStorageFolder : public IInspectable
724 {
725     virtual HRESULT STDMETHODCALLTYPE CreateFileAsyncOverloadDefaultOptions(
726         HSTRING desiredName,
727         IInspectable **operation) = 0;
728 
729     virtual HRESULT STDMETHODCALLTYPE CreateFileAsync(
730         HSTRING desiredName,
731         CreationCollisionOption options,
732         IInspectable **operation) = 0;
733 
734     virtual HRESULT STDMETHODCALLTYPE CreateFolderAsyncOverloadDefaultOptions(
735         HSTRING desiredName,
736         IInspectable **operation) = 0;
737 
738     virtual HRESULT STDMETHODCALLTYPE CreateFolderAsync(
739         HSTRING desiredName,
740         CreationCollisionOption options,
741         IInspectable **operation) = 0;
742 
743     virtual HRESULT STDMETHODCALLTYPE GetFileAsync(
744         HSTRING name,
745         IInspectable **operation) = 0;
746 
747     virtual HRESULT STDMETHODCALLTYPE GetFolderAsync(
748         HSTRING name,
749         IInspectable **operation) = 0;
750 
751     virtual HRESULT STDMETHODCALLTYPE GetItemAsync(
752         HSTRING name,
753         IInspectable **operation) = 0;
754 
755     virtual HRESULT STDMETHODCALLTYPE GetFilesAsyncOverloadDefaultOptionsStartAndCount(
756         IInspectable **operation) = 0;
757 
758     virtual HRESULT STDMETHODCALLTYPE GetFoldersAsyncOverloadDefaultOptionsStartAndCount(
759         IInspectable **operation) = 0;
760 
761     virtual HRESULT STDMETHODCALLTYPE GetItemsAsyncOverloadDefaultStartAndCount(
762         IInspectable **operation) = 0;
763 
764 };
765 #ifdef __CRT_UUID_DECL
766 __CRT_UUID_DECL(IStorageFolder, 0x72d1cb78, 0xb3ef, 0x4f75, 0xa8,0x0b, 0x6f,0xd9,0xda,0xe2,0x94,0x4b)
767 #endif
768 #else
769 typedef struct IStorageFolderVtbl {
770     BEGIN_INTERFACE
771 
772     /*** IUnknown methods ***/
773     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
774         IStorageFolder* This,
775         REFIID riid,
776         void **ppvObject);
777 
778     ULONG (STDMETHODCALLTYPE *AddRef)(
779         IStorageFolder* This);
780 
781     ULONG (STDMETHODCALLTYPE *Release)(
782         IStorageFolder* This);
783 
784     /*** IInspectable methods ***/
785     HRESULT (STDMETHODCALLTYPE *GetIids)(
786         IStorageFolder* This,
787         ULONG *iidCount,
788         IID **iids);
789 
790     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
791         IStorageFolder* This,
792         HSTRING *className);
793 
794     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
795         IStorageFolder* This,
796         TrustLevel *trustLevel);
797 
798     /*** IStorageFolder methods ***/
799     HRESULT (STDMETHODCALLTYPE *CreateFileAsyncOverloadDefaultOptions)(
800         IStorageFolder* This,
801         HSTRING desiredName,
802         IInspectable **operation);
803 
804     HRESULT (STDMETHODCALLTYPE *CreateFileAsync)(
805         IStorageFolder* This,
806         HSTRING desiredName,
807         CreationCollisionOption options,
808         IInspectable **operation);
809 
810     HRESULT (STDMETHODCALLTYPE *CreateFolderAsyncOverloadDefaultOptions)(
811         IStorageFolder* This,
812         HSTRING desiredName,
813         IInspectable **operation);
814 
815     HRESULT (STDMETHODCALLTYPE *CreateFolderAsync)(
816         IStorageFolder* This,
817         HSTRING desiredName,
818         CreationCollisionOption options,
819         IInspectable **operation);
820 
821     HRESULT (STDMETHODCALLTYPE *GetFileAsync)(
822         IStorageFolder* This,
823         HSTRING name,
824         IInspectable **operation);
825 
826     HRESULT (STDMETHODCALLTYPE *GetFolderAsync)(
827         IStorageFolder* This,
828         HSTRING name,
829         IInspectable **operation);
830 
831     HRESULT (STDMETHODCALLTYPE *GetItemAsync)(
832         IStorageFolder* This,
833         HSTRING name,
834         IInspectable **operation);
835 
836     HRESULT (STDMETHODCALLTYPE *GetFilesAsyncOverloadDefaultOptionsStartAndCount)(
837         IStorageFolder* This,
838         IInspectable **operation);
839 
840     HRESULT (STDMETHODCALLTYPE *GetFoldersAsyncOverloadDefaultOptionsStartAndCount)(
841         IStorageFolder* This,
842         IInspectable **operation);
843 
844     HRESULT (STDMETHODCALLTYPE *GetItemsAsyncOverloadDefaultStartAndCount)(
845         IStorageFolder* This,
846         IInspectable **operation);
847 
848     END_INTERFACE
849 } IStorageFolderVtbl;
850 interface IStorageFolder {
851     CONST_VTBL IStorageFolderVtbl* lpVtbl;
852 };
853 
854 #ifdef COBJMACROS
855 #ifndef WIDL_C_INLINE_WRAPPERS
856 /*** IUnknown methods ***/
857 #define IStorageFolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
858 #define IStorageFolder_AddRef(This) (This)->lpVtbl->AddRef(This)
859 #define IStorageFolder_Release(This) (This)->lpVtbl->Release(This)
860 /*** IInspectable methods ***/
861 #define IStorageFolder_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
862 #define IStorageFolder_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
863 #define IStorageFolder_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
864 /*** IStorageFolder methods ***/
865 #define IStorageFolder_CreateFileAsyncOverloadDefaultOptions(This,desiredName,operation) (This)->lpVtbl->CreateFileAsyncOverloadDefaultOptions(This,desiredName,operation)
866 #define IStorageFolder_CreateFileAsync(This,desiredName,options,operation) (This)->lpVtbl->CreateFileAsync(This,desiredName,options,operation)
867 #define IStorageFolder_CreateFolderAsyncOverloadDefaultOptions(This,desiredName,operation) (This)->lpVtbl->CreateFolderAsyncOverloadDefaultOptions(This,desiredName,operation)
868 #define IStorageFolder_CreateFolderAsync(This,desiredName,options,operation) (This)->lpVtbl->CreateFolderAsync(This,desiredName,options,operation)
869 #define IStorageFolder_GetFileAsync(This,name,operation) (This)->lpVtbl->GetFileAsync(This,name,operation)
870 #define IStorageFolder_GetFolderAsync(This,name,operation) (This)->lpVtbl->GetFolderAsync(This,name,operation)
871 #define IStorageFolder_GetItemAsync(This,name,operation) (This)->lpVtbl->GetItemAsync(This,name,operation)
872 #define IStorageFolder_GetFilesAsyncOverloadDefaultOptionsStartAndCount(This,operation) (This)->lpVtbl->GetFilesAsyncOverloadDefaultOptionsStartAndCount(This,operation)
873 #define IStorageFolder_GetFoldersAsyncOverloadDefaultOptionsStartAndCount(This,operation) (This)->lpVtbl->GetFoldersAsyncOverloadDefaultOptionsStartAndCount(This,operation)
874 #define IStorageFolder_GetItemsAsyncOverloadDefaultStartAndCount(This,operation) (This)->lpVtbl->GetItemsAsyncOverloadDefaultStartAndCount(This,operation)
875 #else
876 /*** IUnknown methods ***/
877 static FORCEINLINE HRESULT IStorageFolder_QueryInterface(IStorageFolder* This,REFIID riid,void **ppvObject) {
878     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
879 }
880 static FORCEINLINE ULONG IStorageFolder_AddRef(IStorageFolder* This) {
881     return This->lpVtbl->AddRef(This);
882 }
883 static FORCEINLINE ULONG IStorageFolder_Release(IStorageFolder* This) {
884     return This->lpVtbl->Release(This);
885 }
886 /*** IInspectable methods ***/
887 static FORCEINLINE HRESULT IStorageFolder_GetIids(IStorageFolder* This,ULONG *iidCount,IID **iids) {
888     return This->lpVtbl->GetIids(This,iidCount,iids);
889 }
890 static FORCEINLINE HRESULT IStorageFolder_GetRuntimeClassName(IStorageFolder* This,HSTRING *className) {
891     return This->lpVtbl->GetRuntimeClassName(This,className);
892 }
893 static FORCEINLINE HRESULT IStorageFolder_GetTrustLevel(IStorageFolder* This,TrustLevel *trustLevel) {
894     return This->lpVtbl->GetTrustLevel(This,trustLevel);
895 }
896 /*** IStorageFolder methods ***/
897 static FORCEINLINE HRESULT IStorageFolder_CreateFileAsyncOverloadDefaultOptions(IStorageFolder* This,HSTRING desiredName,IInspectable **operation) {
898     return This->lpVtbl->CreateFileAsyncOverloadDefaultOptions(This,desiredName,operation);
899 }
900 static FORCEINLINE HRESULT IStorageFolder_CreateFileAsync(IStorageFolder* This,HSTRING desiredName,CreationCollisionOption options,IInspectable **operation) {
901     return This->lpVtbl->CreateFileAsync(This,desiredName,options,operation);
902 }
903 static FORCEINLINE HRESULT IStorageFolder_CreateFolderAsyncOverloadDefaultOptions(IStorageFolder* This,HSTRING desiredName,IInspectable **operation) {
904     return This->lpVtbl->CreateFolderAsyncOverloadDefaultOptions(This,desiredName,operation);
905 }
906 static FORCEINLINE HRESULT IStorageFolder_CreateFolderAsync(IStorageFolder* This,HSTRING desiredName,CreationCollisionOption options,IInspectable **operation) {
907     return This->lpVtbl->CreateFolderAsync(This,desiredName,options,operation);
908 }
909 static FORCEINLINE HRESULT IStorageFolder_GetFileAsync(IStorageFolder* This,HSTRING name,IInspectable **operation) {
910     return This->lpVtbl->GetFileAsync(This,name,operation);
911 }
912 static FORCEINLINE HRESULT IStorageFolder_GetFolderAsync(IStorageFolder* This,HSTRING name,IInspectable **operation) {
913     return This->lpVtbl->GetFolderAsync(This,name,operation);
914 }
915 static FORCEINLINE HRESULT IStorageFolder_GetItemAsync(IStorageFolder* This,HSTRING name,IInspectable **operation) {
916     return This->lpVtbl->GetItemAsync(This,name,operation);
917 }
918 static FORCEINLINE HRESULT IStorageFolder_GetFilesAsyncOverloadDefaultOptionsStartAndCount(IStorageFolder* This,IInspectable **operation) {
919     return This->lpVtbl->GetFilesAsyncOverloadDefaultOptionsStartAndCount(This,operation);
920 }
921 static FORCEINLINE HRESULT IStorageFolder_GetFoldersAsyncOverloadDefaultOptionsStartAndCount(IStorageFolder* This,IInspectable **operation) {
922     return This->lpVtbl->GetFoldersAsyncOverloadDefaultOptionsStartAndCount(This,operation);
923 }
924 static FORCEINLINE HRESULT IStorageFolder_GetItemsAsyncOverloadDefaultStartAndCount(IStorageFolder* This,IInspectable **operation) {
925     return This->lpVtbl->GetItemsAsyncOverloadDefaultStartAndCount(This,operation);
926 }
927 #endif
928 #endif
929 
930 #endif
931 
932 HRESULT STDMETHODCALLTYPE IStorageFolder_CreateFileAsyncOverloadDefaultOptions_Proxy(
933     IStorageFolder* This,
934     HSTRING desiredName,
935     IInspectable **operation);
936 void __RPC_STUB IStorageFolder_CreateFileAsyncOverloadDefaultOptions_Stub(
937     IRpcStubBuffer* This,
938     IRpcChannelBuffer* pRpcChannelBuffer,
939     PRPC_MESSAGE pRpcMessage,
940     DWORD* pdwStubPhase);
941 HRESULT STDMETHODCALLTYPE IStorageFolder_CreateFileAsync_Proxy(
942     IStorageFolder* This,
943     HSTRING desiredName,
944     CreationCollisionOption options,
945     IInspectable **operation);
946 void __RPC_STUB IStorageFolder_CreateFileAsync_Stub(
947     IRpcStubBuffer* This,
948     IRpcChannelBuffer* pRpcChannelBuffer,
949     PRPC_MESSAGE pRpcMessage,
950     DWORD* pdwStubPhase);
951 HRESULT STDMETHODCALLTYPE IStorageFolder_CreateFolderAsyncOverloadDefaultOptions_Proxy(
952     IStorageFolder* This,
953     HSTRING desiredName,
954     IInspectable **operation);
955 void __RPC_STUB IStorageFolder_CreateFolderAsyncOverloadDefaultOptions_Stub(
956     IRpcStubBuffer* This,
957     IRpcChannelBuffer* pRpcChannelBuffer,
958     PRPC_MESSAGE pRpcMessage,
959     DWORD* pdwStubPhase);
960 HRESULT STDMETHODCALLTYPE IStorageFolder_CreateFolderAsync_Proxy(
961     IStorageFolder* This,
962     HSTRING desiredName,
963     CreationCollisionOption options,
964     IInspectable **operation);
965 void __RPC_STUB IStorageFolder_CreateFolderAsync_Stub(
966     IRpcStubBuffer* This,
967     IRpcChannelBuffer* pRpcChannelBuffer,
968     PRPC_MESSAGE pRpcMessage,
969     DWORD* pdwStubPhase);
970 HRESULT STDMETHODCALLTYPE IStorageFolder_GetFileAsync_Proxy(
971     IStorageFolder* This,
972     HSTRING name,
973     IInspectable **operation);
974 void __RPC_STUB IStorageFolder_GetFileAsync_Stub(
975     IRpcStubBuffer* This,
976     IRpcChannelBuffer* pRpcChannelBuffer,
977     PRPC_MESSAGE pRpcMessage,
978     DWORD* pdwStubPhase);
979 HRESULT STDMETHODCALLTYPE IStorageFolder_GetFolderAsync_Proxy(
980     IStorageFolder* This,
981     HSTRING name,
982     IInspectable **operation);
983 void __RPC_STUB IStorageFolder_GetFolderAsync_Stub(
984     IRpcStubBuffer* This,
985     IRpcChannelBuffer* pRpcChannelBuffer,
986     PRPC_MESSAGE pRpcMessage,
987     DWORD* pdwStubPhase);
988 HRESULT STDMETHODCALLTYPE IStorageFolder_GetItemAsync_Proxy(
989     IStorageFolder* This,
990     HSTRING name,
991     IInspectable **operation);
992 void __RPC_STUB IStorageFolder_GetItemAsync_Stub(
993     IRpcStubBuffer* This,
994     IRpcChannelBuffer* pRpcChannelBuffer,
995     PRPC_MESSAGE pRpcMessage,
996     DWORD* pdwStubPhase);
997 HRESULT STDMETHODCALLTYPE IStorageFolder_GetFilesAsyncOverloadDefaultOptionsStartAndCount_Proxy(
998     IStorageFolder* This,
999     IInspectable **operation);
1000 void __RPC_STUB IStorageFolder_GetFilesAsyncOverloadDefaultOptionsStartAndCount_Stub(
1001     IRpcStubBuffer* This,
1002     IRpcChannelBuffer* pRpcChannelBuffer,
1003     PRPC_MESSAGE pRpcMessage,
1004     DWORD* pdwStubPhase);
1005 HRESULT STDMETHODCALLTYPE IStorageFolder_GetFoldersAsyncOverloadDefaultOptionsStartAndCount_Proxy(
1006     IStorageFolder* This,
1007     IInspectable **operation);
1008 void __RPC_STUB IStorageFolder_GetFoldersAsyncOverloadDefaultOptionsStartAndCount_Stub(
1009     IRpcStubBuffer* This,
1010     IRpcChannelBuffer* pRpcChannelBuffer,
1011     PRPC_MESSAGE pRpcMessage,
1012     DWORD* pdwStubPhase);
1013 HRESULT STDMETHODCALLTYPE IStorageFolder_GetItemsAsyncOverloadDefaultStartAndCount_Proxy(
1014     IStorageFolder* This,
1015     IInspectable **operation);
1016 void __RPC_STUB IStorageFolder_GetItemsAsyncOverloadDefaultStartAndCount_Stub(
1017     IRpcStubBuffer* This,
1018     IRpcChannelBuffer* pRpcChannelBuffer,
1019     PRPC_MESSAGE pRpcMessage,
1020     DWORD* pdwStubPhase);
1021 
1022 #endif  /* __IStorageFolder_INTERFACE_DEFINED__ */
1023 
1024 /*****************************************************************************
1025  * IApplicationDataContainer interface
1026  */
1027 #ifndef __IApplicationDataContainer_INTERFACE_DEFINED__
1028 #define __IApplicationDataContainer_INTERFACE_DEFINED__
1029 
1030 DEFINE_GUID(IID_IApplicationDataContainer, 0xc5aefd1e, 0xf467, 0x40ba, 0x85,0x66, 0xab,0x64,0x0a,0x44,0x1e,0x1d);
1031 #if defined(__cplusplus) && !defined(CINTERFACE)
1032 MIDL_INTERFACE("c5aefd1e-f467-40ba-8566-ab640a441e1d")
1033 IApplicationDataContainer : public IInspectable
1034 {
1035     virtual HRESULT STDMETHODCALLTYPE get_Name(
1036         HSTRING *value) = 0;
1037 
1038     virtual HRESULT STDMETHODCALLTYPE get_Locality(
1039         ApplicationDataLocality *value) = 0;
1040 
1041     virtual HRESULT STDMETHODCALLTYPE get_Values(
1042         IInspectable **value) = 0;
1043 
1044     virtual HRESULT STDMETHODCALLTYPE get_Containers(
1045         IInspectable **value) = 0;
1046 
1047     virtual HRESULT STDMETHODCALLTYPE CreateContainer(
1048         HSTRING name,
1049         ApplicationDataCreateDisposition disposition,
1050         IApplicationDataContainer **container) = 0;
1051 
1052     virtual HRESULT STDMETHODCALLTYPE DeleteContainer(
1053         HSTRING name) = 0;
1054 
1055 };
1056 #ifdef __CRT_UUID_DECL
1057 __CRT_UUID_DECL(IApplicationDataContainer, 0xc5aefd1e, 0xf467, 0x40ba, 0x85,0x66, 0xab,0x64,0x0a,0x44,0x1e,0x1d)
1058 #endif
1059 #else
1060 typedef struct IApplicationDataContainerVtbl {
1061     BEGIN_INTERFACE
1062 
1063     /*** IUnknown methods ***/
1064     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1065         IApplicationDataContainer* This,
1066         REFIID riid,
1067         void **ppvObject);
1068 
1069     ULONG (STDMETHODCALLTYPE *AddRef)(
1070         IApplicationDataContainer* This);
1071 
1072     ULONG (STDMETHODCALLTYPE *Release)(
1073         IApplicationDataContainer* This);
1074 
1075     /*** IInspectable methods ***/
1076     HRESULT (STDMETHODCALLTYPE *GetIids)(
1077         IApplicationDataContainer* This,
1078         ULONG *iidCount,
1079         IID **iids);
1080 
1081     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1082         IApplicationDataContainer* This,
1083         HSTRING *className);
1084 
1085     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1086         IApplicationDataContainer* This,
1087         TrustLevel *trustLevel);
1088 
1089     /*** IApplicationDataContainer methods ***/
1090     HRESULT (STDMETHODCALLTYPE *get_Name)(
1091         IApplicationDataContainer* This,
1092         HSTRING *value);
1093 
1094     HRESULT (STDMETHODCALLTYPE *get_Locality)(
1095         IApplicationDataContainer* This,
1096         ApplicationDataLocality *value);
1097 
1098     HRESULT (STDMETHODCALLTYPE *get_Values)(
1099         IApplicationDataContainer* This,
1100         IInspectable **value);
1101 
1102     HRESULT (STDMETHODCALLTYPE *get_Containers)(
1103         IApplicationDataContainer* This,
1104         IInspectable **value);
1105 
1106     HRESULT (STDMETHODCALLTYPE *CreateContainer)(
1107         IApplicationDataContainer* This,
1108         HSTRING name,
1109         ApplicationDataCreateDisposition disposition,
1110         IApplicationDataContainer **container);
1111 
1112     HRESULT (STDMETHODCALLTYPE *DeleteContainer)(
1113         IApplicationDataContainer* This,
1114         HSTRING name);
1115 
1116     END_INTERFACE
1117 } IApplicationDataContainerVtbl;
1118 interface IApplicationDataContainer {
1119     CONST_VTBL IApplicationDataContainerVtbl* lpVtbl;
1120 };
1121 
1122 #ifdef COBJMACROS
1123 #ifndef WIDL_C_INLINE_WRAPPERS
1124 /*** IUnknown methods ***/
1125 #define IApplicationDataContainer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1126 #define IApplicationDataContainer_AddRef(This) (This)->lpVtbl->AddRef(This)
1127 #define IApplicationDataContainer_Release(This) (This)->lpVtbl->Release(This)
1128 /*** IInspectable methods ***/
1129 #define IApplicationDataContainer_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1130 #define IApplicationDataContainer_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1131 #define IApplicationDataContainer_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1132 /*** IApplicationDataContainer methods ***/
1133 #define IApplicationDataContainer_get_Name(This,value) (This)->lpVtbl->get_Name(This,value)
1134 #define IApplicationDataContainer_get_Locality(This,value) (This)->lpVtbl->get_Locality(This,value)
1135 #define IApplicationDataContainer_get_Values(This,value) (This)->lpVtbl->get_Values(This,value)
1136 #define IApplicationDataContainer_get_Containers(This,value) (This)->lpVtbl->get_Containers(This,value)
1137 #define IApplicationDataContainer_CreateContainer(This,name,disposition,container) (This)->lpVtbl->CreateContainer(This,name,disposition,container)
1138 #define IApplicationDataContainer_DeleteContainer(This,name) (This)->lpVtbl->DeleteContainer(This,name)
1139 #else
1140 /*** IUnknown methods ***/
1141 static FORCEINLINE HRESULT IApplicationDataContainer_QueryInterface(IApplicationDataContainer* This,REFIID riid,void **ppvObject) {
1142     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1143 }
1144 static FORCEINLINE ULONG IApplicationDataContainer_AddRef(IApplicationDataContainer* This) {
1145     return This->lpVtbl->AddRef(This);
1146 }
1147 static FORCEINLINE ULONG IApplicationDataContainer_Release(IApplicationDataContainer* This) {
1148     return This->lpVtbl->Release(This);
1149 }
1150 /*** IInspectable methods ***/
1151 static FORCEINLINE HRESULT IApplicationDataContainer_GetIids(IApplicationDataContainer* This,ULONG *iidCount,IID **iids) {
1152     return This->lpVtbl->GetIids(This,iidCount,iids);
1153 }
1154 static FORCEINLINE HRESULT IApplicationDataContainer_GetRuntimeClassName(IApplicationDataContainer* This,HSTRING *className) {
1155     return This->lpVtbl->GetRuntimeClassName(This,className);
1156 }
1157 static FORCEINLINE HRESULT IApplicationDataContainer_GetTrustLevel(IApplicationDataContainer* This,TrustLevel *trustLevel) {
1158     return This->lpVtbl->GetTrustLevel(This,trustLevel);
1159 }
1160 /*** IApplicationDataContainer methods ***/
1161 static FORCEINLINE HRESULT IApplicationDataContainer_get_Name(IApplicationDataContainer* This,HSTRING *value) {
1162     return This->lpVtbl->get_Name(This,value);
1163 }
1164 static FORCEINLINE HRESULT IApplicationDataContainer_get_Locality(IApplicationDataContainer* This,ApplicationDataLocality *value) {
1165     return This->lpVtbl->get_Locality(This,value);
1166 }
1167 static FORCEINLINE HRESULT IApplicationDataContainer_get_Values(IApplicationDataContainer* This,IInspectable **value) {
1168     return This->lpVtbl->get_Values(This,value);
1169 }
1170 static FORCEINLINE HRESULT IApplicationDataContainer_get_Containers(IApplicationDataContainer* This,IInspectable **value) {
1171     return This->lpVtbl->get_Containers(This,value);
1172 }
1173 static FORCEINLINE HRESULT IApplicationDataContainer_CreateContainer(IApplicationDataContainer* This,HSTRING name,ApplicationDataCreateDisposition disposition,IApplicationDataContainer **container) {
1174     return This->lpVtbl->CreateContainer(This,name,disposition,container);
1175 }
1176 static FORCEINLINE HRESULT IApplicationDataContainer_DeleteContainer(IApplicationDataContainer* This,HSTRING name) {
1177     return This->lpVtbl->DeleteContainer(This,name);
1178 }
1179 #endif
1180 #endif
1181 
1182 #endif
1183 
1184 HRESULT STDMETHODCALLTYPE IApplicationDataContainer_get_Name_Proxy(
1185     IApplicationDataContainer* This,
1186     HSTRING *value);
1187 void __RPC_STUB IApplicationDataContainer_get_Name_Stub(
1188     IRpcStubBuffer* This,
1189     IRpcChannelBuffer* pRpcChannelBuffer,
1190     PRPC_MESSAGE pRpcMessage,
1191     DWORD* pdwStubPhase);
1192 HRESULT STDMETHODCALLTYPE IApplicationDataContainer_get_Locality_Proxy(
1193     IApplicationDataContainer* This,
1194     ApplicationDataLocality *value);
1195 void __RPC_STUB IApplicationDataContainer_get_Locality_Stub(
1196     IRpcStubBuffer* This,
1197     IRpcChannelBuffer* pRpcChannelBuffer,
1198     PRPC_MESSAGE pRpcMessage,
1199     DWORD* pdwStubPhase);
1200 HRESULT STDMETHODCALLTYPE IApplicationDataContainer_get_Values_Proxy(
1201     IApplicationDataContainer* This,
1202     IInspectable **value);
1203 void __RPC_STUB IApplicationDataContainer_get_Values_Stub(
1204     IRpcStubBuffer* This,
1205     IRpcChannelBuffer* pRpcChannelBuffer,
1206     PRPC_MESSAGE pRpcMessage,
1207     DWORD* pdwStubPhase);
1208 HRESULT STDMETHODCALLTYPE IApplicationDataContainer_get_Containers_Proxy(
1209     IApplicationDataContainer* This,
1210     IInspectable **value);
1211 void __RPC_STUB IApplicationDataContainer_get_Containers_Stub(
1212     IRpcStubBuffer* This,
1213     IRpcChannelBuffer* pRpcChannelBuffer,
1214     PRPC_MESSAGE pRpcMessage,
1215     DWORD* pdwStubPhase);
1216 HRESULT STDMETHODCALLTYPE IApplicationDataContainer_CreateContainer_Proxy(
1217     IApplicationDataContainer* This,
1218     HSTRING name,
1219     ApplicationDataCreateDisposition disposition,
1220     IApplicationDataContainer **container);
1221 void __RPC_STUB IApplicationDataContainer_CreateContainer_Stub(
1222     IRpcStubBuffer* This,
1223     IRpcChannelBuffer* pRpcChannelBuffer,
1224     PRPC_MESSAGE pRpcMessage,
1225     DWORD* pdwStubPhase);
1226 HRESULT STDMETHODCALLTYPE IApplicationDataContainer_DeleteContainer_Proxy(
1227     IApplicationDataContainer* This,
1228     HSTRING name);
1229 void __RPC_STUB IApplicationDataContainer_DeleteContainer_Stub(
1230     IRpcStubBuffer* This,
1231     IRpcChannelBuffer* pRpcChannelBuffer,
1232     PRPC_MESSAGE pRpcMessage,
1233     DWORD* pdwStubPhase);
1234 
1235 #endif  /* __IApplicationDataContainer_INTERFACE_DEFINED__ */
1236 
1237 /*****************************************************************************
1238  * IApplicationData interface
1239  */
1240 #ifndef __IApplicationData_INTERFACE_DEFINED__
1241 #define __IApplicationData_INTERFACE_DEFINED__
1242 
1243 DEFINE_GUID(IID_IApplicationData, 0xc3da6fb7, 0xb744, 0x4b45, 0xb0,0xb8, 0x22,0x3a,0x09,0x38,0xd0,0xdc);
1244 #if defined(__cplusplus) && !defined(CINTERFACE)
1245 MIDL_INTERFACE("c3da6fb7-b744-4b45-b0b8-223a0938d0dc")
1246 IApplicationData : public IInspectable
1247 {
1248     virtual HRESULT STDMETHODCALLTYPE get_Version(
1249         int *value) = 0;
1250 
1251     virtual HRESULT STDMETHODCALLTYPE SetVersionAsync(
1252         int desiredVersion,
1253         ApplicationDataSetVersionHandler *handler,
1254         IInspectable **setVersionOperation) = 0;
1255 
1256     virtual HRESULT STDMETHODCALLTYPE ClearAllAsync(
1257         IInspectable **clearOperation) = 0;
1258 
1259     virtual HRESULT STDMETHODCALLTYPE ClearAsync(
1260         ApplicationDataLocality locality,
1261         IInspectable **clearOperation) = 0;
1262 
1263     virtual HRESULT STDMETHODCALLTYPE get_LocalSettings(
1264         IApplicationDataContainer **value) = 0;
1265 
1266     virtual HRESULT STDMETHODCALLTYPE get_RoamingSettings(
1267         IApplicationDataContainer **value) = 0;
1268 
1269     virtual HRESULT STDMETHODCALLTYPE get_LocalFolder(
1270         IStorageFolder **value) = 0;
1271 
1272     virtual HRESULT STDMETHODCALLTYPE get_RoamingFolder(
1273         IStorageFolder **value) = 0;
1274 
1275     virtual HRESULT STDMETHODCALLTYPE get_TemporaryFolder(
1276         IStorageFolder **value) = 0;
1277 
1278     virtual HRESULT STDMETHODCALLTYPE DataChanged(
1279         EventRegistrationToken token) = 0;
1280 
1281     virtual HRESULT STDMETHODCALLTYPE SignalDataChanged(
1282         ) = 0;
1283 
1284     virtual HRESULT STDMETHODCALLTYPE RoamingStorageQuota(
1285         UINT64 *value) = 0;
1286 
1287 };
1288 #ifdef __CRT_UUID_DECL
1289 __CRT_UUID_DECL(IApplicationData, 0xc3da6fb7, 0xb744, 0x4b45, 0xb0,0xb8, 0x22,0x3a,0x09,0x38,0xd0,0xdc)
1290 #endif
1291 #else
1292 typedef struct IApplicationDataVtbl {
1293     BEGIN_INTERFACE
1294 
1295     /*** IUnknown methods ***/
1296     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1297         IApplicationData* This,
1298         REFIID riid,
1299         void **ppvObject);
1300 
1301     ULONG (STDMETHODCALLTYPE *AddRef)(
1302         IApplicationData* This);
1303 
1304     ULONG (STDMETHODCALLTYPE *Release)(
1305         IApplicationData* This);
1306 
1307     /*** IInspectable methods ***/
1308     HRESULT (STDMETHODCALLTYPE *GetIids)(
1309         IApplicationData* This,
1310         ULONG *iidCount,
1311         IID **iids);
1312 
1313     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1314         IApplicationData* This,
1315         HSTRING *className);
1316 
1317     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1318         IApplicationData* This,
1319         TrustLevel *trustLevel);
1320 
1321     /*** IApplicationData methods ***/
1322     HRESULT (STDMETHODCALLTYPE *get_Version)(
1323         IApplicationData* This,
1324         int *value);
1325 
1326     HRESULT (STDMETHODCALLTYPE *SetVersionAsync)(
1327         IApplicationData* This,
1328         int desiredVersion,
1329         ApplicationDataSetVersionHandler *handler,
1330         IInspectable **setVersionOperation);
1331 
1332     HRESULT (STDMETHODCALLTYPE *ClearAllAsync)(
1333         IApplicationData* This,
1334         IInspectable **clearOperation);
1335 
1336     HRESULT (STDMETHODCALLTYPE *ClearAsync)(
1337         IApplicationData* This,
1338         ApplicationDataLocality locality,
1339         IInspectable **clearOperation);
1340 
1341     HRESULT (STDMETHODCALLTYPE *get_LocalSettings)(
1342         IApplicationData* This,
1343         IApplicationDataContainer **value);
1344 
1345     HRESULT (STDMETHODCALLTYPE *get_RoamingSettings)(
1346         IApplicationData* This,
1347         IApplicationDataContainer **value);
1348 
1349     HRESULT (STDMETHODCALLTYPE *get_LocalFolder)(
1350         IApplicationData* This,
1351         IStorageFolder **value);
1352 
1353     HRESULT (STDMETHODCALLTYPE *get_RoamingFolder)(
1354         IApplicationData* This,
1355         IStorageFolder **value);
1356 
1357     HRESULT (STDMETHODCALLTYPE *get_TemporaryFolder)(
1358         IApplicationData* This,
1359         IStorageFolder **value);
1360 
1361     HRESULT (STDMETHODCALLTYPE *DataChanged)(
1362         IApplicationData* This,
1363         EventRegistrationToken token);
1364 
1365     HRESULT (STDMETHODCALLTYPE *SignalDataChanged)(
1366         IApplicationData* This);
1367 
1368     HRESULT (STDMETHODCALLTYPE *RoamingStorageQuota)(
1369         IApplicationData* This,
1370         UINT64 *value);
1371 
1372     END_INTERFACE
1373 } IApplicationDataVtbl;
1374 interface IApplicationData {
1375     CONST_VTBL IApplicationDataVtbl* lpVtbl;
1376 };
1377 
1378 #ifdef COBJMACROS
1379 #ifndef WIDL_C_INLINE_WRAPPERS
1380 /*** IUnknown methods ***/
1381 #define IApplicationData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1382 #define IApplicationData_AddRef(This) (This)->lpVtbl->AddRef(This)
1383 #define IApplicationData_Release(This) (This)->lpVtbl->Release(This)
1384 /*** IInspectable methods ***/
1385 #define IApplicationData_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1386 #define IApplicationData_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1387 #define IApplicationData_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1388 /*** IApplicationData methods ***/
1389 #define IApplicationData_get_Version(This,value) (This)->lpVtbl->get_Version(This,value)
1390 #define IApplicationData_SetVersionAsync(This,desiredVersion,handler,setVersionOperation) (This)->lpVtbl->SetVersionAsync(This,desiredVersion,handler,setVersionOperation)
1391 #define IApplicationData_ClearAllAsync(This,clearOperation) (This)->lpVtbl->ClearAllAsync(This,clearOperation)
1392 #define IApplicationData_ClearAsync(This,locality,clearOperation) (This)->lpVtbl->ClearAsync(This,locality,clearOperation)
1393 #define IApplicationData_get_LocalSettings(This,value) (This)->lpVtbl->get_LocalSettings(This,value)
1394 #define IApplicationData_get_RoamingSettings(This,value) (This)->lpVtbl->get_RoamingSettings(This,value)
1395 #define IApplicationData_get_LocalFolder(This,value) (This)->lpVtbl->get_LocalFolder(This,value)
1396 #define IApplicationData_get_RoamingFolder(This,value) (This)->lpVtbl->get_RoamingFolder(This,value)
1397 #define IApplicationData_get_TemporaryFolder(This,value) (This)->lpVtbl->get_TemporaryFolder(This,value)
1398 #define IApplicationData_DataChanged(This,token) (This)->lpVtbl->DataChanged(This,token)
1399 #define IApplicationData_SignalDataChanged(This) (This)->lpVtbl->SignalDataChanged(This)
1400 #define IApplicationData_RoamingStorageQuota(This,value) (This)->lpVtbl->RoamingStorageQuota(This,value)
1401 #else
1402 /*** IUnknown methods ***/
1403 static FORCEINLINE HRESULT IApplicationData_QueryInterface(IApplicationData* This,REFIID riid,void **ppvObject) {
1404     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1405 }
1406 static FORCEINLINE ULONG IApplicationData_AddRef(IApplicationData* This) {
1407     return This->lpVtbl->AddRef(This);
1408 }
1409 static FORCEINLINE ULONG IApplicationData_Release(IApplicationData* This) {
1410     return This->lpVtbl->Release(This);
1411 }
1412 /*** IInspectable methods ***/
1413 static FORCEINLINE HRESULT IApplicationData_GetIids(IApplicationData* This,ULONG *iidCount,IID **iids) {
1414     return This->lpVtbl->GetIids(This,iidCount,iids);
1415 }
1416 static FORCEINLINE HRESULT IApplicationData_GetRuntimeClassName(IApplicationData* This,HSTRING *className) {
1417     return This->lpVtbl->GetRuntimeClassName(This,className);
1418 }
1419 static FORCEINLINE HRESULT IApplicationData_GetTrustLevel(IApplicationData* This,TrustLevel *trustLevel) {
1420     return This->lpVtbl->GetTrustLevel(This,trustLevel);
1421 }
1422 /*** IApplicationData methods ***/
1423 static FORCEINLINE HRESULT IApplicationData_get_Version(IApplicationData* This,int *value) {
1424     return This->lpVtbl->get_Version(This,value);
1425 }
1426 static FORCEINLINE HRESULT IApplicationData_SetVersionAsync(IApplicationData* This,int desiredVersion,ApplicationDataSetVersionHandler *handler,IInspectable **setVersionOperation) {
1427     return This->lpVtbl->SetVersionAsync(This,desiredVersion,handler,setVersionOperation);
1428 }
1429 static FORCEINLINE HRESULT IApplicationData_ClearAllAsync(IApplicationData* This,IInspectable **clearOperation) {
1430     return This->lpVtbl->ClearAllAsync(This,clearOperation);
1431 }
1432 static FORCEINLINE HRESULT IApplicationData_ClearAsync(IApplicationData* This,ApplicationDataLocality locality,IInspectable **clearOperation) {
1433     return This->lpVtbl->ClearAsync(This,locality,clearOperation);
1434 }
1435 static FORCEINLINE HRESULT IApplicationData_get_LocalSettings(IApplicationData* This,IApplicationDataContainer **value) {
1436     return This->lpVtbl->get_LocalSettings(This,value);
1437 }
1438 static FORCEINLINE HRESULT IApplicationData_get_RoamingSettings(IApplicationData* This,IApplicationDataContainer **value) {
1439     return This->lpVtbl->get_RoamingSettings(This,value);
1440 }
1441 static FORCEINLINE HRESULT IApplicationData_get_LocalFolder(IApplicationData* This,IStorageFolder **value) {
1442     return This->lpVtbl->get_LocalFolder(This,value);
1443 }
1444 static FORCEINLINE HRESULT IApplicationData_get_RoamingFolder(IApplicationData* This,IStorageFolder **value) {
1445     return This->lpVtbl->get_RoamingFolder(This,value);
1446 }
1447 static FORCEINLINE HRESULT IApplicationData_get_TemporaryFolder(IApplicationData* This,IStorageFolder **value) {
1448     return This->lpVtbl->get_TemporaryFolder(This,value);
1449 }
1450 static FORCEINLINE HRESULT IApplicationData_DataChanged(IApplicationData* This,EventRegistrationToken token) {
1451     return This->lpVtbl->DataChanged(This,token);
1452 }
1453 static FORCEINLINE HRESULT IApplicationData_SignalDataChanged(IApplicationData* This) {
1454     return This->lpVtbl->SignalDataChanged(This);
1455 }
1456 static FORCEINLINE HRESULT IApplicationData_RoamingStorageQuota(IApplicationData* This,UINT64 *value) {
1457     return This->lpVtbl->RoamingStorageQuota(This,value);
1458 }
1459 #endif
1460 #endif
1461 
1462 #endif
1463 
1464 HRESULT STDMETHODCALLTYPE IApplicationData_get_Version_Proxy(
1465     IApplicationData* This,
1466     int *value);
1467 void __RPC_STUB IApplicationData_get_Version_Stub(
1468     IRpcStubBuffer* This,
1469     IRpcChannelBuffer* pRpcChannelBuffer,
1470     PRPC_MESSAGE pRpcMessage,
1471     DWORD* pdwStubPhase);
1472 HRESULT STDMETHODCALLTYPE IApplicationData_SetVersionAsync_Proxy(
1473     IApplicationData* This,
1474     int desiredVersion,
1475     ApplicationDataSetVersionHandler *handler,
1476     IInspectable **setVersionOperation);
1477 void __RPC_STUB IApplicationData_SetVersionAsync_Stub(
1478     IRpcStubBuffer* This,
1479     IRpcChannelBuffer* pRpcChannelBuffer,
1480     PRPC_MESSAGE pRpcMessage,
1481     DWORD* pdwStubPhase);
1482 HRESULT STDMETHODCALLTYPE IApplicationData_ClearAllAsync_Proxy(
1483     IApplicationData* This,
1484     IInspectable **clearOperation);
1485 void __RPC_STUB IApplicationData_ClearAllAsync_Stub(
1486     IRpcStubBuffer* This,
1487     IRpcChannelBuffer* pRpcChannelBuffer,
1488     PRPC_MESSAGE pRpcMessage,
1489     DWORD* pdwStubPhase);
1490 HRESULT STDMETHODCALLTYPE IApplicationData_ClearAsync_Proxy(
1491     IApplicationData* This,
1492     ApplicationDataLocality locality,
1493     IInspectable **clearOperation);
1494 void __RPC_STUB IApplicationData_ClearAsync_Stub(
1495     IRpcStubBuffer* This,
1496     IRpcChannelBuffer* pRpcChannelBuffer,
1497     PRPC_MESSAGE pRpcMessage,
1498     DWORD* pdwStubPhase);
1499 HRESULT STDMETHODCALLTYPE IApplicationData_get_LocalSettings_Proxy(
1500     IApplicationData* This,
1501     IApplicationDataContainer **value);
1502 void __RPC_STUB IApplicationData_get_LocalSettings_Stub(
1503     IRpcStubBuffer* This,
1504     IRpcChannelBuffer* pRpcChannelBuffer,
1505     PRPC_MESSAGE pRpcMessage,
1506     DWORD* pdwStubPhase);
1507 HRESULT STDMETHODCALLTYPE IApplicationData_get_RoamingSettings_Proxy(
1508     IApplicationData* This,
1509     IApplicationDataContainer **value);
1510 void __RPC_STUB IApplicationData_get_RoamingSettings_Stub(
1511     IRpcStubBuffer* This,
1512     IRpcChannelBuffer* pRpcChannelBuffer,
1513     PRPC_MESSAGE pRpcMessage,
1514     DWORD* pdwStubPhase);
1515 HRESULT STDMETHODCALLTYPE IApplicationData_get_LocalFolder_Proxy(
1516     IApplicationData* This,
1517     IStorageFolder **value);
1518 void __RPC_STUB IApplicationData_get_LocalFolder_Stub(
1519     IRpcStubBuffer* This,
1520     IRpcChannelBuffer* pRpcChannelBuffer,
1521     PRPC_MESSAGE pRpcMessage,
1522     DWORD* pdwStubPhase);
1523 HRESULT STDMETHODCALLTYPE IApplicationData_get_RoamingFolder_Proxy(
1524     IApplicationData* This,
1525     IStorageFolder **value);
1526 void __RPC_STUB IApplicationData_get_RoamingFolder_Stub(
1527     IRpcStubBuffer* This,
1528     IRpcChannelBuffer* pRpcChannelBuffer,
1529     PRPC_MESSAGE pRpcMessage,
1530     DWORD* pdwStubPhase);
1531 HRESULT STDMETHODCALLTYPE IApplicationData_get_TemporaryFolder_Proxy(
1532     IApplicationData* This,
1533     IStorageFolder **value);
1534 void __RPC_STUB IApplicationData_get_TemporaryFolder_Stub(
1535     IRpcStubBuffer* This,
1536     IRpcChannelBuffer* pRpcChannelBuffer,
1537     PRPC_MESSAGE pRpcMessage,
1538     DWORD* pdwStubPhase);
1539 HRESULT STDMETHODCALLTYPE IApplicationData_DataChanged_Proxy(
1540     IApplicationData* This,
1541     EventRegistrationToken token);
1542 void __RPC_STUB IApplicationData_DataChanged_Stub(
1543     IRpcStubBuffer* This,
1544     IRpcChannelBuffer* pRpcChannelBuffer,
1545     PRPC_MESSAGE pRpcMessage,
1546     DWORD* pdwStubPhase);
1547 HRESULT STDMETHODCALLTYPE IApplicationData_SignalDataChanged_Proxy(
1548     IApplicationData* This);
1549 void __RPC_STUB IApplicationData_SignalDataChanged_Stub(
1550     IRpcStubBuffer* This,
1551     IRpcChannelBuffer* pRpcChannelBuffer,
1552     PRPC_MESSAGE pRpcMessage,
1553     DWORD* pdwStubPhase);
1554 HRESULT STDMETHODCALLTYPE IApplicationData_RoamingStorageQuota_Proxy(
1555     IApplicationData* This,
1556     UINT64 *value);
1557 void __RPC_STUB IApplicationData_RoamingStorageQuota_Stub(
1558     IRpcStubBuffer* This,
1559     IRpcChannelBuffer* pRpcChannelBuffer,
1560     PRPC_MESSAGE pRpcMessage,
1561     DWORD* pdwStubPhase);
1562 
1563 #endif  /* __IApplicationData_INTERFACE_DEFINED__ */
1564 
1565 /*****************************************************************************
1566  * IApplicationDataStatics interface
1567  */
1568 #ifndef __IApplicationDataStatics_INTERFACE_DEFINED__
1569 #define __IApplicationDataStatics_INTERFACE_DEFINED__
1570 
1571 DEFINE_GUID(IID_IApplicationDataStatics, 0x5612147b, 0xe843, 0x45e3, 0x94,0xd8, 0x06,0x16,0x9e,0x3c,0x8e,0x17);
1572 #if defined(__cplusplus) && !defined(CINTERFACE)
1573 MIDL_INTERFACE("5612147b-e843-45e3-94d8-06169e3c8e17")
1574 IApplicationDataStatics : public IInspectable
1575 {
1576     virtual HRESULT STDMETHODCALLTYPE get_Current(
1577         IApplicationData **data) = 0;
1578 
1579 };
1580 #ifdef __CRT_UUID_DECL
1581 __CRT_UUID_DECL(IApplicationDataStatics, 0x5612147b, 0xe843, 0x45e3, 0x94,0xd8, 0x06,0x16,0x9e,0x3c,0x8e,0x17)
1582 #endif
1583 #else
1584 typedef struct IApplicationDataStaticsVtbl {
1585     BEGIN_INTERFACE
1586 
1587     /*** IUnknown methods ***/
1588     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1589         IApplicationDataStatics* This,
1590         REFIID riid,
1591         void **ppvObject);
1592 
1593     ULONG (STDMETHODCALLTYPE *AddRef)(
1594         IApplicationDataStatics* This);
1595 
1596     ULONG (STDMETHODCALLTYPE *Release)(
1597         IApplicationDataStatics* This);
1598 
1599     /*** IInspectable methods ***/
1600     HRESULT (STDMETHODCALLTYPE *GetIids)(
1601         IApplicationDataStatics* This,
1602         ULONG *iidCount,
1603         IID **iids);
1604 
1605     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1606         IApplicationDataStatics* This,
1607         HSTRING *className);
1608 
1609     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1610         IApplicationDataStatics* This,
1611         TrustLevel *trustLevel);
1612 
1613     /*** IApplicationDataStatics methods ***/
1614     HRESULT (STDMETHODCALLTYPE *get_Current)(
1615         IApplicationDataStatics* This,
1616         IApplicationData **data);
1617 
1618     END_INTERFACE
1619 } IApplicationDataStaticsVtbl;
1620 interface IApplicationDataStatics {
1621     CONST_VTBL IApplicationDataStaticsVtbl* lpVtbl;
1622 };
1623 
1624 #ifdef COBJMACROS
1625 #ifndef WIDL_C_INLINE_WRAPPERS
1626 /*** IUnknown methods ***/
1627 #define IApplicationDataStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1628 #define IApplicationDataStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
1629 #define IApplicationDataStatics_Release(This) (This)->lpVtbl->Release(This)
1630 /*** IInspectable methods ***/
1631 #define IApplicationDataStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1632 #define IApplicationDataStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1633 #define IApplicationDataStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1634 /*** IApplicationDataStatics methods ***/
1635 #define IApplicationDataStatics_get_Current(This,data) (This)->lpVtbl->get_Current(This,data)
1636 #else
1637 /*** IUnknown methods ***/
1638 static FORCEINLINE HRESULT IApplicationDataStatics_QueryInterface(IApplicationDataStatics* This,REFIID riid,void **ppvObject) {
1639     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1640 }
1641 static FORCEINLINE ULONG IApplicationDataStatics_AddRef(IApplicationDataStatics* This) {
1642     return This->lpVtbl->AddRef(This);
1643 }
1644 static FORCEINLINE ULONG IApplicationDataStatics_Release(IApplicationDataStatics* This) {
1645     return This->lpVtbl->Release(This);
1646 }
1647 /*** IInspectable methods ***/
1648 static FORCEINLINE HRESULT IApplicationDataStatics_GetIids(IApplicationDataStatics* This,ULONG *iidCount,IID **iids) {
1649     return This->lpVtbl->GetIids(This,iidCount,iids);
1650 }
1651 static FORCEINLINE HRESULT IApplicationDataStatics_GetRuntimeClassName(IApplicationDataStatics* This,HSTRING *className) {
1652     return This->lpVtbl->GetRuntimeClassName(This,className);
1653 }
1654 static FORCEINLINE HRESULT IApplicationDataStatics_GetTrustLevel(IApplicationDataStatics* This,TrustLevel *trustLevel) {
1655     return This->lpVtbl->GetTrustLevel(This,trustLevel);
1656 }
1657 /*** IApplicationDataStatics methods ***/
1658 static FORCEINLINE HRESULT IApplicationDataStatics_get_Current(IApplicationDataStatics* This,IApplicationData **data) {
1659     return This->lpVtbl->get_Current(This,data);
1660 }
1661 #endif
1662 #endif
1663 
1664 #endif
1665 
1666 HRESULT STDMETHODCALLTYPE IApplicationDataStatics_get_Current_Proxy(
1667     IApplicationDataStatics* This,
1668     IApplicationData **data);
1669 void __RPC_STUB IApplicationDataStatics_get_Current_Stub(
1670     IRpcStubBuffer* This,
1671     IRpcChannelBuffer* pRpcChannelBuffer,
1672     PRPC_MESSAGE pRpcMessage,
1673     DWORD* pdwStubPhase);
1674 
1675 #endif  /* __IApplicationDataStatics_INTERFACE_DEFINED__ */
1676 
1677 /*****************************************************************************
1678  * ApplicationDataSetVersionHandler interface
1679  */
1680 #ifndef __ApplicationDataSetVersionHandler_INTERFACE_DEFINED__
1681 #define __ApplicationDataSetVersionHandler_INTERFACE_DEFINED__
1682 
1683 DEFINE_GUID(IID_ApplicationDataSetVersionHandler, 0xa05791e6, 0xcc9f, 0x4687, 0xac,0xab, 0xa3,0x64,0xfd,0x78,0x54,0x63);
1684 #if defined(__cplusplus) && !defined(CINTERFACE)
1685 MIDL_INTERFACE("a05791e6-cc9f-4687-acab-a364fd785463")
1686 ApplicationDataSetVersionHandler : public IUnknown
1687 {
1688     virtual HRESULT STDMETHODCALLTYPE ApplicationDataSetVersionHandler(
1689         ISetVersionRequest *setVersionRequest) = 0;
1690 
1691 };
1692 #ifdef __CRT_UUID_DECL
1693 __CRT_UUID_DECL(ApplicationDataSetVersionHandler, 0xa05791e6, 0xcc9f, 0x4687, 0xac,0xab, 0xa3,0x64,0xfd,0x78,0x54,0x63)
1694 #endif
1695 #else
1696 typedef struct ApplicationDataSetVersionHandlerVtbl {
1697     BEGIN_INTERFACE
1698 
1699     /*** IUnknown methods ***/
1700     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1701         ApplicationDataSetVersionHandler* This,
1702         REFIID riid,
1703         void **ppvObject);
1704 
1705     ULONG (STDMETHODCALLTYPE *AddRef)(
1706         ApplicationDataSetVersionHandler* This);
1707 
1708     ULONG (STDMETHODCALLTYPE *Release)(
1709         ApplicationDataSetVersionHandler* This);
1710 
1711     /*** ApplicationDataSetVersionHandler methods ***/
1712     HRESULT (STDMETHODCALLTYPE *ApplicationDataSetVersionHandler)(
1713         ApplicationDataSetVersionHandler* This,
1714         ISetVersionRequest *setVersionRequest);
1715 
1716     END_INTERFACE
1717 } ApplicationDataSetVersionHandlerVtbl;
1718 interface ApplicationDataSetVersionHandler {
1719     CONST_VTBL ApplicationDataSetVersionHandlerVtbl* lpVtbl;
1720 };
1721 
1722 #ifdef COBJMACROS
1723 #ifndef WIDL_C_INLINE_WRAPPERS
1724 /*** IUnknown methods ***/
1725 #define ApplicationDataSetVersionHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1726 #define ApplicationDataSetVersionHandler_AddRef(This) (This)->lpVtbl->AddRef(This)
1727 #define ApplicationDataSetVersionHandler_Release(This) (This)->lpVtbl->Release(This)
1728 /*** ApplicationDataSetVersionHandler methods ***/
1729 #define ApplicationDataSetVersionHandler_ApplicationDataSetVersionHandler(This,setVersionRequest) (This)->lpVtbl->ApplicationDataSetVersionHandler(This,setVersionRequest)
1730 #else
1731 /*** IUnknown methods ***/
1732 static FORCEINLINE HRESULT ApplicationDataSetVersionHandler_QueryInterface(ApplicationDataSetVersionHandler* This,REFIID riid,void **ppvObject) {
1733     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1734 }
1735 static FORCEINLINE ULONG ApplicationDataSetVersionHandler_AddRef(ApplicationDataSetVersionHandler* This) {
1736     return This->lpVtbl->AddRef(This);
1737 }
1738 static FORCEINLINE ULONG ApplicationDataSetVersionHandler_Release(ApplicationDataSetVersionHandler* This) {
1739     return This->lpVtbl->Release(This);
1740 }
1741 /*** ApplicationDataSetVersionHandler methods ***/
1742 static FORCEINLINE HRESULT ApplicationDataSetVersionHandler_ApplicationDataSetVersionHandler(ApplicationDataSetVersionHandler* This,ISetVersionRequest *setVersionRequest) {
1743     return This->lpVtbl->ApplicationDataSetVersionHandler(This,setVersionRequest);
1744 }
1745 #endif
1746 #endif
1747 
1748 #endif
1749 
1750 HRESULT STDMETHODCALLTYPE ApplicationDataSetVersionHandler_ApplicationDataSetVersionHandler_Proxy(
1751     ApplicationDataSetVersionHandler* This,
1752     ISetVersionRequest *setVersionRequest);
1753 void __RPC_STUB ApplicationDataSetVersionHandler_ApplicationDataSetVersionHandler_Stub(
1754     IRpcStubBuffer* This,
1755     IRpcChannelBuffer* pRpcChannelBuffer,
1756     PRPC_MESSAGE pRpcMessage,
1757     DWORD* pdwStubPhase);
1758 
1759 #endif  /* __ApplicationDataSetVersionHandler_INTERFACE_DEFINED__ */
1760 
1761 /*****************************************************************************
1762  * ISetVersionRequest interface
1763  */
1764 #ifndef __ISetVersionRequest_INTERFACE_DEFINED__
1765 #define __ISetVersionRequest_INTERFACE_DEFINED__
1766 
1767 DEFINE_GUID(IID_ISetVersionRequest, 0xb9c76b9b, 0x1056, 0x4e69, 0x83,0x30, 0x16,0x26,0x19,0x95,0x6f,0x9b);
1768 #if defined(__cplusplus) && !defined(CINTERFACE)
1769 MIDL_INTERFACE("b9c76b9b-1056-4e69-8330-162619956f9b")
1770 ISetVersionRequest : public IInspectable
1771 {
1772     virtual HRESULT STDMETHODCALLTYPE get_CurrentVersion(
1773         UINT32 *currentVersion) = 0;
1774 
1775     virtual HRESULT STDMETHODCALLTYPE get_DesiredVersion(
1776         UINT32 *desiredVersion) = 0;
1777 
1778     virtual HRESULT STDMETHODCALLTYPE GetDeferral(
1779         ISetVersionDeferral **deferral) = 0;
1780 
1781 };
1782 #ifdef __CRT_UUID_DECL
1783 __CRT_UUID_DECL(ISetVersionRequest, 0xb9c76b9b, 0x1056, 0x4e69, 0x83,0x30, 0x16,0x26,0x19,0x95,0x6f,0x9b)
1784 #endif
1785 #else
1786 typedef struct ISetVersionRequestVtbl {
1787     BEGIN_INTERFACE
1788 
1789     /*** IUnknown methods ***/
1790     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1791         ISetVersionRequest* This,
1792         REFIID riid,
1793         void **ppvObject);
1794 
1795     ULONG (STDMETHODCALLTYPE *AddRef)(
1796         ISetVersionRequest* This);
1797 
1798     ULONG (STDMETHODCALLTYPE *Release)(
1799         ISetVersionRequest* This);
1800 
1801     /*** IInspectable methods ***/
1802     HRESULT (STDMETHODCALLTYPE *GetIids)(
1803         ISetVersionRequest* This,
1804         ULONG *iidCount,
1805         IID **iids);
1806 
1807     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1808         ISetVersionRequest* This,
1809         HSTRING *className);
1810 
1811     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1812         ISetVersionRequest* This,
1813         TrustLevel *trustLevel);
1814 
1815     /*** ISetVersionRequest methods ***/
1816     HRESULT (STDMETHODCALLTYPE *get_CurrentVersion)(
1817         ISetVersionRequest* This,
1818         UINT32 *currentVersion);
1819 
1820     HRESULT (STDMETHODCALLTYPE *get_DesiredVersion)(
1821         ISetVersionRequest* This,
1822         UINT32 *desiredVersion);
1823 
1824     HRESULT (STDMETHODCALLTYPE *GetDeferral)(
1825         ISetVersionRequest* This,
1826         ISetVersionDeferral **deferral);
1827 
1828     END_INTERFACE
1829 } ISetVersionRequestVtbl;
1830 interface ISetVersionRequest {
1831     CONST_VTBL ISetVersionRequestVtbl* lpVtbl;
1832 };
1833 
1834 #ifdef COBJMACROS
1835 #ifndef WIDL_C_INLINE_WRAPPERS
1836 /*** IUnknown methods ***/
1837 #define ISetVersionRequest_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1838 #define ISetVersionRequest_AddRef(This) (This)->lpVtbl->AddRef(This)
1839 #define ISetVersionRequest_Release(This) (This)->lpVtbl->Release(This)
1840 /*** IInspectable methods ***/
1841 #define ISetVersionRequest_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1842 #define ISetVersionRequest_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1843 #define ISetVersionRequest_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1844 /*** ISetVersionRequest methods ***/
1845 #define ISetVersionRequest_get_CurrentVersion(This,currentVersion) (This)->lpVtbl->get_CurrentVersion(This,currentVersion)
1846 #define ISetVersionRequest_get_DesiredVersion(This,desiredVersion) (This)->lpVtbl->get_DesiredVersion(This,desiredVersion)
1847 #define ISetVersionRequest_GetDeferral(This,deferral) (This)->lpVtbl->GetDeferral(This,deferral)
1848 #else
1849 /*** IUnknown methods ***/
1850 static FORCEINLINE HRESULT ISetVersionRequest_QueryInterface(ISetVersionRequest* This,REFIID riid,void **ppvObject) {
1851     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1852 }
1853 static FORCEINLINE ULONG ISetVersionRequest_AddRef(ISetVersionRequest* This) {
1854     return This->lpVtbl->AddRef(This);
1855 }
1856 static FORCEINLINE ULONG ISetVersionRequest_Release(ISetVersionRequest* This) {
1857     return This->lpVtbl->Release(This);
1858 }
1859 /*** IInspectable methods ***/
1860 static FORCEINLINE HRESULT ISetVersionRequest_GetIids(ISetVersionRequest* This,ULONG *iidCount,IID **iids) {
1861     return This->lpVtbl->GetIids(This,iidCount,iids);
1862 }
1863 static FORCEINLINE HRESULT ISetVersionRequest_GetRuntimeClassName(ISetVersionRequest* This,HSTRING *className) {
1864     return This->lpVtbl->GetRuntimeClassName(This,className);
1865 }
1866 static FORCEINLINE HRESULT ISetVersionRequest_GetTrustLevel(ISetVersionRequest* This,TrustLevel *trustLevel) {
1867     return This->lpVtbl->GetTrustLevel(This,trustLevel);
1868 }
1869 /*** ISetVersionRequest methods ***/
1870 static FORCEINLINE HRESULT ISetVersionRequest_get_CurrentVersion(ISetVersionRequest* This,UINT32 *currentVersion) {
1871     return This->lpVtbl->get_CurrentVersion(This,currentVersion);
1872 }
1873 static FORCEINLINE HRESULT ISetVersionRequest_get_DesiredVersion(ISetVersionRequest* This,UINT32 *desiredVersion) {
1874     return This->lpVtbl->get_DesiredVersion(This,desiredVersion);
1875 }
1876 static FORCEINLINE HRESULT ISetVersionRequest_GetDeferral(ISetVersionRequest* This,ISetVersionDeferral **deferral) {
1877     return This->lpVtbl->GetDeferral(This,deferral);
1878 }
1879 #endif
1880 #endif
1881 
1882 #endif
1883 
1884 HRESULT STDMETHODCALLTYPE ISetVersionRequest_get_CurrentVersion_Proxy(
1885     ISetVersionRequest* This,
1886     UINT32 *currentVersion);
1887 void __RPC_STUB ISetVersionRequest_get_CurrentVersion_Stub(
1888     IRpcStubBuffer* This,
1889     IRpcChannelBuffer* pRpcChannelBuffer,
1890     PRPC_MESSAGE pRpcMessage,
1891     DWORD* pdwStubPhase);
1892 HRESULT STDMETHODCALLTYPE ISetVersionRequest_get_DesiredVersion_Proxy(
1893     ISetVersionRequest* This,
1894     UINT32 *desiredVersion);
1895 void __RPC_STUB ISetVersionRequest_get_DesiredVersion_Stub(
1896     IRpcStubBuffer* This,
1897     IRpcChannelBuffer* pRpcChannelBuffer,
1898     PRPC_MESSAGE pRpcMessage,
1899     DWORD* pdwStubPhase);
1900 HRESULT STDMETHODCALLTYPE ISetVersionRequest_GetDeferral_Proxy(
1901     ISetVersionRequest* This,
1902     ISetVersionDeferral **deferral);
1903 void __RPC_STUB ISetVersionRequest_GetDeferral_Stub(
1904     IRpcStubBuffer* This,
1905     IRpcChannelBuffer* pRpcChannelBuffer,
1906     PRPC_MESSAGE pRpcMessage,
1907     DWORD* pdwStubPhase);
1908 
1909 #endif  /* __ISetVersionRequest_INTERFACE_DEFINED__ */
1910 
1911 /*****************************************************************************
1912  * ISetVersionDeferral interface
1913  */
1914 #ifndef __ISetVersionDeferral_INTERFACE_DEFINED__
1915 #define __ISetVersionDeferral_INTERFACE_DEFINED__
1916 
1917 DEFINE_GUID(IID_ISetVersionDeferral, 0x033508a2, 0x781a, 0x437a, 0xb0,0x78, 0x3f,0x32,0xba,0xdc,0xfe,0x47);
1918 #if defined(__cplusplus) && !defined(CINTERFACE)
1919 MIDL_INTERFACE("033508a2-781a-437a-b078-3f32badcfe47")
1920 ISetVersionDeferral : public IInspectable
1921 {
1922     virtual HRESULT STDMETHODCALLTYPE Complete(
1923         ) = 0;
1924 
1925 };
1926 #ifdef __CRT_UUID_DECL
1927 __CRT_UUID_DECL(ISetVersionDeferral, 0x033508a2, 0x781a, 0x437a, 0xb0,0x78, 0x3f,0x32,0xba,0xdc,0xfe,0x47)
1928 #endif
1929 #else
1930 typedef struct ISetVersionDeferralVtbl {
1931     BEGIN_INTERFACE
1932 
1933     /*** IUnknown methods ***/
1934     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1935         ISetVersionDeferral* This,
1936         REFIID riid,
1937         void **ppvObject);
1938 
1939     ULONG (STDMETHODCALLTYPE *AddRef)(
1940         ISetVersionDeferral* This);
1941 
1942     ULONG (STDMETHODCALLTYPE *Release)(
1943         ISetVersionDeferral* This);
1944 
1945     /*** IInspectable methods ***/
1946     HRESULT (STDMETHODCALLTYPE *GetIids)(
1947         ISetVersionDeferral* This,
1948         ULONG *iidCount,
1949         IID **iids);
1950 
1951     HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
1952         ISetVersionDeferral* This,
1953         HSTRING *className);
1954 
1955     HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
1956         ISetVersionDeferral* This,
1957         TrustLevel *trustLevel);
1958 
1959     /*** ISetVersionDeferral methods ***/
1960     HRESULT (STDMETHODCALLTYPE *Complete)(
1961         ISetVersionDeferral* This);
1962 
1963     END_INTERFACE
1964 } ISetVersionDeferralVtbl;
1965 interface ISetVersionDeferral {
1966     CONST_VTBL ISetVersionDeferralVtbl* lpVtbl;
1967 };
1968 
1969 #ifdef COBJMACROS
1970 #ifndef WIDL_C_INLINE_WRAPPERS
1971 /*** IUnknown methods ***/
1972 #define ISetVersionDeferral_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1973 #define ISetVersionDeferral_AddRef(This) (This)->lpVtbl->AddRef(This)
1974 #define ISetVersionDeferral_Release(This) (This)->lpVtbl->Release(This)
1975 /*** IInspectable methods ***/
1976 #define ISetVersionDeferral_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
1977 #define ISetVersionDeferral_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
1978 #define ISetVersionDeferral_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
1979 /*** ISetVersionDeferral methods ***/
1980 #define ISetVersionDeferral_Complete(This) (This)->lpVtbl->Complete(This)
1981 #else
1982 /*** IUnknown methods ***/
1983 static FORCEINLINE HRESULT ISetVersionDeferral_QueryInterface(ISetVersionDeferral* This,REFIID riid,void **ppvObject) {
1984     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1985 }
1986 static FORCEINLINE ULONG ISetVersionDeferral_AddRef(ISetVersionDeferral* This) {
1987     return This->lpVtbl->AddRef(This);
1988 }
1989 static FORCEINLINE ULONG ISetVersionDeferral_Release(ISetVersionDeferral* This) {
1990     return This->lpVtbl->Release(This);
1991 }
1992 /*** IInspectable methods ***/
1993 static FORCEINLINE HRESULT ISetVersionDeferral_GetIids(ISetVersionDeferral* This,ULONG *iidCount,IID **iids) {
1994     return This->lpVtbl->GetIids(This,iidCount,iids);
1995 }
1996 static FORCEINLINE HRESULT ISetVersionDeferral_GetRuntimeClassName(ISetVersionDeferral* This,HSTRING *className) {
1997     return This->lpVtbl->GetRuntimeClassName(This,className);
1998 }
1999 static FORCEINLINE HRESULT ISetVersionDeferral_GetTrustLevel(ISetVersionDeferral* This,TrustLevel *trustLevel) {
2000     return This->lpVtbl->GetTrustLevel(This,trustLevel);
2001 }
2002 /*** ISetVersionDeferral methods ***/
2003 static FORCEINLINE HRESULT ISetVersionDeferral_Complete(ISetVersionDeferral* This) {
2004     return This->lpVtbl->Complete(This);
2005 }
2006 #endif
2007 #endif
2008 
2009 #endif
2010 
2011 HRESULT STDMETHODCALLTYPE ISetVersionDeferral_Complete_Proxy(
2012     ISetVersionDeferral* This);
2013 void __RPC_STUB ISetVersionDeferral_Complete_Stub(
2014     IRpcStubBuffer* This,
2015     IRpcChannelBuffer* pRpcChannelBuffer,
2016     PRPC_MESSAGE pRpcMessage,
2017     DWORD* pdwStubPhase);
2018 
2019 #endif  /* __ISetVersionDeferral_INTERFACE_DEFINED__ */
2020 
2021 /* Begin additional prototypes for all interfaces */
2022 
2023 ULONG           __RPC_USER HSTRING_UserSize     (ULONG *, ULONG, HSTRING *);
2024 unsigned char * __RPC_USER HSTRING_UserMarshal  (ULONG *, unsigned char *, HSTRING *);
2025 unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
2026 void            __RPC_USER HSTRING_UserFree     (ULONG *, HSTRING *);
2027 
2028 /* End additional prototypes */
2029 
2030 #ifdef __cplusplus
2031 }
2032 #endif
2033 
2034 #endif /* __windows_storage_h__ */
2035