windows.devices.enumeration.h 134 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288
  1. /*** Autogenerated by WIDL 7.7 from include/windows.devices.enumeration.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_devices_enumeration_h__
  14. #define __windows_devices_enumeration_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation ABI::Windows::Devices::Enumeration::IDeviceInformation
  21. namespace ABI {
  22. namespace Windows {
  23. namespace Devices {
  24. namespace Enumeration {
  25. interface IDeviceInformation;
  26. }
  27. }
  28. }
  29. }
  30. #endif /* __cplusplus */
  31. #endif
  32. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_FWD_DEFINED__
  33. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_FWD_DEFINED__
  34. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate;
  35. #ifdef __cplusplus
  36. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate ABI::Windows::Devices::Enumeration::IDeviceInformationUpdate
  37. namespace ABI {
  38. namespace Windows {
  39. namespace Devices {
  40. namespace Enumeration {
  41. interface IDeviceInformationUpdate;
  42. }
  43. }
  44. }
  45. }
  46. #endif /* __cplusplus */
  47. #endif
  48. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_FWD_DEFINED__
  49. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_FWD_DEFINED__
  50. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher;
  51. #ifdef __cplusplus
  52. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher ABI::Windows::Devices::Enumeration::IDeviceWatcher
  53. namespace ABI {
  54. namespace Windows {
  55. namespace Devices {
  56. namespace Enumeration {
  57. interface IDeviceWatcher;
  58. }
  59. }
  60. }
  61. }
  62. #endif /* __cplusplus */
  63. #endif
  64. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_FWD_DEFINED__
  65. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_FWD_DEFINED__
  66. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation;
  67. #ifdef __cplusplus
  68. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation ABI::Windows::Devices::Enumeration::IEnclosureLocation
  69. namespace ABI {
  70. namespace Windows {
  71. namespace Devices {
  72. namespace Enumeration {
  73. interface IEnclosureLocation;
  74. }
  75. }
  76. }
  77. }
  78. #endif /* __cplusplus */
  79. #endif
  80. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformation_FWD_DEFINED__
  81. #define ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformation_FWD_DEFINED__
  82. #ifdef __cplusplus
  83. namespace ABI {
  84. namespace Windows {
  85. namespace Devices {
  86. namespace Enumeration {
  87. class DeviceInformation;
  88. }
  89. }
  90. }
  91. }
  92. #else
  93. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformation __x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformation;
  94. #endif /* defined __cplusplus */
  95. #endif /* defined ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformation_FWD_DEFINED__ */
  96. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformationUpdate_FWD_DEFINED__
  97. #define ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformationUpdate_FWD_DEFINED__
  98. #ifdef __cplusplus
  99. namespace ABI {
  100. namespace Windows {
  101. namespace Devices {
  102. namespace Enumeration {
  103. class DeviceInformationUpdate;
  104. }
  105. }
  106. }
  107. }
  108. #else
  109. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformationUpdate __x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformationUpdate;
  110. #endif /* defined __cplusplus */
  111. #endif /* defined ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceInformationUpdate_FWD_DEFINED__ */
  112. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceThumbnail_FWD_DEFINED__
  113. #define ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceThumbnail_FWD_DEFINED__
  114. #ifdef __cplusplus
  115. namespace ABI {
  116. namespace Windows {
  117. namespace Devices {
  118. namespace Enumeration {
  119. class DeviceThumbnail;
  120. }
  121. }
  122. }
  123. }
  124. #else
  125. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CDeviceThumbnail __x_ABI_CWindows_CDevices_CEnumeration_CDeviceThumbnail;
  126. #endif /* defined __cplusplus */
  127. #endif /* defined ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceThumbnail_FWD_DEFINED__ */
  128. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcher_FWD_DEFINED__
  129. #define ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcher_FWD_DEFINED__
  130. #ifdef __cplusplus
  131. namespace ABI {
  132. namespace Windows {
  133. namespace Devices {
  134. namespace Enumeration {
  135. class DeviceWatcher;
  136. }
  137. }
  138. }
  139. }
  140. #else
  141. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcher __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcher;
  142. #endif /* defined __cplusplus */
  143. #endif /* defined ____x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcher_FWD_DEFINED__ */
  144. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CEnclosureLocation_FWD_DEFINED__
  145. #define ____x_ABI_CWindows_CDevices_CEnumeration_CEnclosureLocation_FWD_DEFINED__
  146. #ifdef __cplusplus
  147. namespace ABI {
  148. namespace Windows {
  149. namespace Devices {
  150. namespace Enumeration {
  151. class EnclosureLocation;
  152. }
  153. }
  154. }
  155. }
  156. #else
  157. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CEnclosureLocation __x_ABI_CWindows_CDevices_CEnumeration_CEnclosureLocation;
  158. #endif /* defined __cplusplus */
  159. #endif /* defined ____x_ABI_CWindows_CDevices_CEnumeration_CEnclosureLocation_FWD_DEFINED__ */
  160. #ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  161. #define ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  162. typedef interface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation;
  163. #ifdef __cplusplus
  164. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceInformation* >
  165. #endif /* __cplusplus */
  166. #endif
  167. #ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_FWD_DEFINED__
  168. #define ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_FWD_DEFINED__
  169. typedef interface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail;
  170. #ifdef __cplusplus
  171. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail ABI::Windows::Foundation::IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceThumbnail* >
  172. #endif /* __cplusplus */
  173. #endif
  174. #ifndef ____FIMapView_2_HSTRING_IInspectable_FWD_DEFINED__
  175. #define ____FIMapView_2_HSTRING_IInspectable_FWD_DEFINED__
  176. typedef interface __FIMapView_2_HSTRING_IInspectable __FIMapView_2_HSTRING_IInspectable;
  177. #ifdef __cplusplus
  178. #define __FIMapView_2_HSTRING_IInspectable ABI::Windows::Foundation::Collections::IMapView<HSTRING,IInspectable* >
  179. #endif /* __cplusplus */
  180. #endif
  181. #ifndef ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  182. #define ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  183. typedef interface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation;
  184. #ifdef __cplusplus
  185. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* >
  186. #endif /* __cplusplus */
  187. #endif
  188. #ifndef ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_FWD_DEFINED__
  189. #define ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_FWD_DEFINED__
  190. typedef interface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail;
  191. #ifdef __cplusplus
  192. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* >
  193. #endif /* __cplusplus */
  194. #endif
  195. #ifndef ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_FWD_DEFINED__
  196. #define ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_FWD_DEFINED__
  197. typedef interface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable;
  198. #ifdef __cplusplus
  199. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* >
  200. #endif /* __cplusplus */
  201. #endif
  202. #ifndef ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  203. #define ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  204. typedef interface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation;
  205. #ifdef __cplusplus
  206. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* >
  207. #endif /* __cplusplus */
  208. #endif
  209. #ifndef ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_FWD_DEFINED__
  210. #define ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_FWD_DEFINED__
  211. typedef interface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate;
  212. #ifdef __cplusplus
  213. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* >
  214. #endif /* __cplusplus */
  215. #endif
  216. /* Headers for imported files */
  217. #include <inspectable.h>
  218. #include <asyncinfo.h>
  219. #include <eventtoken.h>
  220. #include <windowscontracts.h>
  221. #include <windows.storage.streams.h>
  222. #include <windows.foundation.h>
  223. #ifdef __cplusplus
  224. extern "C" {
  225. #endif
  226. #ifndef __cplusplus
  227. typedef enum __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcherStatus __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcherStatus;
  228. #endif /* __cplusplus */
  229. #ifndef __cplusplus
  230. typedef enum __x_ABI_CWindows_CDevices_CEnumeration_CPanel __x_ABI_CWindows_CDevices_CEnumeration_CPanel;
  231. #endif /* __cplusplus */
  232. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_FWD_DEFINED__
  233. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_FWD_DEFINED__
  234. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation;
  235. #ifdef __cplusplus
  236. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation ABI::Windows::Devices::Enumeration::IDeviceInformation
  237. namespace ABI {
  238. namespace Windows {
  239. namespace Devices {
  240. namespace Enumeration {
  241. interface IDeviceInformation;
  242. }
  243. }
  244. }
  245. }
  246. #endif /* __cplusplus */
  247. #endif
  248. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics_FWD_DEFINED__
  249. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics_FWD_DEFINED__
  250. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics;
  251. #ifdef __cplusplus
  252. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics ABI::Windows::Devices::Enumeration::IDeviceInformationStatics
  253. namespace ABI {
  254. namespace Windows {
  255. namespace Devices {
  256. namespace Enumeration {
  257. interface IDeviceInformationStatics;
  258. }
  259. }
  260. }
  261. }
  262. #endif /* __cplusplus */
  263. #endif
  264. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics2_FWD_DEFINED__
  265. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics2_FWD_DEFINED__
  266. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics2 __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics2;
  267. #ifdef __cplusplus
  268. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationStatics2 ABI::Windows::Devices::Enumeration::IDeviceInformationStatics2
  269. namespace ABI {
  270. namespace Windows {
  271. namespace Devices {
  272. namespace Enumeration {
  273. interface IDeviceInformationStatics2;
  274. }
  275. }
  276. }
  277. }
  278. #endif /* __cplusplus */
  279. #endif
  280. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_FWD_DEFINED__
  281. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_FWD_DEFINED__
  282. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate;
  283. #ifdef __cplusplus
  284. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate ABI::Windows::Devices::Enumeration::IDeviceInformationUpdate
  285. namespace ABI {
  286. namespace Windows {
  287. namespace Devices {
  288. namespace Enumeration {
  289. interface IDeviceInformationUpdate;
  290. }
  291. }
  292. }
  293. }
  294. #endif /* __cplusplus */
  295. #endif
  296. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_FWD_DEFINED__
  297. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_FWD_DEFINED__
  298. typedef interface __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation;
  299. #ifdef __cplusplus
  300. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation ABI::Windows::Devices::Enumeration::IEnclosureLocation
  301. namespace ABI {
  302. namespace Windows {
  303. namespace Devices {
  304. namespace Enumeration {
  305. interface IEnclosureLocation;
  306. }
  307. }
  308. }
  309. }
  310. #endif /* __cplusplus */
  311. #endif
  312. #ifndef ____FIMapView_2_HSTRING_IInspectable_FWD_DEFINED__
  313. #define ____FIMapView_2_HSTRING_IInspectable_FWD_DEFINED__
  314. typedef interface __FIMapView_2_HSTRING_IInspectable __FIMapView_2_HSTRING_IInspectable;
  315. #ifdef __cplusplus
  316. #define __FIMapView_2_HSTRING_IInspectable ABI::Windows::Foundation::Collections::IMapView<HSTRING,IInspectable* >
  317. #endif /* __cplusplus */
  318. #endif
  319. #ifndef ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  320. #define ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_FWD_DEFINED__
  321. typedef interface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation;
  322. #ifdef __cplusplus
  323. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* >
  324. #endif /* __cplusplus */
  325. #endif
  326. #ifndef ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_FWD_DEFINED__
  327. #define ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_FWD_DEFINED__
  328. typedef interface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail;
  329. #ifdef __cplusplus
  330. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* >
  331. #endif /* __cplusplus */
  332. #endif
  333. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider_FWD_DEFINED__
  334. #define ____x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider_FWD_DEFINED__
  335. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider __x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider;
  336. #ifdef __cplusplus
  337. #define __x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider ABI::Windows::Storage::Streams::IContentTypeProvider
  338. namespace ABI {
  339. namespace Windows {
  340. namespace Storage {
  341. namespace Streams {
  342. interface IContentTypeProvider;
  343. }
  344. }
  345. }
  346. }
  347. #endif /* __cplusplus */
  348. #endif
  349. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
  350. #define ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
  351. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIInputStream __x_ABI_CWindows_CStorage_CStreams_CIInputStream;
  352. #ifdef __cplusplus
  353. #define __x_ABI_CWindows_CStorage_CStreams_CIInputStream ABI::Windows::Storage::Streams::IInputStream
  354. namespace ABI {
  355. namespace Windows {
  356. namespace Storage {
  357. namespace Streams {
  358. interface IInputStream;
  359. }
  360. }
  361. }
  362. }
  363. #endif /* __cplusplus */
  364. #endif
  365. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
  366. #define ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
  367. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIOutputStream __x_ABI_CWindows_CStorage_CStreams_CIOutputStream;
  368. #ifdef __cplusplus
  369. #define __x_ABI_CWindows_CStorage_CStreams_CIOutputStream ABI::Windows::Storage::Streams::IOutputStream
  370. namespace ABI {
  371. namespace Windows {
  372. namespace Storage {
  373. namespace Streams {
  374. interface IOutputStream;
  375. }
  376. }
  377. }
  378. }
  379. #endif /* __cplusplus */
  380. #endif
  381. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream_FWD_DEFINED__
  382. #define ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream_FWD_DEFINED__
  383. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream;
  384. #ifdef __cplusplus
  385. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream ABI::Windows::Storage::Streams::IRandomAccessStream
  386. namespace ABI {
  387. namespace Windows {
  388. namespace Storage {
  389. namespace Streams {
  390. interface IRandomAccessStream;
  391. }
  392. }
  393. }
  394. }
  395. #endif /* __cplusplus */
  396. #endif
  397. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_FWD_DEFINED__
  398. #define ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_FWD_DEFINED__
  399. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType;
  400. #ifdef __cplusplus
  401. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType
  402. namespace ABI {
  403. namespace Windows {
  404. namespace Storage {
  405. namespace Streams {
  406. interface IRandomAccessStreamWithContentType;
  407. }
  408. }
  409. }
  410. }
  411. #endif /* __cplusplus */
  412. #endif
  413. #ifdef __cplusplus
  414. } /* extern "C" */
  415. namespace ABI {
  416. namespace Windows {
  417. namespace Devices {
  418. namespace Enumeration {
  419. enum DeviceWatcherStatus {
  420. DeviceWatcherStatus_Created = 0,
  421. DeviceWatcherStatus_Started = 1,
  422. DeviceWatcherStatus_EnumerationCompleted = 2,
  423. DeviceWatcherStatus_Stopping = 3,
  424. DeviceWatcherStatus_Stopped = 4,
  425. DeviceWatcherStatus_Aborted = 5
  426. };
  427. }
  428. }
  429. }
  430. }
  431. extern "C" {
  432. #else
  433. enum __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcherStatus {
  434. DeviceWatcherStatus_Created = 0,
  435. DeviceWatcherStatus_Started = 1,
  436. DeviceWatcherStatus_EnumerationCompleted = 2,
  437. DeviceWatcherStatus_Stopping = 3,
  438. DeviceWatcherStatus_Stopped = 4,
  439. DeviceWatcherStatus_Aborted = 5
  440. };
  441. #ifdef WIDL_using_Windows_Devices_Enumeration
  442. #define DeviceWatcherStatus __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcherStatus
  443. #endif /* WIDL_using_Windows_Devices_Enumeration */
  444. #endif
  445. #ifdef __cplusplus
  446. } /* extern "C" */
  447. namespace ABI {
  448. namespace Windows {
  449. namespace Devices {
  450. namespace Enumeration {
  451. enum Panel {
  452. Panel_Unknown = 0,
  453. Panel_Front = 1,
  454. Panel_Back = 2,
  455. Panel_Top = 3,
  456. Panel_Bottom = 4,
  457. Panel_Left = 5,
  458. Panel_Right = 6
  459. };
  460. }
  461. }
  462. }
  463. }
  464. extern "C" {
  465. #else
  466. enum __x_ABI_CWindows_CDevices_CEnumeration_CPanel {
  467. Panel_Unknown = 0,
  468. Panel_Front = 1,
  469. Panel_Back = 2,
  470. Panel_Top = 3,
  471. Panel_Bottom = 4,
  472. Panel_Left = 5,
  473. Panel_Right = 6
  474. };
  475. #ifdef WIDL_using_Windows_Devices_Enumeration
  476. #define Panel __x_ABI_CWindows_CDevices_CEnumeration_CPanel
  477. #endif /* WIDL_using_Windows_Devices_Enumeration */
  478. #endif
  479. /*****************************************************************************
  480. * IDeviceInformation interface
  481. */
  482. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_INTERFACE_DEFINED__
  483. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_INTERFACE_DEFINED__
  484. DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation, 0xaba0fb95, 0x4398, 0x489d, 0x8e,0x44, 0xe6,0x13,0x09,0x27,0x01,0x1f);
  485. #if defined(__cplusplus) && !defined(CINTERFACE)
  486. } /* extern "C" */
  487. namespace ABI {
  488. namespace Windows {
  489. namespace Devices {
  490. namespace Enumeration {
  491. MIDL_INTERFACE("aba0fb95-4398-489d-8e44-e6130927011f")
  492. IDeviceInformation : public IInspectable
  493. {
  494. virtual HRESULT STDMETHODCALLTYPE get_Id(
  495. HSTRING *value) = 0;
  496. virtual HRESULT STDMETHODCALLTYPE get_Name(
  497. HSTRING *value) = 0;
  498. virtual HRESULT STDMETHODCALLTYPE get_IsEnabled(
  499. boolean *value) = 0;
  500. virtual HRESULT STDMETHODCALLTYPE get_IsDefault(
  501. boolean *value) = 0;
  502. virtual HRESULT STDMETHODCALLTYPE get_EnclosureLocation(
  503. ABI::Windows::Devices::Enumeration::IEnclosureLocation **value) = 0;
  504. virtual HRESULT STDMETHODCALLTYPE get_Properties(
  505. ABI::Windows::Foundation::Collections::IMapView<HSTRING,IInspectable* > **value) = 0;
  506. virtual HRESULT STDMETHODCALLTYPE Update(
  507. ABI::Windows::Devices::Enumeration::IDeviceInformationUpdate *info) = 0;
  508. virtual HRESULT STDMETHODCALLTYPE GetThumbnailAsync(
  509. ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > **operation) = 0;
  510. virtual HRESULT STDMETHODCALLTYPE GetGlyphThumbnailAsync(
  511. ABI::Windows::Foundation::IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > **operation) = 0;
  512. };
  513. }
  514. }
  515. }
  516. }
  517. extern "C" {
  518. #ifdef __CRT_UUID_DECL
  519. __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation, 0xaba0fb95, 0x4398, 0x489d, 0x8e,0x44, 0xe6,0x13,0x09,0x27,0x01,0x1f)
  520. #endif
  521. #else
  522. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationVtbl {
  523. BEGIN_INTERFACE
  524. /*** IUnknown methods ***/
  525. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  526. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  527. REFIID riid,
  528. void **ppvObject);
  529. ULONG (STDMETHODCALLTYPE *AddRef)(
  530. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This);
  531. ULONG (STDMETHODCALLTYPE *Release)(
  532. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This);
  533. /*** IInspectable methods ***/
  534. HRESULT (STDMETHODCALLTYPE *GetIids)(
  535. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  536. ULONG *iidCount,
  537. IID **iids);
  538. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  539. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  540. HSTRING *className);
  541. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  542. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  543. TrustLevel *trustLevel);
  544. /*** IDeviceInformation methods ***/
  545. HRESULT (STDMETHODCALLTYPE *get_Id)(
  546. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  547. HSTRING *value);
  548. HRESULT (STDMETHODCALLTYPE *get_Name)(
  549. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  550. HSTRING *value);
  551. HRESULT (STDMETHODCALLTYPE *get_IsEnabled)(
  552. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  553. boolean *value);
  554. HRESULT (STDMETHODCALLTYPE *get_IsDefault)(
  555. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  556. boolean *value);
  557. HRESULT (STDMETHODCALLTYPE *get_EnclosureLocation)(
  558. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  559. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation **value);
  560. HRESULT (STDMETHODCALLTYPE *get_Properties)(
  561. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  562. __FIMapView_2_HSTRING_IInspectable **value);
  563. HRESULT (STDMETHODCALLTYPE *Update)(
  564. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  565. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *info);
  566. HRESULT (STDMETHODCALLTYPE *GetThumbnailAsync)(
  567. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  568. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail **operation);
  569. HRESULT (STDMETHODCALLTYPE *GetGlyphThumbnailAsync)(
  570. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *This,
  571. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail **operation);
  572. END_INTERFACE
  573. } __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationVtbl;
  574. interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation {
  575. CONST_VTBL __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationVtbl* lpVtbl;
  576. };
  577. #ifdef COBJMACROS
  578. #ifndef WIDL_C_INLINE_WRAPPERS
  579. /*** IUnknown methods ***/
  580. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  581. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
  582. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_Release(This) (This)->lpVtbl->Release(This)
  583. /*** IInspectable methods ***/
  584. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  585. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  586. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  587. /*** IDeviceInformation methods ***/
  588. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Id(This,value) (This)->lpVtbl->get_Id(This,value)
  589. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Name(This,value) (This)->lpVtbl->get_Name(This,value)
  590. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_IsEnabled(This,value) (This)->lpVtbl->get_IsEnabled(This,value)
  591. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_IsDefault(This,value) (This)->lpVtbl->get_IsDefault(This,value)
  592. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_EnclosureLocation(This,value) (This)->lpVtbl->get_EnclosureLocation(This,value)
  593. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Properties(This,value) (This)->lpVtbl->get_Properties(This,value)
  594. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_Update(This,info) (This)->lpVtbl->Update(This,info)
  595. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetThumbnailAsync(This,operation) (This)->lpVtbl->GetThumbnailAsync(This,operation)
  596. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetGlyphThumbnailAsync(This,operation) (This)->lpVtbl->GetGlyphThumbnailAsync(This,operation)
  597. #else
  598. /*** IUnknown methods ***/
  599. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_QueryInterface(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,REFIID riid,void **ppvObject) {
  600. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  601. }
  602. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_AddRef(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This) {
  603. return This->lpVtbl->AddRef(This);
  604. }
  605. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_Release(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This) {
  606. return This->lpVtbl->Release(This);
  607. }
  608. /*** IInspectable methods ***/
  609. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetIids(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,ULONG *iidCount,IID **iids) {
  610. return This->lpVtbl->GetIids(This,iidCount,iids);
  611. }
  612. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,HSTRING *className) {
  613. return This->lpVtbl->GetRuntimeClassName(This,className);
  614. }
  615. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetTrustLevel(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,TrustLevel *trustLevel) {
  616. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  617. }
  618. /*** IDeviceInformation methods ***/
  619. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Id(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,HSTRING *value) {
  620. return This->lpVtbl->get_Id(This,value);
  621. }
  622. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Name(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,HSTRING *value) {
  623. return This->lpVtbl->get_Name(This,value);
  624. }
  625. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_IsEnabled(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,boolean *value) {
  626. return This->lpVtbl->get_IsEnabled(This,value);
  627. }
  628. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_IsDefault(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,boolean *value) {
  629. return This->lpVtbl->get_IsDefault(This,value);
  630. }
  631. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_EnclosureLocation(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation **value) {
  632. return This->lpVtbl->get_EnclosureLocation(This,value);
  633. }
  634. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Properties(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,__FIMapView_2_HSTRING_IInspectable **value) {
  635. return This->lpVtbl->get_Properties(This,value);
  636. }
  637. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_Update(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *info) {
  638. return This->lpVtbl->Update(This,info);
  639. }
  640. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetThumbnailAsync(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail **operation) {
  641. return This->lpVtbl->GetThumbnailAsync(This,operation);
  642. }
  643. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetGlyphThumbnailAsync(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation* This,__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail **operation) {
  644. return This->lpVtbl->GetGlyphThumbnailAsync(This,operation);
  645. }
  646. #endif
  647. #ifdef WIDL_using_Windows_Devices_Enumeration
  648. #define IID_IDeviceInformation IID___x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation
  649. #define IDeviceInformationVtbl __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationVtbl
  650. #define IDeviceInformation __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation
  651. #define IDeviceInformation_QueryInterface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_QueryInterface
  652. #define IDeviceInformation_AddRef __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_AddRef
  653. #define IDeviceInformation_Release __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_Release
  654. #define IDeviceInformation_GetIids __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetIids
  655. #define IDeviceInformation_GetRuntimeClassName __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetRuntimeClassName
  656. #define IDeviceInformation_GetTrustLevel __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetTrustLevel
  657. #define IDeviceInformation_get_Id __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Id
  658. #define IDeviceInformation_get_Name __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Name
  659. #define IDeviceInformation_get_IsEnabled __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_IsEnabled
  660. #define IDeviceInformation_get_IsDefault __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_IsDefault
  661. #define IDeviceInformation_get_EnclosureLocation __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_EnclosureLocation
  662. #define IDeviceInformation_get_Properties __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_get_Properties
  663. #define IDeviceInformation_Update __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_Update
  664. #define IDeviceInformation_GetThumbnailAsync __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetThumbnailAsync
  665. #define IDeviceInformation_GetGlyphThumbnailAsync __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_GetGlyphThumbnailAsync
  666. #endif /* WIDL_using_Windows_Devices_Enumeration */
  667. #endif
  668. #endif
  669. #endif /* ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation_INTERFACE_DEFINED__ */
  670. /*****************************************************************************
  671. * IDeviceInformationUpdate interface
  672. */
  673. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_INTERFACE_DEFINED__
  674. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_INTERFACE_DEFINED__
  675. DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate, 0x8f315305, 0xd972, 0x44b7, 0xa3,0x7e, 0x9e,0x82,0x2c,0x78,0x21,0x3b);
  676. #if defined(__cplusplus) && !defined(CINTERFACE)
  677. } /* extern "C" */
  678. namespace ABI {
  679. namespace Windows {
  680. namespace Devices {
  681. namespace Enumeration {
  682. MIDL_INTERFACE("8f315305-d972-44b7-a37e-9e822c78213b")
  683. IDeviceInformationUpdate : public IInspectable
  684. {
  685. virtual HRESULT STDMETHODCALLTYPE get_Id(
  686. HSTRING *value) = 0;
  687. virtual HRESULT STDMETHODCALLTYPE get_Properties(
  688. ABI::Windows::Foundation::Collections::IMapView<HSTRING,IInspectable* > **value) = 0;
  689. };
  690. }
  691. }
  692. }
  693. }
  694. extern "C" {
  695. #ifdef __CRT_UUID_DECL
  696. __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate, 0x8f315305, 0xd972, 0x44b7, 0xa3,0x7e, 0x9e,0x82,0x2c,0x78,0x21,0x3b)
  697. #endif
  698. #else
  699. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdateVtbl {
  700. BEGIN_INTERFACE
  701. /*** IUnknown methods ***/
  702. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  703. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This,
  704. REFIID riid,
  705. void **ppvObject);
  706. ULONG (STDMETHODCALLTYPE *AddRef)(
  707. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This);
  708. ULONG (STDMETHODCALLTYPE *Release)(
  709. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This);
  710. /*** IInspectable methods ***/
  711. HRESULT (STDMETHODCALLTYPE *GetIids)(
  712. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This,
  713. ULONG *iidCount,
  714. IID **iids);
  715. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  716. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This,
  717. HSTRING *className);
  718. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  719. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This,
  720. TrustLevel *trustLevel);
  721. /*** IDeviceInformationUpdate methods ***/
  722. HRESULT (STDMETHODCALLTYPE *get_Id)(
  723. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This,
  724. HSTRING *value);
  725. HRESULT (STDMETHODCALLTYPE *get_Properties)(
  726. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *This,
  727. __FIMapView_2_HSTRING_IInspectable **value);
  728. END_INTERFACE
  729. } __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdateVtbl;
  730. interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate {
  731. CONST_VTBL __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdateVtbl* lpVtbl;
  732. };
  733. #ifdef COBJMACROS
  734. #ifndef WIDL_C_INLINE_WRAPPERS
  735. /*** IUnknown methods ***/
  736. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  737. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_AddRef(This) (This)->lpVtbl->AddRef(This)
  738. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_Release(This) (This)->lpVtbl->Release(This)
  739. /*** IInspectable methods ***/
  740. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  741. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  742. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  743. /*** IDeviceInformationUpdate methods ***/
  744. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_get_Id(This,value) (This)->lpVtbl->get_Id(This,value)
  745. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_get_Properties(This,value) (This)->lpVtbl->get_Properties(This,value)
  746. #else
  747. /*** IUnknown methods ***/
  748. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_QueryInterface(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This,REFIID riid,void **ppvObject) {
  749. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  750. }
  751. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_AddRef(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This) {
  752. return This->lpVtbl->AddRef(This);
  753. }
  754. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_Release(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This) {
  755. return This->lpVtbl->Release(This);
  756. }
  757. /*** IInspectable methods ***/
  758. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetIids(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This,ULONG *iidCount,IID **iids) {
  759. return This->lpVtbl->GetIids(This,iidCount,iids);
  760. }
  761. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This,HSTRING *className) {
  762. return This->lpVtbl->GetRuntimeClassName(This,className);
  763. }
  764. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetTrustLevel(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This,TrustLevel *trustLevel) {
  765. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  766. }
  767. /*** IDeviceInformationUpdate methods ***/
  768. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_get_Id(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This,HSTRING *value) {
  769. return This->lpVtbl->get_Id(This,value);
  770. }
  771. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_get_Properties(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate* This,__FIMapView_2_HSTRING_IInspectable **value) {
  772. return This->lpVtbl->get_Properties(This,value);
  773. }
  774. #endif
  775. #ifdef WIDL_using_Windows_Devices_Enumeration
  776. #define IID_IDeviceInformationUpdate IID___x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate
  777. #define IDeviceInformationUpdateVtbl __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdateVtbl
  778. #define IDeviceInformationUpdate __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate
  779. #define IDeviceInformationUpdate_QueryInterface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_QueryInterface
  780. #define IDeviceInformationUpdate_AddRef __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_AddRef
  781. #define IDeviceInformationUpdate_Release __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_Release
  782. #define IDeviceInformationUpdate_GetIids __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetIids
  783. #define IDeviceInformationUpdate_GetRuntimeClassName __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetRuntimeClassName
  784. #define IDeviceInformationUpdate_GetTrustLevel __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_GetTrustLevel
  785. #define IDeviceInformationUpdate_get_Id __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_get_Id
  786. #define IDeviceInformationUpdate_get_Properties __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_get_Properties
  787. #endif /* WIDL_using_Windows_Devices_Enumeration */
  788. #endif
  789. #endif
  790. #endif /* ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate_INTERFACE_DEFINED__ */
  791. /*****************************************************************************
  792. * IDeviceWatcher interface
  793. */
  794. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_INTERFACE_DEFINED__
  795. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_INTERFACE_DEFINED__
  796. DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher, 0xc9eab97d, 0x8f6b, 0x4f96, 0xa9,0xf4, 0xab,0xc8,0x14,0xe2,0x22,0x71);
  797. #if defined(__cplusplus) && !defined(CINTERFACE)
  798. } /* extern "C" */
  799. namespace ABI {
  800. namespace Windows {
  801. namespace Devices {
  802. namespace Enumeration {
  803. MIDL_INTERFACE("c9eab97d-8f6b-4f96-a9f4-abc814e22271")
  804. IDeviceWatcher : public IInspectable
  805. {
  806. virtual HRESULT STDMETHODCALLTYPE add_Added(
  807. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* > *handler,
  808. EventRegistrationToken *token) = 0;
  809. virtual HRESULT STDMETHODCALLTYPE remove_Added(
  810. EventRegistrationToken token) = 0;
  811. virtual HRESULT STDMETHODCALLTYPE add_Updated(
  812. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > *handler,
  813. EventRegistrationToken *token) = 0;
  814. virtual HRESULT STDMETHODCALLTYPE remove_Updated(
  815. EventRegistrationToken token) = 0;
  816. virtual HRESULT STDMETHODCALLTYPE add_Removed(
  817. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > *handler,
  818. EventRegistrationToken *token) = 0;
  819. virtual HRESULT STDMETHODCALLTYPE remove_Removed(
  820. EventRegistrationToken token) = 0;
  821. virtual HRESULT STDMETHODCALLTYPE add_EnumerationCompleted(
  822. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > *handler,
  823. EventRegistrationToken *token) = 0;
  824. virtual HRESULT STDMETHODCALLTYPE remove_EnumerationCompleted(
  825. EventRegistrationToken token) = 0;
  826. virtual HRESULT STDMETHODCALLTYPE add_Stopped(
  827. ABI::Windows::Foundation::ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > *handler,
  828. EventRegistrationToken *token) = 0;
  829. virtual HRESULT STDMETHODCALLTYPE remove_Stopped(
  830. EventRegistrationToken token) = 0;
  831. virtual HRESULT STDMETHODCALLTYPE get_Status(
  832. enum DeviceWatcherStatus *status) = 0;
  833. virtual HRESULT STDMETHODCALLTYPE Start(
  834. ) = 0;
  835. virtual HRESULT STDMETHODCALLTYPE Stop(
  836. ) = 0;
  837. };
  838. }
  839. }
  840. }
  841. }
  842. extern "C" {
  843. #ifdef __CRT_UUID_DECL
  844. __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher, 0xc9eab97d, 0x8f6b, 0x4f96, 0xa9,0xf4, 0xab,0xc8,0x14,0xe2,0x22,0x71)
  845. #endif
  846. #else
  847. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcherVtbl {
  848. BEGIN_INTERFACE
  849. /*** IUnknown methods ***/
  850. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  851. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  852. REFIID riid,
  853. void **ppvObject);
  854. ULONG (STDMETHODCALLTYPE *AddRef)(
  855. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This);
  856. ULONG (STDMETHODCALLTYPE *Release)(
  857. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This);
  858. /*** IInspectable methods ***/
  859. HRESULT (STDMETHODCALLTYPE *GetIids)(
  860. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  861. ULONG *iidCount,
  862. IID **iids);
  863. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  864. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  865. HSTRING *className);
  866. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  867. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  868. TrustLevel *trustLevel);
  869. /*** IDeviceWatcher methods ***/
  870. HRESULT (STDMETHODCALLTYPE *add_Added)(
  871. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  872. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation *handler,
  873. EventRegistrationToken *token);
  874. HRESULT (STDMETHODCALLTYPE *remove_Added)(
  875. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  876. EventRegistrationToken token);
  877. HRESULT (STDMETHODCALLTYPE *add_Updated)(
  878. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  879. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *handler,
  880. EventRegistrationToken *token);
  881. HRESULT (STDMETHODCALLTYPE *remove_Updated)(
  882. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  883. EventRegistrationToken token);
  884. HRESULT (STDMETHODCALLTYPE *add_Removed)(
  885. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  886. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *handler,
  887. EventRegistrationToken *token);
  888. HRESULT (STDMETHODCALLTYPE *remove_Removed)(
  889. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  890. EventRegistrationToken token);
  891. HRESULT (STDMETHODCALLTYPE *add_EnumerationCompleted)(
  892. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  893. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *handler,
  894. EventRegistrationToken *token);
  895. HRESULT (STDMETHODCALLTYPE *remove_EnumerationCompleted)(
  896. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  897. EventRegistrationToken token);
  898. HRESULT (STDMETHODCALLTYPE *add_Stopped)(
  899. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  900. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *handler,
  901. EventRegistrationToken *token);
  902. HRESULT (STDMETHODCALLTYPE *remove_Stopped)(
  903. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  904. EventRegistrationToken token);
  905. HRESULT (STDMETHODCALLTYPE *get_Status)(
  906. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This,
  907. enum __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcherStatus *status);
  908. HRESULT (STDMETHODCALLTYPE *Start)(
  909. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This);
  910. HRESULT (STDMETHODCALLTYPE *Stop)(
  911. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *This);
  912. END_INTERFACE
  913. } __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcherVtbl;
  914. interface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher {
  915. CONST_VTBL __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcherVtbl* lpVtbl;
  916. };
  917. #ifdef COBJMACROS
  918. #ifndef WIDL_C_INLINE_WRAPPERS
  919. /*** IUnknown methods ***/
  920. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  921. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_AddRef(This) (This)->lpVtbl->AddRef(This)
  922. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Release(This) (This)->lpVtbl->Release(This)
  923. /*** IInspectable methods ***/
  924. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  925. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  926. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  927. /*** IDeviceWatcher methods ***/
  928. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Added(This,handler,token) (This)->lpVtbl->add_Added(This,handler,token)
  929. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Added(This,token) (This)->lpVtbl->remove_Added(This,token)
  930. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Updated(This,handler,token) (This)->lpVtbl->add_Updated(This,handler,token)
  931. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Updated(This,token) (This)->lpVtbl->remove_Updated(This,token)
  932. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Removed(This,handler,token) (This)->lpVtbl->add_Removed(This,handler,token)
  933. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Removed(This,token) (This)->lpVtbl->remove_Removed(This,token)
  934. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_EnumerationCompleted(This,handler,token) (This)->lpVtbl->add_EnumerationCompleted(This,handler,token)
  935. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_EnumerationCompleted(This,token) (This)->lpVtbl->remove_EnumerationCompleted(This,token)
  936. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Stopped(This,handler,token) (This)->lpVtbl->add_Stopped(This,handler,token)
  937. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Stopped(This,token) (This)->lpVtbl->remove_Stopped(This,token)
  938. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_get_Status(This,status) (This)->lpVtbl->get_Status(This,status)
  939. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Start(This) (This)->lpVtbl->Start(This)
  940. #define __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Stop(This) (This)->lpVtbl->Stop(This)
  941. #else
  942. /*** IUnknown methods ***/
  943. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_QueryInterface(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,REFIID riid,void **ppvObject) {
  944. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  945. }
  946. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_AddRef(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This) {
  947. return This->lpVtbl->AddRef(This);
  948. }
  949. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Release(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This) {
  950. return This->lpVtbl->Release(This);
  951. }
  952. /*** IInspectable methods ***/
  953. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetIids(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,ULONG *iidCount,IID **iids) {
  954. return This->lpVtbl->GetIids(This,iidCount,iids);
  955. }
  956. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,HSTRING *className) {
  957. return This->lpVtbl->GetRuntimeClassName(This,className);
  958. }
  959. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetTrustLevel(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,TrustLevel *trustLevel) {
  960. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  961. }
  962. /*** IDeviceWatcher methods ***/
  963. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Added(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation *handler,EventRegistrationToken *token) {
  964. return This->lpVtbl->add_Added(This,handler,token);
  965. }
  966. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Added(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,EventRegistrationToken token) {
  967. return This->lpVtbl->remove_Added(This,token);
  968. }
  969. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Updated(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *handler,EventRegistrationToken *token) {
  970. return This->lpVtbl->add_Updated(This,handler,token);
  971. }
  972. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Updated(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,EventRegistrationToken token) {
  973. return This->lpVtbl->remove_Updated(This,token);
  974. }
  975. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Removed(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *handler,EventRegistrationToken *token) {
  976. return This->lpVtbl->add_Removed(This,handler,token);
  977. }
  978. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Removed(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,EventRegistrationToken token) {
  979. return This->lpVtbl->remove_Removed(This,token);
  980. }
  981. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_EnumerationCompleted(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *handler,EventRegistrationToken *token) {
  982. return This->lpVtbl->add_EnumerationCompleted(This,handler,token);
  983. }
  984. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_EnumerationCompleted(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,EventRegistrationToken token) {
  985. return This->lpVtbl->remove_EnumerationCompleted(This,token);
  986. }
  987. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Stopped(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *handler,EventRegistrationToken *token) {
  988. return This->lpVtbl->add_Stopped(This,handler,token);
  989. }
  990. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Stopped(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,EventRegistrationToken token) {
  991. return This->lpVtbl->remove_Stopped(This,token);
  992. }
  993. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_get_Status(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This,enum __x_ABI_CWindows_CDevices_CEnumeration_CDeviceWatcherStatus *status) {
  994. return This->lpVtbl->get_Status(This,status);
  995. }
  996. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Start(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This) {
  997. return This->lpVtbl->Start(This);
  998. }
  999. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Stop(__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher* This) {
  1000. return This->lpVtbl->Stop(This);
  1001. }
  1002. #endif
  1003. #ifdef WIDL_using_Windows_Devices_Enumeration
  1004. #define IID_IDeviceWatcher IID___x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher
  1005. #define IDeviceWatcherVtbl __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcherVtbl
  1006. #define IDeviceWatcher __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher
  1007. #define IDeviceWatcher_QueryInterface __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_QueryInterface
  1008. #define IDeviceWatcher_AddRef __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_AddRef
  1009. #define IDeviceWatcher_Release __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Release
  1010. #define IDeviceWatcher_GetIids __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetIids
  1011. #define IDeviceWatcher_GetRuntimeClassName __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetRuntimeClassName
  1012. #define IDeviceWatcher_GetTrustLevel __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_GetTrustLevel
  1013. #define IDeviceWatcher_add_Added __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Added
  1014. #define IDeviceWatcher_remove_Added __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Added
  1015. #define IDeviceWatcher_add_Updated __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Updated
  1016. #define IDeviceWatcher_remove_Updated __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Updated
  1017. #define IDeviceWatcher_add_Removed __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Removed
  1018. #define IDeviceWatcher_remove_Removed __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Removed
  1019. #define IDeviceWatcher_add_EnumerationCompleted __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_EnumerationCompleted
  1020. #define IDeviceWatcher_remove_EnumerationCompleted __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_EnumerationCompleted
  1021. #define IDeviceWatcher_add_Stopped __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_add_Stopped
  1022. #define IDeviceWatcher_remove_Stopped __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_remove_Stopped
  1023. #define IDeviceWatcher_get_Status __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_get_Status
  1024. #define IDeviceWatcher_Start __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Start
  1025. #define IDeviceWatcher_Stop __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_Stop
  1026. #endif /* WIDL_using_Windows_Devices_Enumeration */
  1027. #endif
  1028. #endif
  1029. #endif /* ____x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher_INTERFACE_DEFINED__ */
  1030. /*****************************************************************************
  1031. * IEnclosureLocation interface
  1032. */
  1033. #ifndef ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_INTERFACE_DEFINED__
  1034. #define ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_INTERFACE_DEFINED__
  1035. DEFINE_GUID(IID___x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation, 0x42340a27, 0x5810, 0x459c, 0xaa,0xbb, 0xc6,0x5e,0x1f,0x81,0x3e,0xcf);
  1036. #if defined(__cplusplus) && !defined(CINTERFACE)
  1037. } /* extern "C" */
  1038. namespace ABI {
  1039. namespace Windows {
  1040. namespace Devices {
  1041. namespace Enumeration {
  1042. MIDL_INTERFACE("42340a27-5810-459c-aabb-c65e1f813ecf")
  1043. IEnclosureLocation : public IInspectable
  1044. {
  1045. virtual HRESULT STDMETHODCALLTYPE get_InDock(
  1046. boolean *value) = 0;
  1047. virtual HRESULT STDMETHODCALLTYPE get_InLid(
  1048. boolean *value) = 0;
  1049. virtual HRESULT STDMETHODCALLTYPE get_Panel(
  1050. enum Panel *value) = 0;
  1051. };
  1052. }
  1053. }
  1054. }
  1055. }
  1056. extern "C" {
  1057. #ifdef __CRT_UUID_DECL
  1058. __CRT_UUID_DECL(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation, 0x42340a27, 0x5810, 0x459c, 0xaa,0xbb, 0xc6,0x5e,0x1f,0x81,0x3e,0xcf)
  1059. #endif
  1060. #else
  1061. typedef struct __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocationVtbl {
  1062. BEGIN_INTERFACE
  1063. /*** IUnknown methods ***/
  1064. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1065. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1066. REFIID riid,
  1067. void **ppvObject);
  1068. ULONG (STDMETHODCALLTYPE *AddRef)(
  1069. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This);
  1070. ULONG (STDMETHODCALLTYPE *Release)(
  1071. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This);
  1072. /*** IInspectable methods ***/
  1073. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1074. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1075. ULONG *iidCount,
  1076. IID **iids);
  1077. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1078. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1079. HSTRING *className);
  1080. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1081. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1082. TrustLevel *trustLevel);
  1083. /*** IEnclosureLocation methods ***/
  1084. HRESULT (STDMETHODCALLTYPE *get_InDock)(
  1085. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1086. boolean *value);
  1087. HRESULT (STDMETHODCALLTYPE *get_InLid)(
  1088. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1089. boolean *value);
  1090. HRESULT (STDMETHODCALLTYPE *get_Panel)(
  1091. __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation *This,
  1092. enum __x_ABI_CWindows_CDevices_CEnumeration_CPanel *value);
  1093. END_INTERFACE
  1094. } __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocationVtbl;
  1095. interface __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation {
  1096. CONST_VTBL __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocationVtbl* lpVtbl;
  1097. };
  1098. #ifdef COBJMACROS
  1099. #ifndef WIDL_C_INLINE_WRAPPERS
  1100. /*** IUnknown methods ***/
  1101. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1102. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_AddRef(This) (This)->lpVtbl->AddRef(This)
  1103. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_Release(This) (This)->lpVtbl->Release(This)
  1104. /*** IInspectable methods ***/
  1105. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1106. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1107. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1108. /*** IEnclosureLocation methods ***/
  1109. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_InDock(This,value) (This)->lpVtbl->get_InDock(This,value)
  1110. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_InLid(This,value) (This)->lpVtbl->get_InLid(This,value)
  1111. #define __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_Panel(This,value) (This)->lpVtbl->get_Panel(This,value)
  1112. #else
  1113. /*** IUnknown methods ***/
  1114. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_QueryInterface(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,REFIID riid,void **ppvObject) {
  1115. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1116. }
  1117. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_AddRef(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This) {
  1118. return This->lpVtbl->AddRef(This);
  1119. }
  1120. static FORCEINLINE ULONG __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_Release(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This) {
  1121. return This->lpVtbl->Release(This);
  1122. }
  1123. /*** IInspectable methods ***/
  1124. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetIids(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,ULONG *iidCount,IID **iids) {
  1125. return This->lpVtbl->GetIids(This,iidCount,iids);
  1126. }
  1127. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetRuntimeClassName(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,HSTRING *className) {
  1128. return This->lpVtbl->GetRuntimeClassName(This,className);
  1129. }
  1130. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetTrustLevel(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,TrustLevel *trustLevel) {
  1131. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1132. }
  1133. /*** IEnclosureLocation methods ***/
  1134. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_InDock(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,boolean *value) {
  1135. return This->lpVtbl->get_InDock(This,value);
  1136. }
  1137. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_InLid(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,boolean *value) {
  1138. return This->lpVtbl->get_InLid(This,value);
  1139. }
  1140. static FORCEINLINE HRESULT __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_Panel(__x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation* This,enum __x_ABI_CWindows_CDevices_CEnumeration_CPanel *value) {
  1141. return This->lpVtbl->get_Panel(This,value);
  1142. }
  1143. #endif
  1144. #ifdef WIDL_using_Windows_Devices_Enumeration
  1145. #define IID_IEnclosureLocation IID___x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation
  1146. #define IEnclosureLocationVtbl __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocationVtbl
  1147. #define IEnclosureLocation __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation
  1148. #define IEnclosureLocation_QueryInterface __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_QueryInterface
  1149. #define IEnclosureLocation_AddRef __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_AddRef
  1150. #define IEnclosureLocation_Release __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_Release
  1151. #define IEnclosureLocation_GetIids __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetIids
  1152. #define IEnclosureLocation_GetRuntimeClassName __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetRuntimeClassName
  1153. #define IEnclosureLocation_GetTrustLevel __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_GetTrustLevel
  1154. #define IEnclosureLocation_get_InDock __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_InDock
  1155. #define IEnclosureLocation_get_InLid __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_InLid
  1156. #define IEnclosureLocation_get_Panel __x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_get_Panel
  1157. #endif /* WIDL_using_Windows_Devices_Enumeration */
  1158. #endif
  1159. #endif
  1160. #endif /* ____x_ABI_CWindows_CDevices_CEnumeration_CIEnclosureLocation_INTERFACE_DEFINED__ */
  1161. /*
  1162. * Class Windows.Devices.Enumeration.DeviceInformation
  1163. */
  1164. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  1165. #ifndef RUNTIMECLASS_Windows_Devices_Enumeration_DeviceInformation_DEFINED
  1166. #define RUNTIMECLASS_Windows_Devices_Enumeration_DeviceInformation_DEFINED
  1167. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1168. static const WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceInformation[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','I','n','f','o','r','m','a','t','i','o','n',0};
  1169. #elif defined(__GNUC__) && !defined(__cplusplus)
  1170. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceInformation[] = L"Windows.Devices.Enumeration.DeviceInformation";
  1171. #else
  1172. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceInformation[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','I','n','f','o','r','m','a','t','i','o','n',0};
  1173. #endif
  1174. #endif /* RUNTIMECLASS_Windows_Devices_Enumeration_DeviceInformation_DEFINED */
  1175. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  1176. /*
  1177. * Class Windows.Devices.Enumeration.DeviceInformationUpdate
  1178. */
  1179. #ifndef RUNTIMECLASS_Windows_Devices_Enumeration_DeviceInformationUpdate_DEFINED
  1180. #define RUNTIMECLASS_Windows_Devices_Enumeration_DeviceInformationUpdate_DEFINED
  1181. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1182. static const WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceInformationUpdate[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','I','n','f','o','r','m','a','t','i','o','n','U','p','d','a','t','e',0};
  1183. #elif defined(__GNUC__) && !defined(__cplusplus)
  1184. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceInformationUpdate[] = L"Windows.Devices.Enumeration.DeviceInformationUpdate";
  1185. #else
  1186. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceInformationUpdate[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','I','n','f','o','r','m','a','t','i','o','n','U','p','d','a','t','e',0};
  1187. #endif
  1188. #endif /* RUNTIMECLASS_Windows_Devices_Enumeration_DeviceInformationUpdate_DEFINED */
  1189. /*
  1190. * Class Windows.Devices.Enumeration.DeviceThumbnail
  1191. */
  1192. #ifndef RUNTIMECLASS_Windows_Devices_Enumeration_DeviceThumbnail_DEFINED
  1193. #define RUNTIMECLASS_Windows_Devices_Enumeration_DeviceThumbnail_DEFINED
  1194. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1195. static const WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceThumbnail[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','T','h','u','m','b','n','a','i','l',0};
  1196. #elif defined(__GNUC__) && !defined(__cplusplus)
  1197. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceThumbnail[] = L"Windows.Devices.Enumeration.DeviceThumbnail";
  1198. #else
  1199. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceThumbnail[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','T','h','u','m','b','n','a','i','l',0};
  1200. #endif
  1201. #endif /* RUNTIMECLASS_Windows_Devices_Enumeration_DeviceThumbnail_DEFINED */
  1202. /*
  1203. * Class Windows.Devices.Enumeration.DeviceWatcher
  1204. */
  1205. #ifndef RUNTIMECLASS_Windows_Devices_Enumeration_DeviceWatcher_DEFINED
  1206. #define RUNTIMECLASS_Windows_Devices_Enumeration_DeviceWatcher_DEFINED
  1207. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1208. static const WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceWatcher[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','W','a','t','c','h','e','r',0};
  1209. #elif defined(__GNUC__) && !defined(__cplusplus)
  1210. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceWatcher[] = L"Windows.Devices.Enumeration.DeviceWatcher";
  1211. #else
  1212. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_DeviceWatcher[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','D','e','v','i','c','e','W','a','t','c','h','e','r',0};
  1213. #endif
  1214. #endif /* RUNTIMECLASS_Windows_Devices_Enumeration_DeviceWatcher_DEFINED */
  1215. /*
  1216. * Class Windows.Devices.Enumeration.EnclosureLocation
  1217. */
  1218. #ifndef RUNTIMECLASS_Windows_Devices_Enumeration_EnclosureLocation_DEFINED
  1219. #define RUNTIMECLASS_Windows_Devices_Enumeration_EnclosureLocation_DEFINED
  1220. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1221. static const WCHAR RuntimeClass_Windows_Devices_Enumeration_EnclosureLocation[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','E','n','c','l','o','s','u','r','e','L','o','c','a','t','i','o','n',0};
  1222. #elif defined(__GNUC__) && !defined(__cplusplus)
  1223. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_EnclosureLocation[] = L"Windows.Devices.Enumeration.EnclosureLocation";
  1224. #else
  1225. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Devices_Enumeration_EnclosureLocation[] = {'W','i','n','d','o','w','s','.','D','e','v','i','c','e','s','.','E','n','u','m','e','r','a','t','i','o','n','.','E','n','c','l','o','s','u','r','e','L','o','c','a','t','i','o','n',0};
  1226. #endif
  1227. #endif /* RUNTIMECLASS_Windows_Devices_Enumeration_EnclosureLocation_DEFINED */
  1228. /*****************************************************************************
  1229. * IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceInformation* > interface
  1230. */
  1231. #ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__
  1232. #define ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__
  1233. DEFINE_GUID(IID___FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation, 0xbb483df2, 0x7bb6, 0x5923, 0xa2,0x8d, 0x83,0x42,0xec,0x30,0x04,0x6b);
  1234. #if defined(__cplusplus) && !defined(CINTERFACE)
  1235. } /* extern "C" */
  1236. namespace ABI {
  1237. namespace Windows {
  1238. namespace Foundation {
  1239. template<>
  1240. MIDL_INTERFACE("bb483df2-7bb6-5923-a28d-8342ec30046b")
  1241. IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceInformation* > : IAsyncOperationCompletedHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceInformation*, ABI::Windows::Devices::Enumeration::IDeviceInformation* > >
  1242. {
  1243. };
  1244. }
  1245. }
  1246. }
  1247. extern "C" {
  1248. #ifdef __CRT_UUID_DECL
  1249. __CRT_UUID_DECL(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation, 0xbb483df2, 0x7bb6, 0x5923, 0xa2,0x8d, 0x83,0x42,0xec,0x30,0x04,0x6b)
  1250. #endif
  1251. #else
  1252. typedef struct __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl {
  1253. BEGIN_INTERFACE
  1254. /*** IUnknown methods ***/
  1255. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1256. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1257. REFIID riid,
  1258. void **ppvObject);
  1259. ULONG (STDMETHODCALLTYPE *AddRef)(
  1260. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation *This);
  1261. ULONG (STDMETHODCALLTYPE *Release)(
  1262. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation *This);
  1263. /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1264. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1265. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1266. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *info,
  1267. AsyncStatus status);
  1268. END_INTERFACE
  1269. } __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl;
  1270. interface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation {
  1271. CONST_VTBL __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl* lpVtbl;
  1272. };
  1273. #ifdef COBJMACROS
  1274. #ifndef WIDL_C_INLINE_WRAPPERS
  1275. /*** IUnknown methods ***/
  1276. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1277. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
  1278. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_Release(This) (This)->lpVtbl->Release(This)
  1279. /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1280. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_Invoke(This,info,status) (This)->lpVtbl->Invoke(This,info,status)
  1281. #else
  1282. /*** IUnknown methods ***/
  1283. static FORCEINLINE HRESULT __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,REFIID riid,void **ppvObject) {
  1284. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1285. }
  1286. static FORCEINLINE ULONG __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation* This) {
  1287. return This->lpVtbl->AddRef(This);
  1288. }
  1289. static FORCEINLINE ULONG __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_Release(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation* This) {
  1290. return This->lpVtbl->Release(This);
  1291. }
  1292. /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1293. static FORCEINLINE HRESULT __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_Invoke(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *info,AsyncStatus status) {
  1294. return This->lpVtbl->Invoke(This,info,status);
  1295. }
  1296. #endif
  1297. #ifdef WIDL_using_Windows_Foundation
  1298. #define IID_IAsyncOperationCompletedHandler_DeviceInformation IID___FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation
  1299. #define IAsyncOperationCompletedHandler_DeviceInformationVtbl __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl
  1300. #define IAsyncOperationCompletedHandler_DeviceInformation __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation
  1301. #define IAsyncOperationCompletedHandler_DeviceInformation_QueryInterface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface
  1302. #define IAsyncOperationCompletedHandler_DeviceInformation_AddRef __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef
  1303. #define IAsyncOperationCompletedHandler_DeviceInformation_Release __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_Release
  1304. #define IAsyncOperationCompletedHandler_DeviceInformation_Invoke __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_Invoke
  1305. #endif /* WIDL_using_Windows_Foundation */
  1306. #endif
  1307. #endif
  1308. #endif /* ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__ */
  1309. /*****************************************************************************
  1310. * IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > interface
  1311. */
  1312. #ifndef ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_INTERFACE_DEFINED__
  1313. #define ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_INTERFACE_DEFINED__
  1314. DEFINE_GUID(IID___FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail, 0x86d455b2, 0xd795, 0x554c, 0x9c,0x31, 0xbf,0x65,0x39,0x34,0x9c,0x19);
  1315. #if defined(__cplusplus) && !defined(CINTERFACE)
  1316. } /* extern "C" */
  1317. namespace ABI {
  1318. namespace Windows {
  1319. namespace Foundation {
  1320. template<>
  1321. MIDL_INTERFACE("86d455b2-d795-554c-9c31-bf6539349c19")
  1322. IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > : IAsyncOperationCompletedHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceThumbnail*, ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType* > >
  1323. {
  1324. };
  1325. }
  1326. }
  1327. }
  1328. extern "C" {
  1329. #ifdef __CRT_UUID_DECL
  1330. __CRT_UUID_DECL(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail, 0x86d455b2, 0xd795, 0x554c, 0x9c,0x31, 0xbf,0x65,0x39,0x34,0x9c,0x19)
  1331. #endif
  1332. #else
  1333. typedef struct __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl {
  1334. BEGIN_INTERFACE
  1335. /*** IUnknown methods ***/
  1336. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1337. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1338. REFIID riid,
  1339. void **ppvObject);
  1340. ULONG (STDMETHODCALLTYPE *AddRef)(
  1341. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This);
  1342. ULONG (STDMETHODCALLTYPE *Release)(
  1343. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This);
  1344. /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > methods ***/
  1345. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1346. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1347. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *info,
  1348. AsyncStatus status);
  1349. END_INTERFACE
  1350. } __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl;
  1351. interface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail {
  1352. CONST_VTBL __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl* lpVtbl;
  1353. };
  1354. #ifdef COBJMACROS
  1355. #ifndef WIDL_C_INLINE_WRAPPERS
  1356. /*** IUnknown methods ***/
  1357. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1358. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_AddRef(This) (This)->lpVtbl->AddRef(This)
  1359. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Release(This) (This)->lpVtbl->Release(This)
  1360. /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > methods ***/
  1361. #define __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Invoke(This,info,status) (This)->lpVtbl->Invoke(This,info,status)
  1362. #else
  1363. /*** IUnknown methods ***/
  1364. static FORCEINLINE HRESULT __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_QueryInterface(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,REFIID riid,void **ppvObject) {
  1365. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1366. }
  1367. static FORCEINLINE ULONG __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_AddRef(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This) {
  1368. return This->lpVtbl->AddRef(This);
  1369. }
  1370. static FORCEINLINE ULONG __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Release(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This) {
  1371. return This->lpVtbl->Release(This);
  1372. }
  1373. /*** IAsyncOperationCompletedHandler<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > methods ***/
  1374. static FORCEINLINE HRESULT __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Invoke(__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *info,AsyncStatus status) {
  1375. return This->lpVtbl->Invoke(This,info,status);
  1376. }
  1377. #endif
  1378. #ifdef WIDL_using_Windows_Foundation
  1379. #define IID_IAsyncOperationCompletedHandler_DeviceThumbnail IID___FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail
  1380. #define IAsyncOperationCompletedHandler_DeviceThumbnailVtbl __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl
  1381. #define IAsyncOperationCompletedHandler_DeviceThumbnail __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail
  1382. #define IAsyncOperationCompletedHandler_DeviceThumbnail_QueryInterface __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_QueryInterface
  1383. #define IAsyncOperationCompletedHandler_DeviceThumbnail_AddRef __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_AddRef
  1384. #define IAsyncOperationCompletedHandler_DeviceThumbnail_Release __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Release
  1385. #define IAsyncOperationCompletedHandler_DeviceThumbnail_Invoke __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Invoke
  1386. #endif /* WIDL_using_Windows_Foundation */
  1387. #endif
  1388. #endif
  1389. #endif /* ____FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_INTERFACE_DEFINED__ */
  1390. /*****************************************************************************
  1391. * IMapView<HSTRING,IInspectable* > interface
  1392. */
  1393. #ifndef ____FIMapView_2_HSTRING_IInspectable_INTERFACE_DEFINED__
  1394. #define ____FIMapView_2_HSTRING_IInspectable_INTERFACE_DEFINED__
  1395. DEFINE_GUID(IID___FIMapView_2_HSTRING_IInspectable, 0x7da2e9fd, 0x4602, 0x513a, 0xb8,0xc1, 0xfe,0xb0,0xfd,0xd3,0x5c,0xfc);
  1396. #if defined(__cplusplus) && !defined(CINTERFACE)
  1397. } /* extern "C" */
  1398. namespace ABI {
  1399. namespace Windows {
  1400. namespace Foundation {
  1401. namespace Collections {
  1402. template<>
  1403. MIDL_INTERFACE("7da2e9fd-4602-513a-b8c1-feb0fdd35cfc")
  1404. IMapView<HSTRING,IInspectable* > : IMapView_impl<HSTRING, IInspectable* >
  1405. {
  1406. };
  1407. }
  1408. }
  1409. }
  1410. }
  1411. extern "C" {
  1412. #ifdef __CRT_UUID_DECL
  1413. __CRT_UUID_DECL(__FIMapView_2_HSTRING_IInspectable, 0x7da2e9fd, 0x4602, 0x513a, 0xb8,0xc1, 0xfe,0xb0,0xfd,0xd3,0x5c,0xfc)
  1414. #endif
  1415. #else
  1416. typedef struct __FIMapView_2_HSTRING_IInspectableVtbl {
  1417. BEGIN_INTERFACE
  1418. /*** IUnknown methods ***/
  1419. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1420. __FIMapView_2_HSTRING_IInspectable *This,
  1421. REFIID riid,
  1422. void **ppvObject);
  1423. ULONG (STDMETHODCALLTYPE *AddRef)(
  1424. __FIMapView_2_HSTRING_IInspectable *This);
  1425. ULONG (STDMETHODCALLTYPE *Release)(
  1426. __FIMapView_2_HSTRING_IInspectable *This);
  1427. /*** IInspectable methods ***/
  1428. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1429. __FIMapView_2_HSTRING_IInspectable *This,
  1430. ULONG *iidCount,
  1431. IID **iids);
  1432. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1433. __FIMapView_2_HSTRING_IInspectable *This,
  1434. HSTRING *className);
  1435. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1436. __FIMapView_2_HSTRING_IInspectable *This,
  1437. TrustLevel *trustLevel);
  1438. /*** IMapView<HSTRING,IInspectable* > methods ***/
  1439. HRESULT (STDMETHODCALLTYPE *Lookup)(
  1440. __FIMapView_2_HSTRING_IInspectable *This,
  1441. HSTRING key,
  1442. IInspectable **value);
  1443. HRESULT (STDMETHODCALLTYPE *get_Size)(
  1444. __FIMapView_2_HSTRING_IInspectable *This,
  1445. unsigned int *size);
  1446. HRESULT (STDMETHODCALLTYPE *HasKey)(
  1447. __FIMapView_2_HSTRING_IInspectable *This,
  1448. HSTRING key,
  1449. boolean *found);
  1450. HRESULT (STDMETHODCALLTYPE *Split)(
  1451. __FIMapView_2_HSTRING_IInspectable *This,
  1452. __FIMapView_2_HSTRING_IInspectable **first,
  1453. __FIMapView_2_HSTRING_IInspectable **second);
  1454. END_INTERFACE
  1455. } __FIMapView_2_HSTRING_IInspectableVtbl;
  1456. interface __FIMapView_2_HSTRING_IInspectable {
  1457. CONST_VTBL __FIMapView_2_HSTRING_IInspectableVtbl* lpVtbl;
  1458. };
  1459. #ifdef COBJMACROS
  1460. #ifndef WIDL_C_INLINE_WRAPPERS
  1461. /*** IUnknown methods ***/
  1462. #define __FIMapView_2_HSTRING_IInspectable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1463. #define __FIMapView_2_HSTRING_IInspectable_AddRef(This) (This)->lpVtbl->AddRef(This)
  1464. #define __FIMapView_2_HSTRING_IInspectable_Release(This) (This)->lpVtbl->Release(This)
  1465. /*** IInspectable methods ***/
  1466. #define __FIMapView_2_HSTRING_IInspectable_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1467. #define __FIMapView_2_HSTRING_IInspectable_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1468. #define __FIMapView_2_HSTRING_IInspectable_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1469. /*** IMapView<HSTRING,IInspectable* > methods ***/
  1470. #define __FIMapView_2_HSTRING_IInspectable_Lookup(This,key,value) (This)->lpVtbl->Lookup(This,key,value)
  1471. #define __FIMapView_2_HSTRING_IInspectable_get_Size(This,size) (This)->lpVtbl->get_Size(This,size)
  1472. #define __FIMapView_2_HSTRING_IInspectable_HasKey(This,key,found) (This)->lpVtbl->HasKey(This,key,found)
  1473. #define __FIMapView_2_HSTRING_IInspectable_Split(This,first,second) (This)->lpVtbl->Split(This,first,second)
  1474. #else
  1475. /*** IUnknown methods ***/
  1476. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_QueryInterface(__FIMapView_2_HSTRING_IInspectable* This,REFIID riid,void **ppvObject) {
  1477. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1478. }
  1479. static FORCEINLINE ULONG __FIMapView_2_HSTRING_IInspectable_AddRef(__FIMapView_2_HSTRING_IInspectable* This) {
  1480. return This->lpVtbl->AddRef(This);
  1481. }
  1482. static FORCEINLINE ULONG __FIMapView_2_HSTRING_IInspectable_Release(__FIMapView_2_HSTRING_IInspectable* This) {
  1483. return This->lpVtbl->Release(This);
  1484. }
  1485. /*** IInspectable methods ***/
  1486. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_GetIids(__FIMapView_2_HSTRING_IInspectable* This,ULONG *iidCount,IID **iids) {
  1487. return This->lpVtbl->GetIids(This,iidCount,iids);
  1488. }
  1489. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_GetRuntimeClassName(__FIMapView_2_HSTRING_IInspectable* This,HSTRING *className) {
  1490. return This->lpVtbl->GetRuntimeClassName(This,className);
  1491. }
  1492. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_GetTrustLevel(__FIMapView_2_HSTRING_IInspectable* This,TrustLevel *trustLevel) {
  1493. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1494. }
  1495. /*** IMapView<HSTRING,IInspectable* > methods ***/
  1496. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_Lookup(__FIMapView_2_HSTRING_IInspectable* This,HSTRING key,IInspectable **value) {
  1497. return This->lpVtbl->Lookup(This,key,value);
  1498. }
  1499. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_get_Size(__FIMapView_2_HSTRING_IInspectable* This,unsigned int *size) {
  1500. return This->lpVtbl->get_Size(This,size);
  1501. }
  1502. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_HasKey(__FIMapView_2_HSTRING_IInspectable* This,HSTRING key,boolean *found) {
  1503. return This->lpVtbl->HasKey(This,key,found);
  1504. }
  1505. static FORCEINLINE HRESULT __FIMapView_2_HSTRING_IInspectable_Split(__FIMapView_2_HSTRING_IInspectable* This,__FIMapView_2_HSTRING_IInspectable **first,__FIMapView_2_HSTRING_IInspectable **second) {
  1506. return This->lpVtbl->Split(This,first,second);
  1507. }
  1508. #endif
  1509. #ifdef WIDL_using_Windows_Foundation_Collections
  1510. #define IID_IMapView_HSTRING_IInspectable IID___FIMapView_2_HSTRING_IInspectable
  1511. #define IMapView_HSTRING_IInspectableVtbl __FIMapView_2_HSTRING_IInspectableVtbl
  1512. #define IMapView_HSTRING_IInspectable __FIMapView_2_HSTRING_IInspectable
  1513. #define IMapView_HSTRING_IInspectable_QueryInterface __FIMapView_2_HSTRING_IInspectable_QueryInterface
  1514. #define IMapView_HSTRING_IInspectable_AddRef __FIMapView_2_HSTRING_IInspectable_AddRef
  1515. #define IMapView_HSTRING_IInspectable_Release __FIMapView_2_HSTRING_IInspectable_Release
  1516. #define IMapView_HSTRING_IInspectable_GetIids __FIMapView_2_HSTRING_IInspectable_GetIids
  1517. #define IMapView_HSTRING_IInspectable_GetRuntimeClassName __FIMapView_2_HSTRING_IInspectable_GetRuntimeClassName
  1518. #define IMapView_HSTRING_IInspectable_GetTrustLevel __FIMapView_2_HSTRING_IInspectable_GetTrustLevel
  1519. #define IMapView_HSTRING_IInspectable_Lookup __FIMapView_2_HSTRING_IInspectable_Lookup
  1520. #define IMapView_HSTRING_IInspectable_get_Size __FIMapView_2_HSTRING_IInspectable_get_Size
  1521. #define IMapView_HSTRING_IInspectable_HasKey __FIMapView_2_HSTRING_IInspectable_HasKey
  1522. #define IMapView_HSTRING_IInspectable_Split __FIMapView_2_HSTRING_IInspectable_Split
  1523. #endif /* WIDL_using_Windows_Foundation_Collections */
  1524. #endif
  1525. #endif
  1526. #endif /* ____FIMapView_2_HSTRING_IInspectable_INTERFACE_DEFINED__ */
  1527. /*****************************************************************************
  1528. * IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* > interface
  1529. */
  1530. #ifndef ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__
  1531. #define ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__
  1532. DEFINE_GUID(IID___FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation, 0x07faa053, 0xeb2f, 0x5cba, 0xb2,0x5b, 0xd9,0xd5,0x7b,0xe6,0x71,0x5f);
  1533. #if defined(__cplusplus) && !defined(CINTERFACE)
  1534. } /* extern "C" */
  1535. namespace ABI {
  1536. namespace Windows {
  1537. namespace Foundation {
  1538. template<>
  1539. MIDL_INTERFACE("07faa053-eb2f-5cba-b25b-d9d57be6715f")
  1540. IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* > : IAsyncOperation_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceInformation*, ABI::Windows::Devices::Enumeration::IDeviceInformation* > >
  1541. {
  1542. };
  1543. }
  1544. }
  1545. }
  1546. extern "C" {
  1547. #ifdef __CRT_UUID_DECL
  1548. __CRT_UUID_DECL(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation, 0x07faa053, 0xeb2f, 0x5cba, 0xb2,0x5b, 0xd9,0xd5,0x7b,0xe6,0x71,0x5f)
  1549. #endif
  1550. #else
  1551. typedef struct __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl {
  1552. BEGIN_INTERFACE
  1553. /*** IUnknown methods ***/
  1554. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1555. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1556. REFIID riid,
  1557. void **ppvObject);
  1558. ULONG (STDMETHODCALLTYPE *AddRef)(
  1559. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This);
  1560. ULONG (STDMETHODCALLTYPE *Release)(
  1561. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This);
  1562. /*** IInspectable methods ***/
  1563. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1564. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1565. ULONG *iidCount,
  1566. IID **iids);
  1567. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1568. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1569. HSTRING *className);
  1570. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1571. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1572. TrustLevel *trustLevel);
  1573. /*** IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1574. HRESULT (STDMETHODCALLTYPE *put_Completed)(
  1575. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1576. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation *handler);
  1577. HRESULT (STDMETHODCALLTYPE *get_Completed)(
  1578. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1579. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation **handler);
  1580. HRESULT (STDMETHODCALLTYPE *GetResults)(
  1581. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1582. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation **results);
  1583. END_INTERFACE
  1584. } __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl;
  1585. interface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation {
  1586. CONST_VTBL __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl* lpVtbl;
  1587. };
  1588. #ifdef COBJMACROS
  1589. #ifndef WIDL_C_INLINE_WRAPPERS
  1590. /*** IUnknown methods ***/
  1591. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1592. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
  1593. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_Release(This) (This)->lpVtbl->Release(This)
  1594. /*** IInspectable methods ***/
  1595. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1596. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1597. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1598. /*** IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1599. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_put_Completed(This,handler) (This)->lpVtbl->put_Completed(This,handler)
  1600. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_get_Completed(This,handler) (This)->lpVtbl->get_Completed(This,handler)
  1601. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetResults(This,results) (This)->lpVtbl->GetResults(This,results)
  1602. #else
  1603. /*** IUnknown methods ***/
  1604. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,REFIID riid,void **ppvObject) {
  1605. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1606. }
  1607. static FORCEINLINE ULONG __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This) {
  1608. return This->lpVtbl->AddRef(This);
  1609. }
  1610. static FORCEINLINE ULONG __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_Release(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This) {
  1611. return This->lpVtbl->Release(This);
  1612. }
  1613. /*** IInspectable methods ***/
  1614. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetIids(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,ULONG *iidCount,IID **iids) {
  1615. return This->lpVtbl->GetIids(This,iidCount,iids);
  1616. }
  1617. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetRuntimeClassName(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,HSTRING *className) {
  1618. return This->lpVtbl->GetRuntimeClassName(This,className);
  1619. }
  1620. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetTrustLevel(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,TrustLevel *trustLevel) {
  1621. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1622. }
  1623. /*** IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1624. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_put_Completed(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation *handler) {
  1625. return This->lpVtbl->put_Completed(This,handler);
  1626. }
  1627. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_get_Completed(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceInformation **handler) {
  1628. return This->lpVtbl->get_Completed(This,handler);
  1629. }
  1630. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetResults(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation* This,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation **results) {
  1631. return This->lpVtbl->GetResults(This,results);
  1632. }
  1633. #endif
  1634. #ifdef WIDL_using_Windows_Foundation
  1635. #define IID_IAsyncOperation_DeviceInformation IID___FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation
  1636. #define IAsyncOperation_DeviceInformationVtbl __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformationVtbl
  1637. #define IAsyncOperation_DeviceInformation __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation
  1638. #define IAsyncOperation_DeviceInformation_QueryInterface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface
  1639. #define IAsyncOperation_DeviceInformation_AddRef __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef
  1640. #define IAsyncOperation_DeviceInformation_Release __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_Release
  1641. #define IAsyncOperation_DeviceInformation_GetIids __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetIids
  1642. #define IAsyncOperation_DeviceInformation_GetRuntimeClassName __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetRuntimeClassName
  1643. #define IAsyncOperation_DeviceInformation_GetTrustLevel __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetTrustLevel
  1644. #define IAsyncOperation_DeviceInformation_put_Completed __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_put_Completed
  1645. #define IAsyncOperation_DeviceInformation_get_Completed __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_get_Completed
  1646. #define IAsyncOperation_DeviceInformation_GetResults __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_GetResults
  1647. #endif /* WIDL_using_Windows_Foundation */
  1648. #endif
  1649. #endif
  1650. #endif /* ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__ */
  1651. /*****************************************************************************
  1652. * IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > interface
  1653. */
  1654. #ifndef ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_INTERFACE_DEFINED__
  1655. #define ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_INTERFACE_DEFINED__
  1656. DEFINE_GUID(IID___FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail, 0xbac083a3, 0x3a19, 0x5072, 0x9d,0x90, 0x13,0x33,0x23,0xa0,0x49,0xba);
  1657. #if defined(__cplusplus) && !defined(CINTERFACE)
  1658. } /* extern "C" */
  1659. namespace ABI {
  1660. namespace Windows {
  1661. namespace Foundation {
  1662. template<>
  1663. MIDL_INTERFACE("bac083a3-3a19-5072-9d90-133323a049ba")
  1664. IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > : IAsyncOperation_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceThumbnail*, ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType* > >
  1665. {
  1666. };
  1667. }
  1668. }
  1669. }
  1670. extern "C" {
  1671. #ifdef __CRT_UUID_DECL
  1672. __CRT_UUID_DECL(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail, 0xbac083a3, 0x3a19, 0x5072, 0x9d,0x90, 0x13,0x33,0x23,0xa0,0x49,0xba)
  1673. #endif
  1674. #else
  1675. typedef struct __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl {
  1676. BEGIN_INTERFACE
  1677. /*** IUnknown methods ***/
  1678. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1679. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1680. REFIID riid,
  1681. void **ppvObject);
  1682. ULONG (STDMETHODCALLTYPE *AddRef)(
  1683. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This);
  1684. ULONG (STDMETHODCALLTYPE *Release)(
  1685. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This);
  1686. /*** IInspectable methods ***/
  1687. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1688. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1689. ULONG *iidCount,
  1690. IID **iids);
  1691. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1692. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1693. HSTRING *className);
  1694. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1695. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1696. TrustLevel *trustLevel);
  1697. /*** IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > methods ***/
  1698. HRESULT (STDMETHODCALLTYPE *put_Completed)(
  1699. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1700. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *handler);
  1701. HRESULT (STDMETHODCALLTYPE *get_Completed)(
  1702. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1703. __FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail **handler);
  1704. HRESULT (STDMETHODCALLTYPE *GetResults)(
  1705. __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *This,
  1706. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType **results);
  1707. END_INTERFACE
  1708. } __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl;
  1709. interface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail {
  1710. CONST_VTBL __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl* lpVtbl;
  1711. };
  1712. #ifdef COBJMACROS
  1713. #ifndef WIDL_C_INLINE_WRAPPERS
  1714. /*** IUnknown methods ***/
  1715. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1716. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_AddRef(This) (This)->lpVtbl->AddRef(This)
  1717. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Release(This) (This)->lpVtbl->Release(This)
  1718. /*** IInspectable methods ***/
  1719. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1720. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1721. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1722. /*** IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > methods ***/
  1723. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_put_Completed(This,handler) (This)->lpVtbl->put_Completed(This,handler)
  1724. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_get_Completed(This,handler) (This)->lpVtbl->get_Completed(This,handler)
  1725. #define __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetResults(This,results) (This)->lpVtbl->GetResults(This,results)
  1726. #else
  1727. /*** IUnknown methods ***/
  1728. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_QueryInterface(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,REFIID riid,void **ppvObject) {
  1729. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1730. }
  1731. static FORCEINLINE ULONG __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_AddRef(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This) {
  1732. return This->lpVtbl->AddRef(This);
  1733. }
  1734. static FORCEINLINE ULONG __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Release(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This) {
  1735. return This->lpVtbl->Release(This);
  1736. }
  1737. /*** IInspectable methods ***/
  1738. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetIids(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,ULONG *iidCount,IID **iids) {
  1739. return This->lpVtbl->GetIids(This,iidCount,iids);
  1740. }
  1741. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetRuntimeClassName(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,HSTRING *className) {
  1742. return This->lpVtbl->GetRuntimeClassName(This,className);
  1743. }
  1744. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetTrustLevel(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,TrustLevel *trustLevel) {
  1745. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1746. }
  1747. /*** IAsyncOperation<ABI::Windows::Devices::Enumeration::DeviceThumbnail* > methods ***/
  1748. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_put_Completed(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail *handler) {
  1749. return This->lpVtbl->put_Completed(This,handler);
  1750. }
  1751. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_get_Completed(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,__FIAsyncOperationCompletedHandler_1_Windows__CDevices__CEnumeration__CDeviceThumbnail **handler) {
  1752. return This->lpVtbl->get_Completed(This,handler);
  1753. }
  1754. static FORCEINLINE HRESULT __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetResults(__FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail* This,__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType **results) {
  1755. return This->lpVtbl->GetResults(This,results);
  1756. }
  1757. #endif
  1758. #ifdef WIDL_using_Windows_Foundation
  1759. #define IID_IAsyncOperation_DeviceThumbnail IID___FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail
  1760. #define IAsyncOperation_DeviceThumbnailVtbl __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnailVtbl
  1761. #define IAsyncOperation_DeviceThumbnail __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail
  1762. #define IAsyncOperation_DeviceThumbnail_QueryInterface __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_QueryInterface
  1763. #define IAsyncOperation_DeviceThumbnail_AddRef __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_AddRef
  1764. #define IAsyncOperation_DeviceThumbnail_Release __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_Release
  1765. #define IAsyncOperation_DeviceThumbnail_GetIids __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetIids
  1766. #define IAsyncOperation_DeviceThumbnail_GetRuntimeClassName __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetRuntimeClassName
  1767. #define IAsyncOperation_DeviceThumbnail_GetTrustLevel __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetTrustLevel
  1768. #define IAsyncOperation_DeviceThumbnail_put_Completed __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_put_Completed
  1769. #define IAsyncOperation_DeviceThumbnail_get_Completed __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_get_Completed
  1770. #define IAsyncOperation_DeviceThumbnail_GetResults __FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_GetResults
  1771. #endif /* WIDL_using_Windows_Foundation */
  1772. #endif
  1773. #endif
  1774. #endif /* ____FIAsyncOperation_1_Windows__CDevices__CEnumeration__CDeviceThumbnail_INTERFACE_DEFINED__ */
  1775. /*****************************************************************************
  1776. * ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > interface
  1777. */
  1778. #ifndef ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_INTERFACE_DEFINED__
  1779. #define ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_INTERFACE_DEFINED__
  1780. DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable, 0xc82fd42d, 0xdc82, 0x5843, 0x9c,0xfd, 0xcc,0x38,0xb5,0xdf,0x10,0xb2);
  1781. #if defined(__cplusplus) && !defined(CINTERFACE)
  1782. } /* extern "C" */
  1783. namespace ABI {
  1784. namespace Windows {
  1785. namespace Foundation {
  1786. template<>
  1787. MIDL_INTERFACE("c82fd42d-dc82-5843-9cfd-cc38b5df10b2")
  1788. ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceWatcher*, ABI::Windows::Devices::Enumeration::IDeviceWatcher* >, IInspectable* >
  1789. {
  1790. };
  1791. }
  1792. }
  1793. }
  1794. extern "C" {
  1795. #ifdef __CRT_UUID_DECL
  1796. __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable, 0xc82fd42d, 0xdc82, 0x5843, 0x9c,0xfd, 0xcc,0x38,0xb5,0xdf,0x10,0xb2)
  1797. #endif
  1798. #else
  1799. typedef struct __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectableVtbl {
  1800. BEGIN_INTERFACE
  1801. /*** IUnknown methods ***/
  1802. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1803. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *This,
  1804. REFIID riid,
  1805. void **ppvObject);
  1806. ULONG (STDMETHODCALLTYPE *AddRef)(
  1807. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *This);
  1808. ULONG (STDMETHODCALLTYPE *Release)(
  1809. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *This);
  1810. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > methods ***/
  1811. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1812. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable *This,
  1813. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *sender,
  1814. IInspectable *args);
  1815. END_INTERFACE
  1816. } __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectableVtbl;
  1817. interface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable {
  1818. CONST_VTBL __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectableVtbl* lpVtbl;
  1819. };
  1820. #ifdef COBJMACROS
  1821. #ifndef WIDL_C_INLINE_WRAPPERS
  1822. /*** IUnknown methods ***/
  1823. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1824. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_AddRef(This) (This)->lpVtbl->AddRef(This)
  1825. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_Release(This) (This)->lpVtbl->Release(This)
  1826. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > methods ***/
  1827. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  1828. #else
  1829. /*** IUnknown methods ***/
  1830. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_QueryInterface(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable* This,REFIID riid,void **ppvObject) {
  1831. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1832. }
  1833. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_AddRef(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable* This) {
  1834. return This->lpVtbl->AddRef(This);
  1835. }
  1836. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_Release(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable* This) {
  1837. return This->lpVtbl->Release(This);
  1838. }
  1839. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,IInspectable* > methods ***/
  1840. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_Invoke(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable* This,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *sender,IInspectable *args) {
  1841. return This->lpVtbl->Invoke(This,sender,args);
  1842. }
  1843. #endif
  1844. #ifdef WIDL_using_Windows_Foundation
  1845. #define IID_ITypedEventHandler_DeviceWatcher_IInspectable IID___FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable
  1846. #define ITypedEventHandler_DeviceWatcher_IInspectableVtbl __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectableVtbl
  1847. #define ITypedEventHandler_DeviceWatcher_IInspectable __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable
  1848. #define ITypedEventHandler_DeviceWatcher_IInspectable_QueryInterface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_QueryInterface
  1849. #define ITypedEventHandler_DeviceWatcher_IInspectable_AddRef __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_AddRef
  1850. #define ITypedEventHandler_DeviceWatcher_IInspectable_Release __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_Release
  1851. #define ITypedEventHandler_DeviceWatcher_IInspectable_Invoke __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_Invoke
  1852. #endif /* WIDL_using_Windows_Foundation */
  1853. #endif
  1854. #endif
  1855. #endif /* ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_IInspectable_INTERFACE_DEFINED__ */
  1856. /*****************************************************************************
  1857. * ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* > interface
  1858. */
  1859. #ifndef ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__
  1860. #define ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__
  1861. DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation, 0x03c5a07b, 0x990c, 0x5d09, 0xb0,0xb8, 0x57,0x34,0xea,0xa3,0x82,0x22);
  1862. #if defined(__cplusplus) && !defined(CINTERFACE)
  1863. } /* extern "C" */
  1864. namespace ABI {
  1865. namespace Windows {
  1866. namespace Foundation {
  1867. template<>
  1868. MIDL_INTERFACE("03c5a07b-990c-5d09-b0b8-5734eaa38222")
  1869. ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceWatcher*, ABI::Windows::Devices::Enumeration::IDeviceWatcher* >, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceInformation*, ABI::Windows::Devices::Enumeration::IDeviceInformation* > >
  1870. {
  1871. };
  1872. }
  1873. }
  1874. }
  1875. extern "C" {
  1876. #ifdef __CRT_UUID_DECL
  1877. __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation, 0x03c5a07b, 0x990c, 0x5d09, 0xb0,0xb8, 0x57,0x34,0xea,0xa3,0x82,0x22)
  1878. #endif
  1879. #else
  1880. typedef struct __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationVtbl {
  1881. BEGIN_INTERFACE
  1882. /*** IUnknown methods ***/
  1883. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1884. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1885. REFIID riid,
  1886. void **ppvObject);
  1887. ULONG (STDMETHODCALLTYPE *AddRef)(
  1888. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation *This);
  1889. ULONG (STDMETHODCALLTYPE *Release)(
  1890. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation *This);
  1891. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1892. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1893. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation *This,
  1894. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *sender,
  1895. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *args);
  1896. END_INTERFACE
  1897. } __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationVtbl;
  1898. interface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation {
  1899. CONST_VTBL __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationVtbl* lpVtbl;
  1900. };
  1901. #ifdef COBJMACROS
  1902. #ifndef WIDL_C_INLINE_WRAPPERS
  1903. /*** IUnknown methods ***/
  1904. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1905. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef(This) (This)->lpVtbl->AddRef(This)
  1906. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_Release(This) (This)->lpVtbl->Release(This)
  1907. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1908. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  1909. #else
  1910. /*** IUnknown methods ***/
  1911. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation* This,REFIID riid,void **ppvObject) {
  1912. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1913. }
  1914. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation* This) {
  1915. return This->lpVtbl->AddRef(This);
  1916. }
  1917. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_Release(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation* This) {
  1918. return This->lpVtbl->Release(This);
  1919. }
  1920. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformation* > methods ***/
  1921. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_Invoke(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation* This,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *sender,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformation *args) {
  1922. return This->lpVtbl->Invoke(This,sender,args);
  1923. }
  1924. #endif
  1925. #ifdef WIDL_using_Windows_Foundation
  1926. #define IID_ITypedEventHandler_DeviceWatcher_DeviceInformation IID___FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation
  1927. #define ITypedEventHandler_DeviceWatcher_DeviceInformationVtbl __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationVtbl
  1928. #define ITypedEventHandler_DeviceWatcher_DeviceInformation __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation
  1929. #define ITypedEventHandler_DeviceWatcher_DeviceInformation_QueryInterface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_QueryInterface
  1930. #define ITypedEventHandler_DeviceWatcher_DeviceInformation_AddRef __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_AddRef
  1931. #define ITypedEventHandler_DeviceWatcher_DeviceInformation_Release __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_Release
  1932. #define ITypedEventHandler_DeviceWatcher_DeviceInformation_Invoke __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_Invoke
  1933. #endif /* WIDL_using_Windows_Foundation */
  1934. #endif
  1935. #endif
  1936. #endif /* ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformation_INTERFACE_DEFINED__ */
  1937. /*****************************************************************************
  1938. * ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > interface
  1939. */
  1940. #ifndef ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_INTERFACE_DEFINED__
  1941. #define ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_INTERFACE_DEFINED__
  1942. DEFINE_GUID(IID___FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate, 0x906f1254, 0x79ad, 0x54fc, 0x93,0xc4, 0xcd,0xb9,0x9b,0x43,0x78,0x99);
  1943. #if defined(__cplusplus) && !defined(CINTERFACE)
  1944. } /* extern "C" */
  1945. namespace ABI {
  1946. namespace Windows {
  1947. namespace Foundation {
  1948. template<>
  1949. MIDL_INTERFACE("906f1254-79ad-54fc-93c4-cdb99b437899")
  1950. ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > : ITypedEventHandler_impl<ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceWatcher*, ABI::Windows::Devices::Enumeration::IDeviceWatcher* >, ABI::Windows::Foundation::Internal::AggregateType<ABI::Windows::Devices::Enumeration::DeviceInformationUpdate*, ABI::Windows::Devices::Enumeration::IDeviceInformationUpdate* > >
  1951. {
  1952. };
  1953. }
  1954. }
  1955. }
  1956. extern "C" {
  1957. #ifdef __CRT_UUID_DECL
  1958. __CRT_UUID_DECL(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate, 0x906f1254, 0x79ad, 0x54fc, 0x93,0xc4, 0xcd,0xb9,0x9b,0x43,0x78,0x99)
  1959. #endif
  1960. #else
  1961. typedef struct __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdateVtbl {
  1962. BEGIN_INTERFACE
  1963. /*** IUnknown methods ***/
  1964. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1965. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *This,
  1966. REFIID riid,
  1967. void **ppvObject);
  1968. ULONG (STDMETHODCALLTYPE *AddRef)(
  1969. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *This);
  1970. ULONG (STDMETHODCALLTYPE *Release)(
  1971. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *This);
  1972. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > methods ***/
  1973. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1974. __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate *This,
  1975. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *sender,
  1976. __x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *args);
  1977. END_INTERFACE
  1978. } __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdateVtbl;
  1979. interface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate {
  1980. CONST_VTBL __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdateVtbl* lpVtbl;
  1981. };
  1982. #ifdef COBJMACROS
  1983. #ifndef WIDL_C_INLINE_WRAPPERS
  1984. /*** IUnknown methods ***/
  1985. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1986. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_AddRef(This) (This)->lpVtbl->AddRef(This)
  1987. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_Release(This) (This)->lpVtbl->Release(This)
  1988. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > methods ***/
  1989. #define __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_Invoke(This,sender,args) (This)->lpVtbl->Invoke(This,sender,args)
  1990. #else
  1991. /*** IUnknown methods ***/
  1992. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_QueryInterface(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate* This,REFIID riid,void **ppvObject) {
  1993. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1994. }
  1995. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_AddRef(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate* This) {
  1996. return This->lpVtbl->AddRef(This);
  1997. }
  1998. static FORCEINLINE ULONG __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_Release(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate* This) {
  1999. return This->lpVtbl->Release(This);
  2000. }
  2001. /*** ITypedEventHandler<ABI::Windows::Devices::Enumeration::DeviceWatcher*,ABI::Windows::Devices::Enumeration::DeviceInformationUpdate* > methods ***/
  2002. static FORCEINLINE HRESULT __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_Invoke(__FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate* This,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceWatcher *sender,__x_ABI_CWindows_CDevices_CEnumeration_CIDeviceInformationUpdate *args) {
  2003. return This->lpVtbl->Invoke(This,sender,args);
  2004. }
  2005. #endif
  2006. #ifdef WIDL_using_Windows_Foundation
  2007. #define IID_ITypedEventHandler_DeviceWatcher_DeviceInformationUpdate IID___FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate
  2008. #define ITypedEventHandler_DeviceWatcher_DeviceInformationUpdateVtbl __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdateVtbl
  2009. #define ITypedEventHandler_DeviceWatcher_DeviceInformationUpdate __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate
  2010. #define ITypedEventHandler_DeviceWatcher_DeviceInformationUpdate_QueryInterface __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_QueryInterface
  2011. #define ITypedEventHandler_DeviceWatcher_DeviceInformationUpdate_AddRef __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_AddRef
  2012. #define ITypedEventHandler_DeviceWatcher_DeviceInformationUpdate_Release __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_Release
  2013. #define ITypedEventHandler_DeviceWatcher_DeviceInformationUpdate_Invoke __FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_Invoke
  2014. #endif /* WIDL_using_Windows_Foundation */
  2015. #endif
  2016. #endif
  2017. #endif /* ____FITypedEventHandler_2_Windows__CDevices__CEnumeration__CDeviceWatcher_Windows__CDevices__CEnumeration__CDeviceInformationUpdate_INTERFACE_DEFINED__ */
  2018. /* Begin additional prototypes for all interfaces */
  2019. ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *);
  2020. unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *);
  2021. unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *);
  2022. void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *);
  2023. /* End additional prototypes */
  2024. #ifdef __cplusplus
  2025. }
  2026. #endif
  2027. #endif /* __windows_devices_enumeration_h__ */