windows.gaming.input.custom.h 108 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992
  1. /*** Autogenerated by WIDL 7.7 from include/windows.gaming.input.custom.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_gaming_input_custom_h__
  14. #define __windows_gaming_input_custom_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IGameControllerInputSink
  21. namespace ABI {
  22. namespace Windows {
  23. namespace Gaming {
  24. namespace Input {
  25. namespace Custom {
  26. interface IGameControllerInputSink;
  27. }
  28. }
  29. }
  30. }
  31. }
  32. #endif /* __cplusplus */
  33. #endif
  34. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
  35. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
  36. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider;
  37. #ifdef __cplusplus
  38. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider ABI::Windows::Gaming::Input::Custom::IGameControllerProvider
  39. namespace ABI {
  40. namespace Windows {
  41. namespace Gaming {
  42. namespace Input {
  43. namespace Custom {
  44. interface IGameControllerProvider;
  45. }
  46. }
  47. }
  48. }
  49. }
  50. #endif /* __cplusplus */
  51. #endif
  52. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
  53. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
  54. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink;
  55. #ifdef __cplusplus
  56. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IHidGameControllerInputSink
  57. namespace ABI {
  58. namespace Windows {
  59. namespace Gaming {
  60. namespace Input {
  61. namespace Custom {
  62. interface IHidGameControllerInputSink;
  63. }
  64. }
  65. }
  66. }
  67. }
  68. #endif /* __cplusplus */
  69. #endif
  70. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
  71. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
  72. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider;
  73. #ifdef __cplusplus
  74. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider ABI::Windows::Gaming::Input::Custom::IHidGameControllerProvider
  75. namespace ABI {
  76. namespace Windows {
  77. namespace Gaming {
  78. namespace Input {
  79. namespace Custom {
  80. interface IHidGameControllerProvider;
  81. }
  82. }
  83. }
  84. }
  85. }
  86. #endif /* __cplusplus */
  87. #endif
  88. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
  89. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
  90. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink;
  91. #ifdef __cplusplus
  92. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink
  93. namespace ABI {
  94. namespace Windows {
  95. namespace Gaming {
  96. namespace Input {
  97. namespace Custom {
  98. interface IXusbGameControllerInputSink;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. #endif /* __cplusplus */
  105. #endif
  106. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
  107. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
  108. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider;
  109. #ifdef __cplusplus
  110. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider ABI::Windows::Gaming::Input::Custom::IXusbGameControllerProvider
  111. namespace ABI {
  112. namespace Windows {
  113. namespace Gaming {
  114. namespace Input {
  115. namespace Custom {
  116. interface IXusbGameControllerProvider;
  117. }
  118. }
  119. }
  120. }
  121. }
  122. #endif /* __cplusplus */
  123. #endif
  124. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
  125. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
  126. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory;
  127. #ifdef __cplusplus
  128. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory
  129. namespace ABI {
  130. namespace Windows {
  131. namespace Gaming {
  132. namespace Input {
  133. namespace Custom {
  134. interface ICustomGameControllerFactory;
  135. }
  136. }
  137. }
  138. }
  139. }
  140. #endif /* __cplusplus */
  141. #endif
  142. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
  143. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
  144. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics;
  145. #ifdef __cplusplus
  146. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics
  147. namespace ABI {
  148. namespace Windows {
  149. namespace Gaming {
  150. namespace Input {
  151. namespace Custom {
  152. interface IGameControllerFactoryManagerStatics;
  153. }
  154. }
  155. }
  156. }
  157. }
  158. #endif /* __cplusplus */
  159. #endif
  160. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
  161. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
  162. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2;
  163. #ifdef __cplusplus
  164. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics2
  165. namespace ABI {
  166. namespace Windows {
  167. namespace Gaming {
  168. namespace Input {
  169. namespace Custom {
  170. interface IGameControllerFactoryManagerStatics2;
  171. }
  172. }
  173. }
  174. }
  175. }
  176. #endif /* __cplusplus */
  177. #endif
  178. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager_FWD_DEFINED__
  179. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager_FWD_DEFINED__
  180. #ifdef __cplusplus
  181. namespace ABI {
  182. namespace Windows {
  183. namespace Gaming {
  184. namespace Input {
  185. namespace Custom {
  186. class GameControllerFactoryManager;
  187. }
  188. }
  189. }
  190. }
  191. }
  192. #else
  193. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager;
  194. #endif /* defined __cplusplus */
  195. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerFactoryManager_FWD_DEFINED__ */
  196. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider_FWD_DEFINED__
  197. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider_FWD_DEFINED__
  198. #ifdef __cplusplus
  199. namespace ABI {
  200. namespace Windows {
  201. namespace Gaming {
  202. namespace Input {
  203. namespace Custom {
  204. class HidGameControllerProvider;
  205. }
  206. }
  207. }
  208. }
  209. }
  210. #else
  211. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider;
  212. #endif /* defined __cplusplus */
  213. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CCustom_CHidGameControllerProvider_FWD_DEFINED__ */
  214. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider_FWD_DEFINED__
  215. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider_FWD_DEFINED__
  216. #ifdef __cplusplus
  217. namespace ABI {
  218. namespace Windows {
  219. namespace Gaming {
  220. namespace Input {
  221. namespace Custom {
  222. class XusbGameControllerProvider;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. #else
  229. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider;
  230. #endif /* defined __cplusplus */
  231. #endif /* defined ____x_ABI_CWindows_CGaming_CInput_CCustom_CXusbGameControllerProvider_FWD_DEFINED__ */
  232. /* Headers for imported files */
  233. #include <inspectable.h>
  234. #include <asyncinfo.h>
  235. #include <eventtoken.h>
  236. #include <windowscontracts.h>
  237. #include <windows.foundation.h>
  238. #include <windows.gaming.input.h>
  239. #include <windows.storage.streams.h>
  240. #ifdef __cplusplus
  241. extern "C" {
  242. #endif
  243. #ifndef __cplusplus
  244. typedef enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype;
  245. #endif /* __cplusplus */
  246. #ifndef __cplusplus
  247. typedef enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType;
  248. #endif /* __cplusplus */
  249. #ifndef __cplusplus
  250. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo;
  251. #else /* __cplusplus */
  252. namespace ABI {
  253. namespace Windows {
  254. namespace Gaming {
  255. namespace Input {
  256. namespace Custom {
  257. typedef struct GameControllerVersionInfo GameControllerVersionInfo;
  258. }
  259. }
  260. }
  261. }
  262. }
  263. #endif /* __cplusplus */
  264. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
  265. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_FWD_DEFINED__
  266. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink;
  267. #ifdef __cplusplus
  268. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IGameControllerInputSink
  269. namespace ABI {
  270. namespace Windows {
  271. namespace Gaming {
  272. namespace Input {
  273. namespace Custom {
  274. interface IGameControllerInputSink;
  275. }
  276. }
  277. }
  278. }
  279. }
  280. #endif /* __cplusplus */
  281. #endif
  282. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
  283. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_FWD_DEFINED__
  284. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider;
  285. #ifdef __cplusplus
  286. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider ABI::Windows::Gaming::Input::Custom::IGameControllerProvider
  287. namespace ABI {
  288. namespace Windows {
  289. namespace Gaming {
  290. namespace Input {
  291. namespace Custom {
  292. interface IGameControllerProvider;
  293. }
  294. }
  295. }
  296. }
  297. }
  298. #endif /* __cplusplus */
  299. #endif
  300. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
  301. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_FWD_DEFINED__
  302. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink;
  303. #ifdef __cplusplus
  304. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IHidGameControllerInputSink
  305. namespace ABI {
  306. namespace Windows {
  307. namespace Gaming {
  308. namespace Input {
  309. namespace Custom {
  310. interface IHidGameControllerInputSink;
  311. }
  312. }
  313. }
  314. }
  315. }
  316. #endif /* __cplusplus */
  317. #endif
  318. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
  319. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_FWD_DEFINED__
  320. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider;
  321. #ifdef __cplusplus
  322. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider ABI::Windows::Gaming::Input::Custom::IHidGameControllerProvider
  323. namespace ABI {
  324. namespace Windows {
  325. namespace Gaming {
  326. namespace Input {
  327. namespace Custom {
  328. interface IHidGameControllerProvider;
  329. }
  330. }
  331. }
  332. }
  333. }
  334. #endif /* __cplusplus */
  335. #endif
  336. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
  337. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_FWD_DEFINED__
  338. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink;
  339. #ifdef __cplusplus
  340. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink ABI::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink
  341. namespace ABI {
  342. namespace Windows {
  343. namespace Gaming {
  344. namespace Input {
  345. namespace Custom {
  346. interface IXusbGameControllerInputSink;
  347. }
  348. }
  349. }
  350. }
  351. }
  352. #endif /* __cplusplus */
  353. #endif
  354. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
  355. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_FWD_DEFINED__
  356. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider;
  357. #ifdef __cplusplus
  358. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider ABI::Windows::Gaming::Input::Custom::IXusbGameControllerProvider
  359. namespace ABI {
  360. namespace Windows {
  361. namespace Gaming {
  362. namespace Input {
  363. namespace Custom {
  364. interface IXusbGameControllerProvider;
  365. }
  366. }
  367. }
  368. }
  369. }
  370. #endif /* __cplusplus */
  371. #endif
  372. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
  373. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_FWD_DEFINED__
  374. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory;
  375. #ifdef __cplusplus
  376. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory
  377. namespace ABI {
  378. namespace Windows {
  379. namespace Gaming {
  380. namespace Input {
  381. namespace Custom {
  382. interface ICustomGameControllerFactory;
  383. }
  384. }
  385. }
  386. }
  387. }
  388. #endif /* __cplusplus */
  389. #endif
  390. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
  391. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_FWD_DEFINED__
  392. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics;
  393. #ifdef __cplusplus
  394. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics
  395. namespace ABI {
  396. namespace Windows {
  397. namespace Gaming {
  398. namespace Input {
  399. namespace Custom {
  400. interface IGameControllerFactoryManagerStatics;
  401. }
  402. }
  403. }
  404. }
  405. }
  406. #endif /* __cplusplus */
  407. #endif
  408. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
  409. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_FWD_DEFINED__
  410. typedef interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2;
  411. #ifdef __cplusplus
  412. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 ABI::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics2
  413. namespace ABI {
  414. namespace Windows {
  415. namespace Gaming {
  416. namespace Input {
  417. namespace Custom {
  418. interface IGameControllerFactoryManagerStatics2;
  419. }
  420. }
  421. }
  422. }
  423. }
  424. #endif /* __cplusplus */
  425. #endif
  426. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  427. #ifdef __cplusplus
  428. } /* extern "C" */
  429. namespace ABI {
  430. namespace Windows {
  431. namespace Gaming {
  432. namespace Input {
  433. namespace Custom {
  434. enum XusbDeviceSubtype {
  435. XusbDeviceSubtype_Unknown = 0,
  436. XusbDeviceSubtype_Gamepad = 1,
  437. XusbDeviceSubtype_ArcadePad = 2,
  438. XusbDeviceSubtype_ArcadeStick = 3,
  439. XusbDeviceSubtype_FlightStick = 4,
  440. XusbDeviceSubtype_Wheel = 5,
  441. XusbDeviceSubtype_Guitar = 6,
  442. XusbDeviceSubtype_GuitarAlternate = 7,
  443. XusbDeviceSubtype_GuitarBass = 8,
  444. XusbDeviceSubtype_DrumKit = 9,
  445. XusbDeviceSubtype_DancePad = 10
  446. };
  447. }
  448. }
  449. }
  450. }
  451. }
  452. extern "C" {
  453. #else
  454. enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype {
  455. XusbDeviceSubtype_Unknown = 0,
  456. XusbDeviceSubtype_Gamepad = 1,
  457. XusbDeviceSubtype_ArcadePad = 2,
  458. XusbDeviceSubtype_ArcadeStick = 3,
  459. XusbDeviceSubtype_FlightStick = 4,
  460. XusbDeviceSubtype_Wheel = 5,
  461. XusbDeviceSubtype_Guitar = 6,
  462. XusbDeviceSubtype_GuitarAlternate = 7,
  463. XusbDeviceSubtype_GuitarBass = 8,
  464. XusbDeviceSubtype_DrumKit = 9,
  465. XusbDeviceSubtype_DancePad = 10
  466. };
  467. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  468. #define XusbDeviceSubtype __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype
  469. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  470. #endif
  471. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  472. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  473. #ifdef __cplusplus
  474. } /* extern "C" */
  475. namespace ABI {
  476. namespace Windows {
  477. namespace Gaming {
  478. namespace Input {
  479. namespace Custom {
  480. enum XusbDeviceType {
  481. XusbDeviceType_Unknown = 0,
  482. XusbDeviceType_Gamepad = 1
  483. };
  484. }
  485. }
  486. }
  487. }
  488. }
  489. extern "C" {
  490. #else
  491. enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType {
  492. XusbDeviceType_Unknown = 0,
  493. XusbDeviceType_Gamepad = 1
  494. };
  495. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  496. #define XusbDeviceType __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType
  497. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  498. #endif
  499. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  500. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  501. #ifdef __cplusplus
  502. } /* extern "C" */
  503. namespace ABI {
  504. namespace Windows {
  505. namespace Gaming {
  506. namespace Input {
  507. namespace Custom {
  508. struct GameControllerVersionInfo {
  509. UINT16 Major;
  510. UINT16 Minor;
  511. UINT16 Build;
  512. UINT16 Revision;
  513. };
  514. }
  515. }
  516. }
  517. }
  518. }
  519. extern "C" {
  520. #else
  521. struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo {
  522. UINT16 Major;
  523. UINT16 Minor;
  524. UINT16 Build;
  525. UINT16 Revision;
  526. };
  527. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  528. #define GameControllerVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo
  529. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  530. #endif
  531. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  532. /*****************************************************************************
  533. * IGameControllerInputSink interface
  534. */
  535. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  536. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_INTERFACE_DEFINED__
  537. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_INTERFACE_DEFINED__
  538. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink, 0x1ff6f922, 0xc640, 0x4c78, 0xa8,0x20, 0x9a,0x71,0x5c,0x55,0x8b,0xcb);
  539. #if defined(__cplusplus) && !defined(CINTERFACE)
  540. } /* extern "C" */
  541. namespace ABI {
  542. namespace Windows {
  543. namespace Gaming {
  544. namespace Input {
  545. namespace Custom {
  546. MIDL_INTERFACE("1ff6f922-c640-4c78-a820-9a715c558bcb")
  547. IGameControllerInputSink : public IInspectable
  548. {
  549. virtual HRESULT STDMETHODCALLTYPE OnInputResumed(
  550. UINT64 timestamp) = 0;
  551. virtual HRESULT STDMETHODCALLTYPE OnInputSuspended(
  552. UINT64 timestamp) = 0;
  553. };
  554. }
  555. }
  556. }
  557. }
  558. }
  559. extern "C" {
  560. #ifdef __CRT_UUID_DECL
  561. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink, 0x1ff6f922, 0xc640, 0x4c78, 0xa8,0x20, 0x9a,0x71,0x5c,0x55,0x8b,0xcb)
  562. #endif
  563. #else
  564. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl {
  565. BEGIN_INTERFACE
  566. /*** IUnknown methods ***/
  567. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  568. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
  569. REFIID riid,
  570. void **ppvObject);
  571. ULONG (STDMETHODCALLTYPE *AddRef)(
  572. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This);
  573. ULONG (STDMETHODCALLTYPE *Release)(
  574. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This);
  575. /*** IInspectable methods ***/
  576. HRESULT (STDMETHODCALLTYPE *GetIids)(
  577. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
  578. ULONG *iidCount,
  579. IID **iids);
  580. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  581. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
  582. HSTRING *className);
  583. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  584. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
  585. TrustLevel *trustLevel);
  586. /*** IGameControllerInputSink methods ***/
  587. HRESULT (STDMETHODCALLTYPE *OnInputResumed)(
  588. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
  589. UINT64 timestamp);
  590. HRESULT (STDMETHODCALLTYPE *OnInputSuspended)(
  591. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink *This,
  592. UINT64 timestamp);
  593. END_INTERFACE
  594. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl;
  595. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink {
  596. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl* lpVtbl;
  597. };
  598. #ifdef COBJMACROS
  599. #ifndef WIDL_C_INLINE_WRAPPERS
  600. /*** IUnknown methods ***/
  601. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  602. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  603. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_Release(This) (This)->lpVtbl->Release(This)
  604. /*** IInspectable methods ***/
  605. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  606. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  607. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  608. /*** IGameControllerInputSink methods ***/
  609. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputResumed(This,timestamp) (This)->lpVtbl->OnInputResumed(This,timestamp)
  610. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputSuspended(This,timestamp) (This)->lpVtbl->OnInputSuspended(This,timestamp)
  611. #else
  612. /*** IUnknown methods ***/
  613. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,REFIID riid,void **ppvObject) {
  614. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  615. }
  616. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This) {
  617. return This->lpVtbl->AddRef(This);
  618. }
  619. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This) {
  620. return This->lpVtbl->Release(This);
  621. }
  622. /*** IInspectable methods ***/
  623. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,ULONG *iidCount,IID **iids) {
  624. return This->lpVtbl->GetIids(This,iidCount,iids);
  625. }
  626. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,HSTRING *className) {
  627. return This->lpVtbl->GetRuntimeClassName(This,className);
  628. }
  629. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,TrustLevel *trustLevel) {
  630. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  631. }
  632. /*** IGameControllerInputSink methods ***/
  633. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputResumed(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,UINT64 timestamp) {
  634. return This->lpVtbl->OnInputResumed(This,timestamp);
  635. }
  636. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputSuspended(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink* This,UINT64 timestamp) {
  637. return This->lpVtbl->OnInputSuspended(This,timestamp);
  638. }
  639. #endif
  640. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  641. #define IID_IGameControllerInputSink IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink
  642. #define IGameControllerInputSinkVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSinkVtbl
  643. #define IGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink
  644. #define IGameControllerInputSink_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_QueryInterface
  645. #define IGameControllerInputSink_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_AddRef
  646. #define IGameControllerInputSink_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_Release
  647. #define IGameControllerInputSink_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetIids
  648. #define IGameControllerInputSink_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetRuntimeClassName
  649. #define IGameControllerInputSink_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_GetTrustLevel
  650. #define IGameControllerInputSink_OnInputResumed __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputResumed
  651. #define IGameControllerInputSink_OnInputSuspended __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_OnInputSuspended
  652. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  653. #endif
  654. #endif
  655. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerInputSink_INTERFACE_DEFINED__ */
  656. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  657. /*****************************************************************************
  658. * IGameControllerProvider interface
  659. */
  660. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  661. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_INTERFACE_DEFINED__
  662. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_INTERFACE_DEFINED__
  663. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider, 0xe6d73982, 0x2996, 0x4559, 0xb1,0x6c, 0x3e,0x57,0xd4,0x6e,0x58,0xd6);
  664. #if defined(__cplusplus) && !defined(CINTERFACE)
  665. } /* extern "C" */
  666. namespace ABI {
  667. namespace Windows {
  668. namespace Gaming {
  669. namespace Input {
  670. namespace Custom {
  671. MIDL_INTERFACE("e6d73982-2996-4559-b16c-3e57d46e58d6")
  672. IGameControllerProvider : public IInspectable
  673. {
  674. virtual HRESULT STDMETHODCALLTYPE get_FirmwareVersionInfo(
  675. struct GameControllerVersionInfo *value) = 0;
  676. virtual HRESULT STDMETHODCALLTYPE get_HardwareProductId(
  677. UINT16 *value) = 0;
  678. virtual HRESULT STDMETHODCALLTYPE get_HardwareVendorId(
  679. UINT16 *value) = 0;
  680. virtual HRESULT STDMETHODCALLTYPE get_HardwareVersionInfo(
  681. struct GameControllerVersionInfo *value) = 0;
  682. virtual HRESULT STDMETHODCALLTYPE get_IsConnected(
  683. boolean *value) = 0;
  684. };
  685. }
  686. }
  687. }
  688. }
  689. }
  690. extern "C" {
  691. #ifdef __CRT_UUID_DECL
  692. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider, 0xe6d73982, 0x2996, 0x4559, 0xb1,0x6c, 0x3e,0x57,0xd4,0x6e,0x58,0xd6)
  693. #endif
  694. #else
  695. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl {
  696. BEGIN_INTERFACE
  697. /*** IUnknown methods ***/
  698. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  699. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  700. REFIID riid,
  701. void **ppvObject);
  702. ULONG (STDMETHODCALLTYPE *AddRef)(
  703. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This);
  704. ULONG (STDMETHODCALLTYPE *Release)(
  705. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This);
  706. /*** IInspectable methods ***/
  707. HRESULT (STDMETHODCALLTYPE *GetIids)(
  708. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  709. ULONG *iidCount,
  710. IID **iids);
  711. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  712. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  713. HSTRING *className);
  714. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  715. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  716. TrustLevel *trustLevel);
  717. /*** IGameControllerProvider methods ***/
  718. HRESULT (STDMETHODCALLTYPE *get_FirmwareVersionInfo)(
  719. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  720. struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value);
  721. HRESULT (STDMETHODCALLTYPE *get_HardwareProductId)(
  722. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  723. UINT16 *value);
  724. HRESULT (STDMETHODCALLTYPE *get_HardwareVendorId)(
  725. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  726. UINT16 *value);
  727. HRESULT (STDMETHODCALLTYPE *get_HardwareVersionInfo)(
  728. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  729. struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value);
  730. HRESULT (STDMETHODCALLTYPE *get_IsConnected)(
  731. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *This,
  732. boolean *value);
  733. END_INTERFACE
  734. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl;
  735. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider {
  736. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl* lpVtbl;
  737. };
  738. #ifdef COBJMACROS
  739. #ifndef WIDL_C_INLINE_WRAPPERS
  740. /*** IUnknown methods ***/
  741. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  742. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
  743. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_Release(This) (This)->lpVtbl->Release(This)
  744. /*** IInspectable methods ***/
  745. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  746. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  747. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  748. /*** IGameControllerProvider methods ***/
  749. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_FirmwareVersionInfo(This,value) (This)->lpVtbl->get_FirmwareVersionInfo(This,value)
  750. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareProductId(This,value) (This)->lpVtbl->get_HardwareProductId(This,value)
  751. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVendorId(This,value) (This)->lpVtbl->get_HardwareVendorId(This,value)
  752. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVersionInfo(This,value) (This)->lpVtbl->get_HardwareVersionInfo(This,value)
  753. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_IsConnected(This,value) (This)->lpVtbl->get_IsConnected(This,value)
  754. #else
  755. /*** IUnknown methods ***/
  756. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,REFIID riid,void **ppvObject) {
  757. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  758. }
  759. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This) {
  760. return This->lpVtbl->AddRef(This);
  761. }
  762. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This) {
  763. return This->lpVtbl->Release(This);
  764. }
  765. /*** IInspectable methods ***/
  766. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,ULONG *iidCount,IID **iids) {
  767. return This->lpVtbl->GetIids(This,iidCount,iids);
  768. }
  769. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,HSTRING *className) {
  770. return This->lpVtbl->GetRuntimeClassName(This,className);
  771. }
  772. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,TrustLevel *trustLevel) {
  773. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  774. }
  775. /*** IGameControllerProvider methods ***/
  776. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_FirmwareVersionInfo(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value) {
  777. return This->lpVtbl->get_FirmwareVersionInfo(This,value);
  778. }
  779. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareProductId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,UINT16 *value) {
  780. return This->lpVtbl->get_HardwareProductId(This,value);
  781. }
  782. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVendorId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,UINT16 *value) {
  783. return This->lpVtbl->get_HardwareVendorId(This,value);
  784. }
  785. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVersionInfo(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,struct __x_ABI_CWindows_CGaming_CInput_CCustom_CGameControllerVersionInfo *value) {
  786. return This->lpVtbl->get_HardwareVersionInfo(This,value);
  787. }
  788. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_IsConnected(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider* This,boolean *value) {
  789. return This->lpVtbl->get_IsConnected(This,value);
  790. }
  791. #endif
  792. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  793. #define IID_IGameControllerProvider IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider
  794. #define IGameControllerProviderVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProviderVtbl
  795. #define IGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider
  796. #define IGameControllerProvider_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_QueryInterface
  797. #define IGameControllerProvider_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_AddRef
  798. #define IGameControllerProvider_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_Release
  799. #define IGameControllerProvider_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetIids
  800. #define IGameControllerProvider_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetRuntimeClassName
  801. #define IGameControllerProvider_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_GetTrustLevel
  802. #define IGameControllerProvider_get_FirmwareVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_FirmwareVersionInfo
  803. #define IGameControllerProvider_get_HardwareProductId __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareProductId
  804. #define IGameControllerProvider_get_HardwareVendorId __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVendorId
  805. #define IGameControllerProvider_get_HardwareVersionInfo __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_HardwareVersionInfo
  806. #define IGameControllerProvider_get_IsConnected __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_get_IsConnected
  807. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  808. #endif
  809. #endif
  810. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider_INTERFACE_DEFINED__ */
  811. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  812. /*****************************************************************************
  813. * IHidGameControllerInputSink interface
  814. */
  815. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  816. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_INTERFACE_DEFINED__
  817. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_INTERFACE_DEFINED__
  818. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink, 0xf754c322, 0x182d, 0x40e4, 0xa1,0x26, 0xfc,0xee,0x4f,0xfa,0x1e,0x31);
  819. #if defined(__cplusplus) && !defined(CINTERFACE)
  820. } /* extern "C" */
  821. namespace ABI {
  822. namespace Windows {
  823. namespace Gaming {
  824. namespace Input {
  825. namespace Custom {
  826. MIDL_INTERFACE("f754c322-182d-40e4-a126-fcee4ffa1e31")
  827. IHidGameControllerInputSink : public IInspectable
  828. {
  829. virtual HRESULT STDMETHODCALLTYPE OnInputReportReceived(
  830. UINT64 timestamp,
  831. BYTE id,
  832. UINT32 report_len,
  833. BYTE *report_buf) = 0;
  834. };
  835. }
  836. }
  837. }
  838. }
  839. }
  840. extern "C" {
  841. #ifdef __CRT_UUID_DECL
  842. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink, 0xf754c322, 0x182d, 0x40e4, 0xa1,0x26, 0xfc,0xee,0x4f,0xfa,0x1e,0x31)
  843. #endif
  844. #else
  845. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl {
  846. BEGIN_INTERFACE
  847. /*** IUnknown methods ***/
  848. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  849. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
  850. REFIID riid,
  851. void **ppvObject);
  852. ULONG (STDMETHODCALLTYPE *AddRef)(
  853. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This);
  854. ULONG (STDMETHODCALLTYPE *Release)(
  855. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This);
  856. /*** IInspectable methods ***/
  857. HRESULT (STDMETHODCALLTYPE *GetIids)(
  858. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
  859. ULONG *iidCount,
  860. IID **iids);
  861. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  862. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
  863. HSTRING *className);
  864. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  865. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
  866. TrustLevel *trustLevel);
  867. /*** IHidGameControllerInputSink methods ***/
  868. HRESULT (STDMETHODCALLTYPE *OnInputReportReceived)(
  869. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink *This,
  870. UINT64 timestamp,
  871. BYTE id,
  872. UINT32 report_len,
  873. BYTE *report_buf);
  874. END_INTERFACE
  875. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl;
  876. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink {
  877. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl* lpVtbl;
  878. };
  879. #ifdef COBJMACROS
  880. #ifndef WIDL_C_INLINE_WRAPPERS
  881. /*** IUnknown methods ***/
  882. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  883. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  884. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_Release(This) (This)->lpVtbl->Release(This)
  885. /*** IInspectable methods ***/
  886. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  887. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  888. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  889. /*** IHidGameControllerInputSink methods ***/
  890. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_OnInputReportReceived(This,timestamp,id,report_len,report_buf) (This)->lpVtbl->OnInputReportReceived(This,timestamp,id,report_len,report_buf)
  891. #else
  892. /*** IUnknown methods ***/
  893. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,REFIID riid,void **ppvObject) {
  894. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  895. }
  896. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This) {
  897. return This->lpVtbl->AddRef(This);
  898. }
  899. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This) {
  900. return This->lpVtbl->Release(This);
  901. }
  902. /*** IInspectable methods ***/
  903. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,ULONG *iidCount,IID **iids) {
  904. return This->lpVtbl->GetIids(This,iidCount,iids);
  905. }
  906. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,HSTRING *className) {
  907. return This->lpVtbl->GetRuntimeClassName(This,className);
  908. }
  909. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,TrustLevel *trustLevel) {
  910. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  911. }
  912. /*** IHidGameControllerInputSink methods ***/
  913. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_OnInputReportReceived(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink* This,UINT64 timestamp,BYTE id,UINT32 report_len,BYTE *report_buf) {
  914. return This->lpVtbl->OnInputReportReceived(This,timestamp,id,report_len,report_buf);
  915. }
  916. #endif
  917. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  918. #define IID_IHidGameControllerInputSink IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink
  919. #define IHidGameControllerInputSinkVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSinkVtbl
  920. #define IHidGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink
  921. #define IHidGameControllerInputSink_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_QueryInterface
  922. #define IHidGameControllerInputSink_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_AddRef
  923. #define IHidGameControllerInputSink_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_Release
  924. #define IHidGameControllerInputSink_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetIids
  925. #define IHidGameControllerInputSink_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetRuntimeClassName
  926. #define IHidGameControllerInputSink_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_GetTrustLevel
  927. #define IHidGameControllerInputSink_OnInputReportReceived __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_OnInputReportReceived
  928. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  929. #endif
  930. #endif
  931. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerInputSink_INTERFACE_DEFINED__ */
  932. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  933. /*****************************************************************************
  934. * IHidGameControllerProvider interface
  935. */
  936. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  937. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_INTERFACE_DEFINED__
  938. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_INTERFACE_DEFINED__
  939. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider, 0x95ce3af4, 0xabf0, 0x4b68, 0xa0,0x81, 0x3b,0x7d,0xe7,0x3f,0xf0,0xe7);
  940. #if defined(__cplusplus) && !defined(CINTERFACE)
  941. } /* extern "C" */
  942. namespace ABI {
  943. namespace Windows {
  944. namespace Gaming {
  945. namespace Input {
  946. namespace Custom {
  947. MIDL_INTERFACE("95ce3af4-abf0-4b68-a081-3b7de73ff0e7")
  948. IHidGameControllerProvider : public IInspectable
  949. {
  950. virtual HRESULT STDMETHODCALLTYPE get_UsageId(
  951. UINT16 *value) = 0;
  952. virtual HRESULT STDMETHODCALLTYPE get_UsagePage(
  953. UINT16 *value) = 0;
  954. virtual HRESULT STDMETHODCALLTYPE GetFeatureReport(
  955. BYTE id,
  956. UINT32 report_len,
  957. BYTE *report_buf) = 0;
  958. virtual HRESULT STDMETHODCALLTYPE SendFeatureReport(
  959. BYTE id,
  960. UINT32 report_len,
  961. BYTE *report_buf) = 0;
  962. virtual HRESULT STDMETHODCALLTYPE SendOutputReport(
  963. BYTE id,
  964. UINT32 report_len,
  965. BYTE *report_buf) = 0;
  966. };
  967. }
  968. }
  969. }
  970. }
  971. }
  972. extern "C" {
  973. #ifdef __CRT_UUID_DECL
  974. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider, 0x95ce3af4, 0xabf0, 0x4b68, 0xa0,0x81, 0x3b,0x7d,0xe7,0x3f,0xf0,0xe7)
  975. #endif
  976. #else
  977. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl {
  978. BEGIN_INTERFACE
  979. /*** IUnknown methods ***/
  980. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  981. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  982. REFIID riid,
  983. void **ppvObject);
  984. ULONG (STDMETHODCALLTYPE *AddRef)(
  985. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This);
  986. ULONG (STDMETHODCALLTYPE *Release)(
  987. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This);
  988. /*** IInspectable methods ***/
  989. HRESULT (STDMETHODCALLTYPE *GetIids)(
  990. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  991. ULONG *iidCount,
  992. IID **iids);
  993. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  994. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  995. HSTRING *className);
  996. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  997. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  998. TrustLevel *trustLevel);
  999. /*** IHidGameControllerProvider methods ***/
  1000. HRESULT (STDMETHODCALLTYPE *get_UsageId)(
  1001. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  1002. UINT16 *value);
  1003. HRESULT (STDMETHODCALLTYPE *get_UsagePage)(
  1004. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  1005. UINT16 *value);
  1006. HRESULT (STDMETHODCALLTYPE *GetFeatureReport)(
  1007. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  1008. BYTE id,
  1009. UINT32 report_len,
  1010. BYTE *report_buf);
  1011. HRESULT (STDMETHODCALLTYPE *SendFeatureReport)(
  1012. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  1013. BYTE id,
  1014. UINT32 report_len,
  1015. BYTE *report_buf);
  1016. HRESULT (STDMETHODCALLTYPE *SendOutputReport)(
  1017. __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider *This,
  1018. BYTE id,
  1019. UINT32 report_len,
  1020. BYTE *report_buf);
  1021. END_INTERFACE
  1022. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl;
  1023. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider {
  1024. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl* lpVtbl;
  1025. };
  1026. #ifdef COBJMACROS
  1027. #ifndef WIDL_C_INLINE_WRAPPERS
  1028. /*** IUnknown methods ***/
  1029. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1030. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
  1031. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_Release(This) (This)->lpVtbl->Release(This)
  1032. /*** IInspectable methods ***/
  1033. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1034. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1035. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1036. /*** IHidGameControllerProvider methods ***/
  1037. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsageId(This,value) (This)->lpVtbl->get_UsageId(This,value)
  1038. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsagePage(This,value) (This)->lpVtbl->get_UsagePage(This,value)
  1039. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetFeatureReport(This,id,report_len,report_buf) (This)->lpVtbl->GetFeatureReport(This,id,report_len,report_buf)
  1040. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendFeatureReport(This,id,report_len,report_buf) (This)->lpVtbl->SendFeatureReport(This,id,report_len,report_buf)
  1041. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendOutputReport(This,id,report_len,report_buf) (This)->lpVtbl->SendOutputReport(This,id,report_len,report_buf)
  1042. #else
  1043. /*** IUnknown methods ***/
  1044. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,REFIID riid,void **ppvObject) {
  1045. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1046. }
  1047. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This) {
  1048. return This->lpVtbl->AddRef(This);
  1049. }
  1050. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This) {
  1051. return This->lpVtbl->Release(This);
  1052. }
  1053. /*** IInspectable methods ***/
  1054. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,ULONG *iidCount,IID **iids) {
  1055. return This->lpVtbl->GetIids(This,iidCount,iids);
  1056. }
  1057. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,HSTRING *className) {
  1058. return This->lpVtbl->GetRuntimeClassName(This,className);
  1059. }
  1060. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,TrustLevel *trustLevel) {
  1061. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1062. }
  1063. /*** IHidGameControllerProvider methods ***/
  1064. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsageId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,UINT16 *value) {
  1065. return This->lpVtbl->get_UsageId(This,value);
  1066. }
  1067. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsagePage(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,UINT16 *value) {
  1068. return This->lpVtbl->get_UsagePage(This,value);
  1069. }
  1070. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetFeatureReport(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,BYTE id,UINT32 report_len,BYTE *report_buf) {
  1071. return This->lpVtbl->GetFeatureReport(This,id,report_len,report_buf);
  1072. }
  1073. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendFeatureReport(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,BYTE id,UINT32 report_len,BYTE *report_buf) {
  1074. return This->lpVtbl->SendFeatureReport(This,id,report_len,report_buf);
  1075. }
  1076. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendOutputReport(__x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider* This,BYTE id,UINT32 report_len,BYTE *report_buf) {
  1077. return This->lpVtbl->SendOutputReport(This,id,report_len,report_buf);
  1078. }
  1079. #endif
  1080. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  1081. #define IID_IHidGameControllerProvider IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider
  1082. #define IHidGameControllerProviderVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProviderVtbl
  1083. #define IHidGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider
  1084. #define IHidGameControllerProvider_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_QueryInterface
  1085. #define IHidGameControllerProvider_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_AddRef
  1086. #define IHidGameControllerProvider_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_Release
  1087. #define IHidGameControllerProvider_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetIids
  1088. #define IHidGameControllerProvider_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetRuntimeClassName
  1089. #define IHidGameControllerProvider_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetTrustLevel
  1090. #define IHidGameControllerProvider_get_UsageId __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsageId
  1091. #define IHidGameControllerProvider_get_UsagePage __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_get_UsagePage
  1092. #define IHidGameControllerProvider_GetFeatureReport __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_GetFeatureReport
  1093. #define IHidGameControllerProvider_SendFeatureReport __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendFeatureReport
  1094. #define IHidGameControllerProvider_SendOutputReport __x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_SendOutputReport
  1095. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  1096. #endif
  1097. #endif
  1098. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIHidGameControllerProvider_INTERFACE_DEFINED__ */
  1099. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1100. /*****************************************************************************
  1101. * IXusbGameControllerInputSink interface
  1102. */
  1103. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1104. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_INTERFACE_DEFINED__
  1105. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_INTERFACE_DEFINED__
  1106. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink, 0xb2ac1d95, 0x6ecb, 0x42b3, 0x8a,0xab, 0x02,0x54,0x01,0xca,0x47,0x12);
  1107. #if defined(__cplusplus) && !defined(CINTERFACE)
  1108. } /* extern "C" */
  1109. namespace ABI {
  1110. namespace Windows {
  1111. namespace Gaming {
  1112. namespace Input {
  1113. namespace Custom {
  1114. MIDL_INTERFACE("b2ac1d95-6ecb-42b3-8aab-025401ca4712")
  1115. IXusbGameControllerInputSink : public IInspectable
  1116. {
  1117. virtual HRESULT STDMETHODCALLTYPE OnInputReceived(
  1118. UINT64 timestamp,
  1119. BYTE id,
  1120. UINT32 report_len,
  1121. BYTE *report_buf) = 0;
  1122. };
  1123. }
  1124. }
  1125. }
  1126. }
  1127. }
  1128. extern "C" {
  1129. #ifdef __CRT_UUID_DECL
  1130. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink, 0xb2ac1d95, 0x6ecb, 0x42b3, 0x8a,0xab, 0x02,0x54,0x01,0xca,0x47,0x12)
  1131. #endif
  1132. #else
  1133. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl {
  1134. BEGIN_INTERFACE
  1135. /*** IUnknown methods ***/
  1136. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1137. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
  1138. REFIID riid,
  1139. void **ppvObject);
  1140. ULONG (STDMETHODCALLTYPE *AddRef)(
  1141. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This);
  1142. ULONG (STDMETHODCALLTYPE *Release)(
  1143. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This);
  1144. /*** IInspectable methods ***/
  1145. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1146. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
  1147. ULONG *iidCount,
  1148. IID **iids);
  1149. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1150. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
  1151. HSTRING *className);
  1152. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1153. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
  1154. TrustLevel *trustLevel);
  1155. /*** IXusbGameControllerInputSink methods ***/
  1156. HRESULT (STDMETHODCALLTYPE *OnInputReceived)(
  1157. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink *This,
  1158. UINT64 timestamp,
  1159. BYTE id,
  1160. UINT32 report_len,
  1161. BYTE *report_buf);
  1162. END_INTERFACE
  1163. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl;
  1164. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink {
  1165. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl* lpVtbl;
  1166. };
  1167. #ifdef COBJMACROS
  1168. #ifndef WIDL_C_INLINE_WRAPPERS
  1169. /*** IUnknown methods ***/
  1170. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1171. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  1172. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_Release(This) (This)->lpVtbl->Release(This)
  1173. /*** IInspectable methods ***/
  1174. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1175. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1176. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1177. /*** IXusbGameControllerInputSink methods ***/
  1178. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_OnInputReceived(This,timestamp,id,report_len,report_buf) (This)->lpVtbl->OnInputReceived(This,timestamp,id,report_len,report_buf)
  1179. #else
  1180. /*** IUnknown methods ***/
  1181. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,REFIID riid,void **ppvObject) {
  1182. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1183. }
  1184. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This) {
  1185. return This->lpVtbl->AddRef(This);
  1186. }
  1187. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This) {
  1188. return This->lpVtbl->Release(This);
  1189. }
  1190. /*** IInspectable methods ***/
  1191. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,ULONG *iidCount,IID **iids) {
  1192. return This->lpVtbl->GetIids(This,iidCount,iids);
  1193. }
  1194. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,HSTRING *className) {
  1195. return This->lpVtbl->GetRuntimeClassName(This,className);
  1196. }
  1197. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,TrustLevel *trustLevel) {
  1198. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1199. }
  1200. /*** IXusbGameControllerInputSink methods ***/
  1201. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_OnInputReceived(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink* This,UINT64 timestamp,BYTE id,UINT32 report_len,BYTE *report_buf) {
  1202. return This->lpVtbl->OnInputReceived(This,timestamp,id,report_len,report_buf);
  1203. }
  1204. #endif
  1205. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  1206. #define IID_IXusbGameControllerInputSink IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink
  1207. #define IXusbGameControllerInputSinkVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSinkVtbl
  1208. #define IXusbGameControllerInputSink __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink
  1209. #define IXusbGameControllerInputSink_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_QueryInterface
  1210. #define IXusbGameControllerInputSink_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_AddRef
  1211. #define IXusbGameControllerInputSink_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_Release
  1212. #define IXusbGameControllerInputSink_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetIids
  1213. #define IXusbGameControllerInputSink_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetRuntimeClassName
  1214. #define IXusbGameControllerInputSink_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_GetTrustLevel
  1215. #define IXusbGameControllerInputSink_OnInputReceived __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_OnInputReceived
  1216. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  1217. #endif
  1218. #endif
  1219. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerInputSink_INTERFACE_DEFINED__ */
  1220. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1221. /*****************************************************************************
  1222. * IXusbGameControllerProvider interface
  1223. */
  1224. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1225. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_INTERFACE_DEFINED__
  1226. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_INTERFACE_DEFINED__
  1227. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider, 0x6e2971eb, 0x0efb, 0x48b4, 0x80,0x8b, 0x83,0x76,0x43,0xb2,0xf2,0x16);
  1228. #if defined(__cplusplus) && !defined(CINTERFACE)
  1229. } /* extern "C" */
  1230. namespace ABI {
  1231. namespace Windows {
  1232. namespace Gaming {
  1233. namespace Input {
  1234. namespace Custom {
  1235. MIDL_INTERFACE("6e2971eb-0efb-48b4-808b-837643b2f216")
  1236. IXusbGameControllerProvider : public IInspectable
  1237. {
  1238. virtual HRESULT STDMETHODCALLTYPE SetVibration(
  1239. DOUBLE rumble_intensity,
  1240. DOUBLE buzz_intensity) = 0;
  1241. };
  1242. }
  1243. }
  1244. }
  1245. }
  1246. }
  1247. extern "C" {
  1248. #ifdef __CRT_UUID_DECL
  1249. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider, 0x6e2971eb, 0x0efb, 0x48b4, 0x80,0x8b, 0x83,0x76,0x43,0xb2,0xf2,0x16)
  1250. #endif
  1251. #else
  1252. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl {
  1253. BEGIN_INTERFACE
  1254. /*** IUnknown methods ***/
  1255. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1256. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
  1257. REFIID riid,
  1258. void **ppvObject);
  1259. ULONG (STDMETHODCALLTYPE *AddRef)(
  1260. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This);
  1261. ULONG (STDMETHODCALLTYPE *Release)(
  1262. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This);
  1263. /*** IInspectable methods ***/
  1264. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1265. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
  1266. ULONG *iidCount,
  1267. IID **iids);
  1268. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1269. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
  1270. HSTRING *className);
  1271. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1272. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
  1273. TrustLevel *trustLevel);
  1274. /*** IXusbGameControllerProvider methods ***/
  1275. HRESULT (STDMETHODCALLTYPE *SetVibration)(
  1276. __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider *This,
  1277. DOUBLE rumble_intensity,
  1278. DOUBLE buzz_intensity);
  1279. END_INTERFACE
  1280. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl;
  1281. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider {
  1282. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl* lpVtbl;
  1283. };
  1284. #ifdef COBJMACROS
  1285. #ifndef WIDL_C_INLINE_WRAPPERS
  1286. /*** IUnknown methods ***/
  1287. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1288. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
  1289. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_Release(This) (This)->lpVtbl->Release(This)
  1290. /*** IInspectable methods ***/
  1291. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1292. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1293. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1294. /*** IXusbGameControllerProvider methods ***/
  1295. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_SetVibration(This,rumble_intensity,buzz_intensity) (This)->lpVtbl->SetVibration(This,rumble_intensity,buzz_intensity)
  1296. #else
  1297. /*** IUnknown methods ***/
  1298. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,REFIID riid,void **ppvObject) {
  1299. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1300. }
  1301. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This) {
  1302. return This->lpVtbl->AddRef(This);
  1303. }
  1304. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This) {
  1305. return This->lpVtbl->Release(This);
  1306. }
  1307. /*** IInspectable methods ***/
  1308. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,ULONG *iidCount,IID **iids) {
  1309. return This->lpVtbl->GetIids(This,iidCount,iids);
  1310. }
  1311. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,HSTRING *className) {
  1312. return This->lpVtbl->GetRuntimeClassName(This,className);
  1313. }
  1314. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,TrustLevel *trustLevel) {
  1315. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1316. }
  1317. /*** IXusbGameControllerProvider methods ***/
  1318. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_SetVibration(__x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider* This,DOUBLE rumble_intensity,DOUBLE buzz_intensity) {
  1319. return This->lpVtbl->SetVibration(This,rumble_intensity,buzz_intensity);
  1320. }
  1321. #endif
  1322. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  1323. #define IID_IXusbGameControllerProvider IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider
  1324. #define IXusbGameControllerProviderVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProviderVtbl
  1325. #define IXusbGameControllerProvider __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider
  1326. #define IXusbGameControllerProvider_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_QueryInterface
  1327. #define IXusbGameControllerProvider_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_AddRef
  1328. #define IXusbGameControllerProvider_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_Release
  1329. #define IXusbGameControllerProvider_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetIids
  1330. #define IXusbGameControllerProvider_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetRuntimeClassName
  1331. #define IXusbGameControllerProvider_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_GetTrustLevel
  1332. #define IXusbGameControllerProvider_SetVibration __x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_SetVibration
  1333. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  1334. #endif
  1335. #endif
  1336. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIXusbGameControllerProvider_INTERFACE_DEFINED__ */
  1337. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1338. /*****************************************************************************
  1339. * ICustomGameControllerFactory interface
  1340. */
  1341. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1342. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_INTERFACE_DEFINED__
  1343. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_INTERFACE_DEFINED__
  1344. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory, 0x69a0ae5e, 0x758e, 0x4cbe, 0xac,0xe6, 0x62,0x15,0x5f,0xe9,0x12,0x6f);
  1345. #if defined(__cplusplus) && !defined(CINTERFACE)
  1346. } /* extern "C" */
  1347. namespace ABI {
  1348. namespace Windows {
  1349. namespace Gaming {
  1350. namespace Input {
  1351. namespace Custom {
  1352. MIDL_INTERFACE("69a0ae5e-758e-4cbe-ace6-62155fe9126f")
  1353. ICustomGameControllerFactory : public IInspectable
  1354. {
  1355. virtual HRESULT STDMETHODCALLTYPE CreateGameController(
  1356. ABI::Windows::Gaming::Input::Custom::IGameControllerProvider *provider,
  1357. IInspectable **value) = 0;
  1358. virtual HRESULT STDMETHODCALLTYPE OnGameControllerAdded(
  1359. ABI::Windows::Gaming::Input::IGameController *value) = 0;
  1360. virtual HRESULT STDMETHODCALLTYPE OnGameControllerRemoved(
  1361. ABI::Windows::Gaming::Input::IGameController *value) = 0;
  1362. };
  1363. }
  1364. }
  1365. }
  1366. }
  1367. }
  1368. extern "C" {
  1369. #ifdef __CRT_UUID_DECL
  1370. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory, 0x69a0ae5e, 0x758e, 0x4cbe, 0xac,0xe6, 0x62,0x15,0x5f,0xe9,0x12,0x6f)
  1371. #endif
  1372. #else
  1373. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl {
  1374. BEGIN_INTERFACE
  1375. /*** IUnknown methods ***/
  1376. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1377. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1378. REFIID riid,
  1379. void **ppvObject);
  1380. ULONG (STDMETHODCALLTYPE *AddRef)(
  1381. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This);
  1382. ULONG (STDMETHODCALLTYPE *Release)(
  1383. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This);
  1384. /*** IInspectable methods ***/
  1385. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1386. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1387. ULONG *iidCount,
  1388. IID **iids);
  1389. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1390. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1391. HSTRING *className);
  1392. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1393. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1394. TrustLevel *trustLevel);
  1395. /*** ICustomGameControllerFactory methods ***/
  1396. HRESULT (STDMETHODCALLTYPE *CreateGameController)(
  1397. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1398. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *provider,
  1399. IInspectable **value);
  1400. HRESULT (STDMETHODCALLTYPE *OnGameControllerAdded)(
  1401. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1402. __x_ABI_CWindows_CGaming_CInput_CIGameController *value);
  1403. HRESULT (STDMETHODCALLTYPE *OnGameControllerRemoved)(
  1404. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *This,
  1405. __x_ABI_CWindows_CGaming_CInput_CIGameController *value);
  1406. END_INTERFACE
  1407. } __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl;
  1408. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory {
  1409. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl* lpVtbl;
  1410. };
  1411. #ifdef COBJMACROS
  1412. #ifndef WIDL_C_INLINE_WRAPPERS
  1413. /*** IUnknown methods ***/
  1414. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1415. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  1416. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_Release(This) (This)->lpVtbl->Release(This)
  1417. /*** IInspectable methods ***/
  1418. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1419. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1420. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1421. /*** ICustomGameControllerFactory methods ***/
  1422. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_CreateGameController(This,provider,value) (This)->lpVtbl->CreateGameController(This,provider,value)
  1423. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerAdded(This,value) (This)->lpVtbl->OnGameControllerAdded(This,value)
  1424. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerRemoved(This,value) (This)->lpVtbl->OnGameControllerRemoved(This,value)
  1425. #else
  1426. /*** IUnknown methods ***/
  1427. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,REFIID riid,void **ppvObject) {
  1428. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1429. }
  1430. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This) {
  1431. return This->lpVtbl->AddRef(This);
  1432. }
  1433. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This) {
  1434. return This->lpVtbl->Release(This);
  1435. }
  1436. /*** IInspectable methods ***/
  1437. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,ULONG *iidCount,IID **iids) {
  1438. return This->lpVtbl->GetIids(This,iidCount,iids);
  1439. }
  1440. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,HSTRING *className) {
  1441. return This->lpVtbl->GetRuntimeClassName(This,className);
  1442. }
  1443. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,TrustLevel *trustLevel) {
  1444. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1445. }
  1446. /*** ICustomGameControllerFactory methods ***/
  1447. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_CreateGameController(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerProvider *provider,IInspectable **value) {
  1448. return This->lpVtbl->CreateGameController(This,provider,value);
  1449. }
  1450. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerAdded(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *value) {
  1451. return This->lpVtbl->OnGameControllerAdded(This,value);
  1452. }
  1453. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerRemoved(__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory* This,__x_ABI_CWindows_CGaming_CInput_CIGameController *value) {
  1454. return This->lpVtbl->OnGameControllerRemoved(This,value);
  1455. }
  1456. #endif
  1457. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  1458. #define IID_ICustomGameControllerFactory IID___x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory
  1459. #define ICustomGameControllerFactoryVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactoryVtbl
  1460. #define ICustomGameControllerFactory __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory
  1461. #define ICustomGameControllerFactory_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_QueryInterface
  1462. #define ICustomGameControllerFactory_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_AddRef
  1463. #define ICustomGameControllerFactory_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_Release
  1464. #define ICustomGameControllerFactory_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetIids
  1465. #define ICustomGameControllerFactory_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetRuntimeClassName
  1466. #define ICustomGameControllerFactory_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_GetTrustLevel
  1467. #define ICustomGameControllerFactory_CreateGameController __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_CreateGameController
  1468. #define ICustomGameControllerFactory_OnGameControllerAdded __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerAdded
  1469. #define ICustomGameControllerFactory_OnGameControllerRemoved __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_OnGameControllerRemoved
  1470. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  1471. #endif
  1472. #endif
  1473. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory_INTERFACE_DEFINED__ */
  1474. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1475. /*****************************************************************************
  1476. * IGameControllerFactoryManagerStatics interface
  1477. */
  1478. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1479. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_INTERFACE_DEFINED__
  1480. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_INTERFACE_DEFINED__
  1481. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics, 0x36cb66e3, 0xd0a1, 0x4986, 0xa2,0x4c, 0x40,0xb1,0x37,0xde,0xba,0x9e);
  1482. #if defined(__cplusplus) && !defined(CINTERFACE)
  1483. } /* extern "C" */
  1484. namespace ABI {
  1485. namespace Windows {
  1486. namespace Gaming {
  1487. namespace Input {
  1488. namespace Custom {
  1489. MIDL_INTERFACE("36cb66e3-d0a1-4986-a24c-40b137deba9e")
  1490. IGameControllerFactoryManagerStatics : public IInspectable
  1491. {
  1492. virtual HRESULT STDMETHODCALLTYPE RegisterCustomFactoryForGipInterface(
  1493. ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
  1494. GUID interfaceId) = 0;
  1495. virtual HRESULT STDMETHODCALLTYPE RegisterCustomFactoryForHardwareId(
  1496. ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
  1497. UINT16 vendor_id,
  1498. UINT16 product_id) = 0;
  1499. virtual HRESULT STDMETHODCALLTYPE RegisterCustomFactoryForXusbType(
  1500. ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
  1501. enum XusbDeviceType type,
  1502. enum XusbDeviceSubtype subtype) = 0;
  1503. };
  1504. }
  1505. }
  1506. }
  1507. }
  1508. }
  1509. extern "C" {
  1510. #ifdef __CRT_UUID_DECL
  1511. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics, 0x36cb66e3, 0xd0a1, 0x4986, 0xa2,0x4c, 0x40,0xb1,0x37,0xde,0xba,0x9e)
  1512. #endif
  1513. #else
  1514. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl {
  1515. BEGIN_INTERFACE
  1516. /*** IUnknown methods ***/
  1517. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1518. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1519. REFIID riid,
  1520. void **ppvObject);
  1521. ULONG (STDMETHODCALLTYPE *AddRef)(
  1522. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This);
  1523. ULONG (STDMETHODCALLTYPE *Release)(
  1524. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This);
  1525. /*** IInspectable methods ***/
  1526. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1527. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1528. ULONG *iidCount,
  1529. IID **iids);
  1530. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1531. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1532. HSTRING *className);
  1533. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1534. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1535. TrustLevel *trustLevel);
  1536. /*** IGameControllerFactoryManagerStatics methods ***/
  1537. HRESULT (STDMETHODCALLTYPE *RegisterCustomFactoryForGipInterface)(
  1538. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1539. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
  1540. GUID interfaceId);
  1541. HRESULT (STDMETHODCALLTYPE *RegisterCustomFactoryForHardwareId)(
  1542. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1543. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
  1544. UINT16 vendor_id,
  1545. UINT16 product_id);
  1546. HRESULT (STDMETHODCALLTYPE *RegisterCustomFactoryForXusbType)(
  1547. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics *This,
  1548. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
  1549. enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType type,
  1550. enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype subtype);
  1551. END_INTERFACE
  1552. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl;
  1553. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics {
  1554. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl* lpVtbl;
  1555. };
  1556. #ifdef COBJMACROS
  1557. #ifndef WIDL_C_INLINE_WRAPPERS
  1558. /*** IUnknown methods ***/
  1559. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1560. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  1561. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_Release(This) (This)->lpVtbl->Release(This)
  1562. /*** IInspectable methods ***/
  1563. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1564. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1565. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1566. /*** IGameControllerFactoryManagerStatics methods ***/
  1567. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface(This,factory,interfaceId) (This)->lpVtbl->RegisterCustomFactoryForGipInterface(This,factory,interfaceId)
  1568. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId(This,factory,vendor_id,product_id) (This)->lpVtbl->RegisterCustomFactoryForHardwareId(This,factory,vendor_id,product_id)
  1569. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType(This,factory,type,subtype) (This)->lpVtbl->RegisterCustomFactoryForXusbType(This,factory,type,subtype)
  1570. #else
  1571. /*** IUnknown methods ***/
  1572. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,REFIID riid,void **ppvObject) {
  1573. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1574. }
  1575. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This) {
  1576. return This->lpVtbl->AddRef(This);
  1577. }
  1578. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This) {
  1579. return This->lpVtbl->Release(This);
  1580. }
  1581. /*** IInspectable methods ***/
  1582. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,ULONG *iidCount,IID **iids) {
  1583. return This->lpVtbl->GetIids(This,iidCount,iids);
  1584. }
  1585. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,HSTRING *className) {
  1586. return This->lpVtbl->GetRuntimeClassName(This,className);
  1587. }
  1588. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,TrustLevel *trustLevel) {
  1589. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1590. }
  1591. /*** IGameControllerFactoryManagerStatics methods ***/
  1592. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,GUID interfaceId) {
  1593. return This->lpVtbl->RegisterCustomFactoryForGipInterface(This,factory,interfaceId);
  1594. }
  1595. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,UINT16 vendor_id,UINT16 product_id) {
  1596. return This->lpVtbl->RegisterCustomFactoryForHardwareId(This,factory,vendor_id,product_id);
  1597. }
  1598. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceType type,enum __x_ABI_CWindows_CGaming_CInput_CCustom_CXusbDeviceSubtype subtype) {
  1599. return This->lpVtbl->RegisterCustomFactoryForXusbType(This,factory,type,subtype);
  1600. }
  1601. #endif
  1602. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  1603. #define IID_IGameControllerFactoryManagerStatics IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics
  1604. #define IGameControllerFactoryManagerStaticsVtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStaticsVtbl
  1605. #define IGameControllerFactoryManagerStatics __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics
  1606. #define IGameControllerFactoryManagerStatics_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_QueryInterface
  1607. #define IGameControllerFactoryManagerStatics_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_AddRef
  1608. #define IGameControllerFactoryManagerStatics_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_Release
  1609. #define IGameControllerFactoryManagerStatics_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetIids
  1610. #define IGameControllerFactoryManagerStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetRuntimeClassName
  1611. #define IGameControllerFactoryManagerStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_GetTrustLevel
  1612. #define IGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForGipInterface
  1613. #define IGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForHardwareId
  1614. #define IGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_RegisterCustomFactoryForXusbType
  1615. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  1616. #endif
  1617. #endif
  1618. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics_INTERFACE_DEFINED__ */
  1619. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1620. /*****************************************************************************
  1621. * IGameControllerFactoryManagerStatics2 interface
  1622. */
  1623. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1624. #ifndef ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_INTERFACE_DEFINED__
  1625. #define ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_INTERFACE_DEFINED__
  1626. DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2, 0xeace5644, 0x19df, 0x4115, 0xb3,0x2a, 0x27,0x93,0xe2,0xae,0xa3,0xbb);
  1627. #if defined(__cplusplus) && !defined(CINTERFACE)
  1628. } /* extern "C" */
  1629. namespace ABI {
  1630. namespace Windows {
  1631. namespace Gaming {
  1632. namespace Input {
  1633. namespace Custom {
  1634. MIDL_INTERFACE("eace5644-19df-4115-b32a-2793e2aea3bb")
  1635. IGameControllerFactoryManagerStatics2 : public IInspectable
  1636. {
  1637. virtual HRESULT STDMETHODCALLTYPE TryGetFactoryControllerFromGameController(
  1638. ABI::Windows::Gaming::Input::Custom::ICustomGameControllerFactory *factory,
  1639. ABI::Windows::Gaming::Input::IGameController *controller,
  1640. ABI::Windows::Gaming::Input::IGameController **value) = 0;
  1641. };
  1642. }
  1643. }
  1644. }
  1645. }
  1646. }
  1647. extern "C" {
  1648. #ifdef __CRT_UUID_DECL
  1649. __CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2, 0xeace5644, 0x19df, 0x4115, 0xb3,0x2a, 0x27,0x93,0xe2,0xae,0xa3,0xbb)
  1650. #endif
  1651. #else
  1652. typedef struct __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl {
  1653. BEGIN_INTERFACE
  1654. /*** IUnknown methods ***/
  1655. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1656. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
  1657. REFIID riid,
  1658. void **ppvObject);
  1659. ULONG (STDMETHODCALLTYPE *AddRef)(
  1660. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This);
  1661. ULONG (STDMETHODCALLTYPE *Release)(
  1662. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This);
  1663. /*** IInspectable methods ***/
  1664. HRESULT (STDMETHODCALLTYPE *GetIids)(
  1665. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
  1666. ULONG *iidCount,
  1667. IID **iids);
  1668. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  1669. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
  1670. HSTRING *className);
  1671. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  1672. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
  1673. TrustLevel *trustLevel);
  1674. /*** IGameControllerFactoryManagerStatics2 methods ***/
  1675. HRESULT (STDMETHODCALLTYPE *TryGetFactoryControllerFromGameController)(
  1676. __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 *This,
  1677. __x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,
  1678. __x_ABI_CWindows_CGaming_CInput_CIGameController *controller,
  1679. __x_ABI_CWindows_CGaming_CInput_CIGameController **value);
  1680. END_INTERFACE
  1681. } __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl;
  1682. interface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2 {
  1683. CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl* lpVtbl;
  1684. };
  1685. #ifdef COBJMACROS
  1686. #ifndef WIDL_C_INLINE_WRAPPERS
  1687. /*** IUnknown methods ***/
  1688. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1689. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_AddRef(This) (This)->lpVtbl->AddRef(This)
  1690. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_Release(This) (This)->lpVtbl->Release(This)
  1691. /*** IInspectable methods ***/
  1692. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  1693. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  1694. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  1695. /*** IGameControllerFactoryManagerStatics2 methods ***/
  1696. #define __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController(This,factory,controller,value) (This)->lpVtbl->TryGetFactoryControllerFromGameController(This,factory,controller,value)
  1697. #else
  1698. /*** IUnknown methods ***/
  1699. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,REFIID riid,void **ppvObject) {
  1700. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1701. }
  1702. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_AddRef(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This) {
  1703. return This->lpVtbl->AddRef(This);
  1704. }
  1705. static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_Release(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This) {
  1706. return This->lpVtbl->Release(This);
  1707. }
  1708. /*** IInspectable methods ***/
  1709. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetIids(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,ULONG *iidCount,IID **iids) {
  1710. return This->lpVtbl->GetIids(This,iidCount,iids);
  1711. }
  1712. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,HSTRING *className) {
  1713. return This->lpVtbl->GetRuntimeClassName(This,className);
  1714. }
  1715. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,TrustLevel *trustLevel) {
  1716. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  1717. }
  1718. /*** IGameControllerFactoryManagerStatics2 methods ***/
  1719. static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController(__x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2* This,__x_ABI_CWindows_CGaming_CInput_CCustom_CICustomGameControllerFactory *factory,__x_ABI_CWindows_CGaming_CInput_CIGameController *controller,__x_ABI_CWindows_CGaming_CInput_CIGameController **value) {
  1720. return This->lpVtbl->TryGetFactoryControllerFromGameController(This,factory,controller,value);
  1721. }
  1722. #endif
  1723. #ifdef WIDL_using_Windows_Gaming_Input_Custom
  1724. #define IID_IGameControllerFactoryManagerStatics2 IID___x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2
  1725. #define IGameControllerFactoryManagerStatics2Vtbl __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2Vtbl
  1726. #define IGameControllerFactoryManagerStatics2 __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2
  1727. #define IGameControllerFactoryManagerStatics2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_QueryInterface
  1728. #define IGameControllerFactoryManagerStatics2_AddRef __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_AddRef
  1729. #define IGameControllerFactoryManagerStatics2_Release __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_Release
  1730. #define IGameControllerFactoryManagerStatics2_GetIids __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetIids
  1731. #define IGameControllerFactoryManagerStatics2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetRuntimeClassName
  1732. #define IGameControllerFactoryManagerStatics2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_GetTrustLevel
  1733. #define IGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController __x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_TryGetFactoryControllerFromGameController
  1734. #endif /* WIDL_using_Windows_Gaming_Input_Custom */
  1735. #endif
  1736. #endif
  1737. #endif /* ____x_ABI_CWindows_CGaming_CInput_CCustom_CIGameControllerFactoryManagerStatics2_INTERFACE_DEFINED__ */
  1738. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1739. /*
  1740. * Class Windows.Gaming.Input.Custom.GameControllerFactoryManager
  1741. */
  1742. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1743. #ifndef RUNTIMECLASS_Windows_Gaming_Input_Custom_GameControllerFactoryManager_DEFINED
  1744. #define RUNTIMECLASS_Windows_Gaming_Input_Custom_GameControllerFactoryManager_DEFINED
  1745. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1746. static const WCHAR RuntimeClass_Windows_Gaming_Input_Custom_GameControllerFactoryManager[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','G','a','m','e','C','o','n','t','r','o','l','l','e','r','F','a','c','t','o','r','y','M','a','n','a','g','e','r',0};
  1747. #elif defined(__GNUC__) && !defined(__cplusplus)
  1748. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_GameControllerFactoryManager[] = L"Windows.Gaming.Input.Custom.GameControllerFactoryManager";
  1749. #else
  1750. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_GameControllerFactoryManager[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','G','a','m','e','C','o','n','t','r','o','l','l','e','r','F','a','c','t','o','r','y','M','a','n','a','g','e','r',0};
  1751. #endif
  1752. #endif /* RUNTIMECLASS_Windows_Gaming_Input_Custom_GameControllerFactoryManager_DEFINED */
  1753. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1754. /*
  1755. * Class Windows.Gaming.Input.Custom.HidGameControllerProvider
  1756. */
  1757. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000
  1758. #ifndef RUNTIMECLASS_Windows_Gaming_Input_Custom_HidGameControllerProvider_DEFINED
  1759. #define RUNTIMECLASS_Windows_Gaming_Input_Custom_HidGameControllerProvider_DEFINED
  1760. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1761. static const WCHAR RuntimeClass_Windows_Gaming_Input_Custom_HidGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','H','i','d','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
  1762. #elif defined(__GNUC__) && !defined(__cplusplus)
  1763. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_HidGameControllerProvider[] = L"Windows.Gaming.Input.Custom.HidGameControllerProvider";
  1764. #else
  1765. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_HidGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','H','i','d','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
  1766. #endif
  1767. #endif /* RUNTIMECLASS_Windows_Gaming_Input_Custom_HidGameControllerProvider_DEFINED */
  1768. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x40000 */
  1769. /*
  1770. * Class Windows.Gaming.Input.Custom.XusbGameControllerProvider
  1771. */
  1772. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
  1773. #ifndef RUNTIMECLASS_Windows_Gaming_Input_Custom_XusbGameControllerProvider_DEFINED
  1774. #define RUNTIMECLASS_Windows_Gaming_Input_Custom_XusbGameControllerProvider_DEFINED
  1775. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  1776. static const WCHAR RuntimeClass_Windows_Gaming_Input_Custom_XusbGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','X','u','s','b','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
  1777. #elif defined(__GNUC__) && !defined(__cplusplus)
  1778. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_XusbGameControllerProvider[] = L"Windows.Gaming.Input.Custom.XusbGameControllerProvider";
  1779. #else
  1780. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_Input_Custom_XusbGameControllerProvider[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','I','n','p','u','t','.','C','u','s','t','o','m','.','X','u','s','b','G','a','m','e','C','o','n','t','r','o','l','l','e','r','P','r','o','v','i','d','e','r',0};
  1781. #endif
  1782. #endif /* RUNTIMECLASS_Windows_Gaming_Input_Custom_XusbGameControllerProvider_DEFINED */
  1783. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
  1784. /* Begin additional prototypes for all interfaces */
  1785. /* End additional prototypes */
  1786. #ifdef __cplusplus
  1787. }
  1788. #endif
  1789. #endif /* __windows_gaming_input_custom_h__ */