windows.storage.streams.h 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. /*** Autogenerated by WIDL 7.7 from include/windows.storage.streams.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __windows_storage_streams_h__
  14. #define __windows_storage_streams_h__
  15. /* Forward declarations */
  16. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
  17. #define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
  18. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer;
  19. #ifdef __cplusplus
  20. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer ABI::Windows::Storage::Streams::IBuffer
  21. namespace ABI {
  22. namespace Windows {
  23. namespace Storage {
  24. namespace Streams {
  25. interface IBuffer;
  26. }
  27. }
  28. }
  29. }
  30. #endif /* __cplusplus */
  31. #endif
  32. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
  33. #define ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
  34. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory;
  35. #ifdef __cplusplus
  36. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory ABI::Windows::Storage::Streams::IBufferFactory
  37. namespace ABI {
  38. namespace Windows {
  39. namespace Storage {
  40. namespace Streams {
  41. interface IBufferFactory;
  42. }
  43. }
  44. }
  45. }
  46. #endif /* __cplusplus */
  47. #endif
  48. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_FWD_DEFINED__
  49. #define ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_FWD_DEFINED__
  50. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics;
  51. #ifdef __cplusplus
  52. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics ABI::Windows::Storage::Streams::IBufferStatics
  53. namespace ABI {
  54. namespace Windows {
  55. namespace Storage {
  56. namespace Streams {
  57. interface IBufferStatics;
  58. }
  59. }
  60. }
  61. }
  62. #endif /* __cplusplus */
  63. #endif
  64. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_FWD_DEFINED__
  65. #define ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_FWD_DEFINED__
  66. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType;
  67. #ifdef __cplusplus
  68. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType
  69. namespace ABI {
  70. namespace Windows {
  71. namespace Storage {
  72. namespace Streams {
  73. interface IRandomAccessStreamWithContentType;
  74. }
  75. }
  76. }
  77. }
  78. #endif /* __cplusplus */
  79. #endif
  80. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CBuffer_FWD_DEFINED__
  81. #define ____x_ABI_CWindows_CStorage_CStreams_CBuffer_FWD_DEFINED__
  82. #ifdef __cplusplus
  83. namespace ABI {
  84. namespace Windows {
  85. namespace Storage {
  86. namespace Streams {
  87. class Buffer;
  88. }
  89. }
  90. }
  91. }
  92. #else
  93. typedef struct __x_ABI_CWindows_CStorage_CStreams_CBuffer __x_ABI_CWindows_CStorage_CStreams_CBuffer;
  94. #endif /* defined __cplusplus */
  95. #endif /* defined ____x_ABI_CWindows_CStorage_CStreams_CBuffer_FWD_DEFINED__ */
  96. /* Headers for imported files */
  97. #include <inspectable.h>
  98. #include <eventtoken.h>
  99. #include <windows.foundation.h>
  100. #ifdef __cplusplus
  101. extern "C" {
  102. #endif
  103. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
  104. #define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
  105. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer;
  106. #ifdef __cplusplus
  107. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer ABI::Windows::Storage::Streams::IBuffer
  108. namespace ABI {
  109. namespace Windows {
  110. namespace Storage {
  111. namespace Streams {
  112. interface IBuffer;
  113. }
  114. }
  115. }
  116. }
  117. #endif /* __cplusplus */
  118. #endif
  119. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
  120. #define ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
  121. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory;
  122. #ifdef __cplusplus
  123. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory ABI::Windows::Storage::Streams::IBufferFactory
  124. namespace ABI {
  125. namespace Windows {
  126. namespace Storage {
  127. namespace Streams {
  128. interface IBufferFactory;
  129. }
  130. }
  131. }
  132. }
  133. #endif /* __cplusplus */
  134. #endif
  135. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_FWD_DEFINED__
  136. #define ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_FWD_DEFINED__
  137. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics;
  138. #ifdef __cplusplus
  139. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics ABI::Windows::Storage::Streams::IBufferStatics
  140. namespace ABI {
  141. namespace Windows {
  142. namespace Storage {
  143. namespace Streams {
  144. interface IBufferStatics;
  145. }
  146. }
  147. }
  148. }
  149. #endif /* __cplusplus */
  150. #endif
  151. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider_FWD_DEFINED__
  152. #define ____x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider_FWD_DEFINED__
  153. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider __x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider;
  154. #ifdef __cplusplus
  155. #define __x_ABI_CWindows_CStorage_CStreams_CIContentTypeProvider ABI::Windows::Storage::Streams::IContentTypeProvider
  156. namespace ABI {
  157. namespace Windows {
  158. namespace Storage {
  159. namespace Streams {
  160. interface IContentTypeProvider;
  161. }
  162. }
  163. }
  164. }
  165. #endif /* __cplusplus */
  166. #endif
  167. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
  168. #define ____x_ABI_CWindows_CStorage_CStreams_CIInputStream_FWD_DEFINED__
  169. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIInputStream __x_ABI_CWindows_CStorage_CStreams_CIInputStream;
  170. #ifdef __cplusplus
  171. #define __x_ABI_CWindows_CStorage_CStreams_CIInputStream ABI::Windows::Storage::Streams::IInputStream
  172. namespace ABI {
  173. namespace Windows {
  174. namespace Storage {
  175. namespace Streams {
  176. interface IInputStream;
  177. }
  178. }
  179. }
  180. }
  181. #endif /* __cplusplus */
  182. #endif
  183. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
  184. #define ____x_ABI_CWindows_CStorage_CStreams_CIOutputStream_FWD_DEFINED__
  185. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIOutputStream __x_ABI_CWindows_CStorage_CStreams_CIOutputStream;
  186. #ifdef __cplusplus
  187. #define __x_ABI_CWindows_CStorage_CStreams_CIOutputStream ABI::Windows::Storage::Streams::IOutputStream
  188. namespace ABI {
  189. namespace Windows {
  190. namespace Storage {
  191. namespace Streams {
  192. interface IOutputStream;
  193. }
  194. }
  195. }
  196. }
  197. #endif /* __cplusplus */
  198. #endif
  199. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream_FWD_DEFINED__
  200. #define ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream_FWD_DEFINED__
  201. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream;
  202. #ifdef __cplusplus
  203. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStream ABI::Windows::Storage::Streams::IRandomAccessStream
  204. namespace ABI {
  205. namespace Windows {
  206. namespace Storage {
  207. namespace Streams {
  208. interface IRandomAccessStream;
  209. }
  210. }
  211. }
  212. }
  213. #endif /* __cplusplus */
  214. #endif
  215. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_FWD_DEFINED__
  216. #define ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_FWD_DEFINED__
  217. typedef interface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType;
  218. #ifdef __cplusplus
  219. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType ABI::Windows::Storage::Streams::IRandomAccessStreamWithContentType
  220. namespace ABI {
  221. namespace Windows {
  222. namespace Storage {
  223. namespace Streams {
  224. interface IRandomAccessStreamWithContentType;
  225. }
  226. }
  227. }
  228. }
  229. #endif /* __cplusplus */
  230. #endif
  231. /*****************************************************************************
  232. * IBuffer interface
  233. */
  234. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  235. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_INTERFACE_DEFINED__
  236. #define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_INTERFACE_DEFINED__
  237. DEFINE_GUID(IID___x_ABI_CWindows_CStorage_CStreams_CIBuffer, 0x905a0fe0, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda);
  238. #if defined(__cplusplus) && !defined(CINTERFACE)
  239. } /* extern "C" */
  240. namespace ABI {
  241. namespace Windows {
  242. namespace Storage {
  243. namespace Streams {
  244. MIDL_INTERFACE("905a0fe0-bc53-11df-8c49-001e4fc686da")
  245. IBuffer : public IInspectable
  246. {
  247. virtual HRESULT STDMETHODCALLTYPE get_Capacity(
  248. UINT32 *value) = 0;
  249. virtual HRESULT STDMETHODCALLTYPE get_Length(
  250. UINT32 *value) = 0;
  251. virtual HRESULT STDMETHODCALLTYPE put_Length(
  252. UINT32 value) = 0;
  253. };
  254. }
  255. }
  256. }
  257. }
  258. extern "C" {
  259. #ifdef __CRT_UUID_DECL
  260. __CRT_UUID_DECL(__x_ABI_CWindows_CStorage_CStreams_CIBuffer, 0x905a0fe0, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda)
  261. #endif
  262. #else
  263. typedef struct __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl {
  264. BEGIN_INTERFACE
  265. /*** IUnknown methods ***/
  266. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  267. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  268. REFIID riid,
  269. void **ppvObject);
  270. ULONG (STDMETHODCALLTYPE *AddRef)(
  271. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This);
  272. ULONG (STDMETHODCALLTYPE *Release)(
  273. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This);
  274. /*** IInspectable methods ***/
  275. HRESULT (STDMETHODCALLTYPE *GetIids)(
  276. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  277. ULONG *iidCount,
  278. IID **iids);
  279. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  280. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  281. HSTRING *className);
  282. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  283. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  284. TrustLevel *trustLevel);
  285. /*** IBuffer methods ***/
  286. HRESULT (STDMETHODCALLTYPE *get_Capacity)(
  287. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  288. UINT32 *value);
  289. HRESULT (STDMETHODCALLTYPE *get_Length)(
  290. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  291. UINT32 *value);
  292. HRESULT (STDMETHODCALLTYPE *put_Length)(
  293. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
  294. UINT32 value);
  295. END_INTERFACE
  296. } __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl;
  297. interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer {
  298. CONST_VTBL __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl* lpVtbl;
  299. };
  300. #ifdef COBJMACROS
  301. #ifndef WIDL_C_INLINE_WRAPPERS
  302. /*** IUnknown methods ***/
  303. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  304. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
  305. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_Release(This) (This)->lpVtbl->Release(This)
  306. /*** IInspectable methods ***/
  307. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  308. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  309. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  310. /*** IBuffer methods ***/
  311. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Capacity(This,value) (This)->lpVtbl->get_Capacity(This,value)
  312. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Length(This,value) (This)->lpVtbl->get_Length(This,value)
  313. #define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_put_Length(This,value) (This)->lpVtbl->put_Length(This,value)
  314. #else
  315. /*** IUnknown methods ***/
  316. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_QueryInterface(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,REFIID riid,void **ppvObject) {
  317. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  318. }
  319. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBuffer_AddRef(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This) {
  320. return This->lpVtbl->AddRef(This);
  321. }
  322. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBuffer_Release(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This) {
  323. return This->lpVtbl->Release(This);
  324. }
  325. /*** IInspectable methods ***/
  326. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetIids(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,ULONG *iidCount,IID **iids) {
  327. return This->lpVtbl->GetIids(This,iidCount,iids);
  328. }
  329. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetRuntimeClassName(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,HSTRING *className) {
  330. return This->lpVtbl->GetRuntimeClassName(This,className);
  331. }
  332. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetTrustLevel(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,TrustLevel *trustLevel) {
  333. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  334. }
  335. /*** IBuffer methods ***/
  336. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Capacity(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,UINT32 *value) {
  337. return This->lpVtbl->get_Capacity(This,value);
  338. }
  339. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Length(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,UINT32 *value) {
  340. return This->lpVtbl->get_Length(This,value);
  341. }
  342. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_put_Length(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,UINT32 value) {
  343. return This->lpVtbl->put_Length(This,value);
  344. }
  345. #endif
  346. #ifdef WIDL_using_Windows_Storage_Streams
  347. #define IID_IBuffer IID___x_ABI_CWindows_CStorage_CStreams_CIBuffer
  348. #define IBufferVtbl __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl
  349. #define IBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer
  350. #define IBuffer_QueryInterface __x_ABI_CWindows_CStorage_CStreams_CIBuffer_QueryInterface
  351. #define IBuffer_AddRef __x_ABI_CWindows_CStorage_CStreams_CIBuffer_AddRef
  352. #define IBuffer_Release __x_ABI_CWindows_CStorage_CStreams_CIBuffer_Release
  353. #define IBuffer_GetIids __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetIids
  354. #define IBuffer_GetRuntimeClassName __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetRuntimeClassName
  355. #define IBuffer_GetTrustLevel __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetTrustLevel
  356. #define IBuffer_get_Capacity __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Capacity
  357. #define IBuffer_get_Length __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Length
  358. #define IBuffer_put_Length __x_ABI_CWindows_CStorage_CStreams_CIBuffer_put_Length
  359. #endif /* WIDL_using_Windows_Storage_Streams */
  360. #endif
  361. #endif
  362. #endif /* ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_INTERFACE_DEFINED__ */
  363. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  364. /*****************************************************************************
  365. * IBufferFactory interface
  366. */
  367. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  368. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_INTERFACE_DEFINED__
  369. #define ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_INTERFACE_DEFINED__
  370. DEFINE_GUID(IID___x_ABI_CWindows_CStorage_CStreams_CIBufferFactory, 0x71af914d, 0xc10f, 0x484b, 0xbc,0x50, 0x14,0xbc,0x62,0x3b,0x3a,0x27);
  371. #if defined(__cplusplus) && !defined(CINTERFACE)
  372. } /* extern "C" */
  373. namespace ABI {
  374. namespace Windows {
  375. namespace Storage {
  376. namespace Streams {
  377. MIDL_INTERFACE("71af914d-c10f-484b-bc50-14bc623b3a27")
  378. IBufferFactory : public IInspectable
  379. {
  380. virtual HRESULT STDMETHODCALLTYPE Create(
  381. UINT32 capacity,
  382. ABI::Windows::Storage::Streams::IBuffer **value) = 0;
  383. };
  384. }
  385. }
  386. }
  387. }
  388. extern "C" {
  389. #ifdef __CRT_UUID_DECL
  390. __CRT_UUID_DECL(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory, 0x71af914d, 0xc10f, 0x484b, 0xbc,0x50, 0x14,0xbc,0x62,0x3b,0x3a,0x27)
  391. #endif
  392. #else
  393. typedef struct __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl {
  394. BEGIN_INTERFACE
  395. /*** IUnknown methods ***/
  396. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  397. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
  398. REFIID riid,
  399. void **ppvObject);
  400. ULONG (STDMETHODCALLTYPE *AddRef)(
  401. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This);
  402. ULONG (STDMETHODCALLTYPE *Release)(
  403. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This);
  404. /*** IInspectable methods ***/
  405. HRESULT (STDMETHODCALLTYPE *GetIids)(
  406. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
  407. ULONG *iidCount,
  408. IID **iids);
  409. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  410. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
  411. HSTRING *className);
  412. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  413. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
  414. TrustLevel *trustLevel);
  415. /*** IBufferFactory methods ***/
  416. HRESULT (STDMETHODCALLTYPE *Create)(
  417. __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
  418. UINT32 capacity,
  419. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **value);
  420. END_INTERFACE
  421. } __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl;
  422. interface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory {
  423. CONST_VTBL __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl* lpVtbl;
  424. };
  425. #ifdef COBJMACROS
  426. #ifndef WIDL_C_INLINE_WRAPPERS
  427. /*** IUnknown methods ***/
  428. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  429. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  430. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Release(This) (This)->lpVtbl->Release(This)
  431. /*** IInspectable methods ***/
  432. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  433. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  434. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  435. /*** IBufferFactory methods ***/
  436. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Create(This,capacity,value) (This)->lpVtbl->Create(This,capacity,value)
  437. #else
  438. /*** IUnknown methods ***/
  439. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_QueryInterface(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,REFIID riid,void **ppvObject) {
  440. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  441. }
  442. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_AddRef(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This) {
  443. return This->lpVtbl->AddRef(This);
  444. }
  445. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Release(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This) {
  446. return This->lpVtbl->Release(This);
  447. }
  448. /*** IInspectable methods ***/
  449. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetIids(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,ULONG *iidCount,IID **iids) {
  450. return This->lpVtbl->GetIids(This,iidCount,iids);
  451. }
  452. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetRuntimeClassName(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,HSTRING *className) {
  453. return This->lpVtbl->GetRuntimeClassName(This,className);
  454. }
  455. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetTrustLevel(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,TrustLevel *trustLevel) {
  456. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  457. }
  458. /*** IBufferFactory methods ***/
  459. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Create(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,UINT32 capacity,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **value) {
  460. return This->lpVtbl->Create(This,capacity,value);
  461. }
  462. #endif
  463. #ifdef WIDL_using_Windows_Storage_Streams
  464. #define IID_IBufferFactory IID___x_ABI_CWindows_CStorage_CStreams_CIBufferFactory
  465. #define IBufferFactoryVtbl __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl
  466. #define IBufferFactory __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory
  467. #define IBufferFactory_QueryInterface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_QueryInterface
  468. #define IBufferFactory_AddRef __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_AddRef
  469. #define IBufferFactory_Release __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Release
  470. #define IBufferFactory_GetIids __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetIids
  471. #define IBufferFactory_GetRuntimeClassName __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetRuntimeClassName
  472. #define IBufferFactory_GetTrustLevel __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetTrustLevel
  473. #define IBufferFactory_Create __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Create
  474. #endif /* WIDL_using_Windows_Storage_Streams */
  475. #endif
  476. #endif
  477. #endif /* ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_INTERFACE_DEFINED__ */
  478. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  479. /*****************************************************************************
  480. * IBufferStatics interface
  481. */
  482. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  483. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_INTERFACE_DEFINED__
  484. #define ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_INTERFACE_DEFINED__
  485. DEFINE_GUID(IID___x_ABI_CWindows_CStorage_CStreams_CIBufferStatics, 0xe901e65b, 0xd716, 0x475a, 0xa9,0x0a, 0xaf,0x72,0x29,0xb1,0xe7,0x41);
  486. #if defined(__cplusplus) && !defined(CINTERFACE)
  487. } /* extern "C" */
  488. namespace ABI {
  489. namespace Windows {
  490. namespace Storage {
  491. namespace Streams {
  492. MIDL_INTERFACE("e901e65b-d716-475a-a90a-af7229b1e741")
  493. IBufferStatics : public IInspectable
  494. {
  495. virtual HRESULT STDMETHODCALLTYPE CreateCopyFromMemoryBuffer(
  496. ABI::Windows::Foundation::IMemoryBuffer *input,
  497. ABI::Windows::Storage::Streams::IBuffer **value) = 0;
  498. virtual HRESULT STDMETHODCALLTYPE CreateMemoryBufferOverIBuffer(
  499. ABI::Windows::Storage::Streams::IBuffer *input,
  500. ABI::Windows::Foundation::IMemoryBuffer **value) = 0;
  501. };
  502. }
  503. }
  504. }
  505. }
  506. extern "C" {
  507. #ifdef __CRT_UUID_DECL
  508. __CRT_UUID_DECL(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics, 0xe901e65b, 0xd716, 0x475a, 0xa9,0x0a, 0xaf,0x72,0x29,0xb1,0xe7,0x41)
  509. #endif
  510. #else
  511. typedef struct __x_ABI_CWindows_CStorage_CStreams_CIBufferStaticsVtbl {
  512. BEGIN_INTERFACE
  513. /*** IUnknown methods ***/
  514. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  515. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This,
  516. REFIID riid,
  517. void **ppvObject);
  518. ULONG (STDMETHODCALLTYPE *AddRef)(
  519. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This);
  520. ULONG (STDMETHODCALLTYPE *Release)(
  521. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This);
  522. /*** IInspectable methods ***/
  523. HRESULT (STDMETHODCALLTYPE *GetIids)(
  524. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This,
  525. ULONG *iidCount,
  526. IID **iids);
  527. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  528. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This,
  529. HSTRING *className);
  530. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  531. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This,
  532. TrustLevel *trustLevel);
  533. /*** IBufferStatics methods ***/
  534. HRESULT (STDMETHODCALLTYPE *CreateCopyFromMemoryBuffer)(
  535. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This,
  536. __x_ABI_CWindows_CFoundation_CIMemoryBuffer *input,
  537. __x_ABI_CWindows_CStorage_CStreams_CIBuffer **value);
  538. HRESULT (STDMETHODCALLTYPE *CreateMemoryBufferOverIBuffer)(
  539. __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics *This,
  540. __x_ABI_CWindows_CStorage_CStreams_CIBuffer *input,
  541. __x_ABI_CWindows_CFoundation_CIMemoryBuffer **value);
  542. END_INTERFACE
  543. } __x_ABI_CWindows_CStorage_CStreams_CIBufferStaticsVtbl;
  544. interface __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics {
  545. CONST_VTBL __x_ABI_CWindows_CStorage_CStreams_CIBufferStaticsVtbl* lpVtbl;
  546. };
  547. #ifdef COBJMACROS
  548. #ifndef WIDL_C_INLINE_WRAPPERS
  549. /*** IUnknown methods ***/
  550. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  551. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_AddRef(This) (This)->lpVtbl->AddRef(This)
  552. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_Release(This) (This)->lpVtbl->Release(This)
  553. /*** IInspectable methods ***/
  554. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  555. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  556. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  557. /*** IBufferStatics methods ***/
  558. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_CreateCopyFromMemoryBuffer(This,input,value) (This)->lpVtbl->CreateCopyFromMemoryBuffer(This,input,value)
  559. #define __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_CreateMemoryBufferOverIBuffer(This,input,value) (This)->lpVtbl->CreateMemoryBufferOverIBuffer(This,input,value)
  560. #else
  561. /*** IUnknown methods ***/
  562. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_QueryInterface(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This,REFIID riid,void **ppvObject) {
  563. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  564. }
  565. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_AddRef(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This) {
  566. return This->lpVtbl->AddRef(This);
  567. }
  568. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_Release(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This) {
  569. return This->lpVtbl->Release(This);
  570. }
  571. /*** IInspectable methods ***/
  572. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetIids(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This,ULONG *iidCount,IID **iids) {
  573. return This->lpVtbl->GetIids(This,iidCount,iids);
  574. }
  575. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetRuntimeClassName(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This,HSTRING *className) {
  576. return This->lpVtbl->GetRuntimeClassName(This,className);
  577. }
  578. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetTrustLevel(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This,TrustLevel *trustLevel) {
  579. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  580. }
  581. /*** IBufferStatics methods ***/
  582. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_CreateCopyFromMemoryBuffer(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This,__x_ABI_CWindows_CFoundation_CIMemoryBuffer *input,__x_ABI_CWindows_CStorage_CStreams_CIBuffer **value) {
  583. return This->lpVtbl->CreateCopyFromMemoryBuffer(This,input,value);
  584. }
  585. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_CreateMemoryBufferOverIBuffer(__x_ABI_CWindows_CStorage_CStreams_CIBufferStatics* This,__x_ABI_CWindows_CStorage_CStreams_CIBuffer *input,__x_ABI_CWindows_CFoundation_CIMemoryBuffer **value) {
  586. return This->lpVtbl->CreateMemoryBufferOverIBuffer(This,input,value);
  587. }
  588. #endif
  589. #ifdef WIDL_using_Windows_Storage_Streams
  590. #define IID_IBufferStatics IID___x_ABI_CWindows_CStorage_CStreams_CIBufferStatics
  591. #define IBufferStaticsVtbl __x_ABI_CWindows_CStorage_CStreams_CIBufferStaticsVtbl
  592. #define IBufferStatics __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics
  593. #define IBufferStatics_QueryInterface __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_QueryInterface
  594. #define IBufferStatics_AddRef __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_AddRef
  595. #define IBufferStatics_Release __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_Release
  596. #define IBufferStatics_GetIids __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetIids
  597. #define IBufferStatics_GetRuntimeClassName __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetRuntimeClassName
  598. #define IBufferStatics_GetTrustLevel __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_GetTrustLevel
  599. #define IBufferStatics_CreateCopyFromMemoryBuffer __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_CreateCopyFromMemoryBuffer
  600. #define IBufferStatics_CreateMemoryBufferOverIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_CreateMemoryBufferOverIBuffer
  601. #endif /* WIDL_using_Windows_Storage_Streams */
  602. #endif
  603. #endif
  604. #endif /* ____x_ABI_CWindows_CStorage_CStreams_CIBufferStatics_INTERFACE_DEFINED__ */
  605. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  606. /*****************************************************************************
  607. * IRandomAccessStreamWithContentType interface
  608. */
  609. #ifndef ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_INTERFACE_DEFINED__
  610. #define ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_INTERFACE_DEFINED__
  611. DEFINE_GUID(IID___x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType, 0xcc254827, 0x4b3d, 0x438f, 0x92,0x32, 0x10,0xc7,0x6b,0xc7,0xe0,0x38);
  612. #if defined(__cplusplus) && !defined(CINTERFACE)
  613. } /* extern "C" */
  614. namespace ABI {
  615. namespace Windows {
  616. namespace Storage {
  617. namespace Streams {
  618. MIDL_INTERFACE("cc254827-4b3d-438f-9232-10c76bc7e038")
  619. IRandomAccessStreamWithContentType : public IInspectable
  620. {
  621. };
  622. }
  623. }
  624. }
  625. }
  626. extern "C" {
  627. #ifdef __CRT_UUID_DECL
  628. __CRT_UUID_DECL(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType, 0xcc254827, 0x4b3d, 0x438f, 0x92,0x32, 0x10,0xc7,0x6b,0xc7,0xe0,0x38)
  629. #endif
  630. #else
  631. typedef struct __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentTypeVtbl {
  632. BEGIN_INTERFACE
  633. /*** IUnknown methods ***/
  634. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  635. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType *This,
  636. REFIID riid,
  637. void **ppvObject);
  638. ULONG (STDMETHODCALLTYPE *AddRef)(
  639. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType *This);
  640. ULONG (STDMETHODCALLTYPE *Release)(
  641. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType *This);
  642. /*** IInspectable methods ***/
  643. HRESULT (STDMETHODCALLTYPE *GetIids)(
  644. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType *This,
  645. ULONG *iidCount,
  646. IID **iids);
  647. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  648. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType *This,
  649. HSTRING *className);
  650. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  651. __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType *This,
  652. TrustLevel *trustLevel);
  653. END_INTERFACE
  654. } __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentTypeVtbl;
  655. interface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType {
  656. CONST_VTBL __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentTypeVtbl* lpVtbl;
  657. };
  658. #ifdef COBJMACROS
  659. #ifndef WIDL_C_INLINE_WRAPPERS
  660. /*** IUnknown methods ***/
  661. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  662. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_AddRef(This) (This)->lpVtbl->AddRef(This)
  663. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_Release(This) (This)->lpVtbl->Release(This)
  664. /*** IInspectable methods ***/
  665. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  666. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  667. #define __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  668. #else
  669. /*** IUnknown methods ***/
  670. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_QueryInterface(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType* This,REFIID riid,void **ppvObject) {
  671. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  672. }
  673. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_AddRef(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType* This) {
  674. return This->lpVtbl->AddRef(This);
  675. }
  676. static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_Release(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType* This) {
  677. return This->lpVtbl->Release(This);
  678. }
  679. /*** IInspectable methods ***/
  680. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetIids(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType* This,ULONG *iidCount,IID **iids) {
  681. return This->lpVtbl->GetIids(This,iidCount,iids);
  682. }
  683. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetRuntimeClassName(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType* This,HSTRING *className) {
  684. return This->lpVtbl->GetRuntimeClassName(This,className);
  685. }
  686. static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetTrustLevel(__x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType* This,TrustLevel *trustLevel) {
  687. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  688. }
  689. #endif
  690. #ifdef WIDL_using_Windows_Storage_Streams
  691. #define IID_IRandomAccessStreamWithContentType IID___x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType
  692. #define IRandomAccessStreamWithContentTypeVtbl __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentTypeVtbl
  693. #define IRandomAccessStreamWithContentType __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType
  694. #define IRandomAccessStreamWithContentType_QueryInterface __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_QueryInterface
  695. #define IRandomAccessStreamWithContentType_AddRef __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_AddRef
  696. #define IRandomAccessStreamWithContentType_Release __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_Release
  697. #define IRandomAccessStreamWithContentType_GetIids __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetIids
  698. #define IRandomAccessStreamWithContentType_GetRuntimeClassName __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetRuntimeClassName
  699. #define IRandomAccessStreamWithContentType_GetTrustLevel __x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_GetTrustLevel
  700. #endif /* WIDL_using_Windows_Storage_Streams */
  701. #endif
  702. #endif
  703. #endif /* ____x_ABI_CWindows_CStorage_CStreams_CIRandomAccessStreamWithContentType_INTERFACE_DEFINED__ */
  704. /*
  705. * Class Windows.Storage.Streams.Buffer
  706. */
  707. #if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000
  708. #ifndef RUNTIMECLASS_Windows_Storage_Streams_Buffer_DEFINED
  709. #define RUNTIMECLASS_Windows_Storage_Streams_Buffer_DEFINED
  710. #if !defined(_MSC_VER) && !defined(__MINGW32__)
  711. static const WCHAR RuntimeClass_Windows_Storage_Streams_Buffer[] = {'W','i','n','d','o','w','s','.','S','t','o','r','a','g','e','.','S','t','r','e','a','m','s','.','B','u','f','f','e','r',0};
  712. #elif defined(__GNUC__) && !defined(__cplusplus)
  713. const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Storage_Streams_Buffer[] = L"Windows.Storage.Streams.Buffer";
  714. #else
  715. extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Storage_Streams_Buffer[] = {'W','i','n','d','o','w','s','.','S','t','o','r','a','g','e','.','S','t','r','e','a','m','s','.','B','u','f','f','e','r',0};
  716. #endif
  717. #endif /* RUNTIMECLASS_Windows_Storage_Streams_Buffer_DEFINED */
  718. #endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
  719. /* Begin additional prototypes for all interfaces */
  720. /* End additional prototypes */
  721. #ifdef __cplusplus
  722. }
  723. #endif
  724. #endif /* __windows_storage_streams_h__ */