windows.storage.h 110 KB

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