source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/windows.storage.streams.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 16.1 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/windows.storage.streams.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __windows_storage_streams_h__
17#define __windows_storage_streams_h__
18
19/* Forward declarations */
20
21#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
22#define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
23typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer;
24#ifdef __cplusplus
25#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer ABI::Windows::Storage::Streams::IBuffer
26namespace ABI {
27 namespace Windows {
28 namespace Storage {
29 namespace Streams {
30 interface IBuffer;
31 }
32 }
33 }
34}
35#endif /* __cplusplus */
36#endif
37
38#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
39#define ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
40typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory;
41#ifdef __cplusplus
42#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory ABI::Windows::Storage::Streams::IBufferFactory
43namespace ABI {
44 namespace Windows {
45 namespace Storage {
46 namespace Streams {
47 interface IBufferFactory;
48 }
49 }
50 }
51}
52#endif /* __cplusplus */
53#endif
54
55/* Headers for imported files */
56
57#include <inspectable.h>
58
59#ifdef __cplusplus
60extern "C" {
61#endif
62
63#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
64#define ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_FWD_DEFINED__
65typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory;
66#ifdef __cplusplus
67#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory ABI::Windows::Storage::Streams::IBufferFactory
68namespace ABI {
69 namespace Windows {
70 namespace Storage {
71 namespace Streams {
72 interface IBufferFactory;
73 }
74 }
75 }
76}
77#endif /* __cplusplus */
78#endif
79
80#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
81#define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_FWD_DEFINED__
82typedef interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer;
83#ifdef __cplusplus
84#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer ABI::Windows::Storage::Streams::IBuffer
85namespace ABI {
86 namespace Windows {
87 namespace Storage {
88 namespace Streams {
89 interface IBuffer;
90 }
91 }
92 }
93}
94#endif /* __cplusplus */
95#endif
96
97/*****************************************************************************
98 * IBuffer interface
99 */
100#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_INTERFACE_DEFINED__
101#define ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_INTERFACE_DEFINED__
102
103DEFINE_GUID(IID___x_ABI_CWindows_CStorage_CStreams_CIBuffer, 0x905a0fe0, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda);
104#if defined(__cplusplus) && !defined(CINTERFACE)
105} /* extern "C" */
106namespace ABI {
107 namespace Windows {
108 namespace Storage {
109 namespace Streams {
110 MIDL_INTERFACE("905a0fe0-bc53-11df-8c49-001e4fc686da")
111 IBuffer : public IInspectable
112 {
113 virtual HRESULT STDMETHODCALLTYPE get_Capacity(
114 UINT32 *value) = 0;
115
116 virtual HRESULT STDMETHODCALLTYPE get_Length(
117 UINT32 *value) = 0;
118
119 virtual HRESULT STDMETHODCALLTYPE put_Length(
120 UINT32 value) = 0;
121
122 };
123 }
124 }
125 }
126}
127extern "C" {
128#ifdef __CRT_UUID_DECL
129__CRT_UUID_DECL(__x_ABI_CWindows_CStorage_CStreams_CIBuffer, 0x905a0fe0, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda)
130#endif
131#else
132typedef struct __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl {
133 BEGIN_INTERFACE
134
135 /*** IUnknown methods ***/
136 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
137 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
138 REFIID riid,
139 void **ppvObject);
140
141 ULONG (STDMETHODCALLTYPE *AddRef)(
142 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This);
143
144 ULONG (STDMETHODCALLTYPE *Release)(
145 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This);
146
147 /*** IInspectable methods ***/
148 HRESULT (STDMETHODCALLTYPE *GetIids)(
149 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
150 ULONG *iidCount,
151 IID **iids);
152
153 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
154 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
155 HSTRING *className);
156
157 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
158 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
159 TrustLevel *trustLevel);
160
161 /*** IBuffer methods ***/
162 HRESULT (STDMETHODCALLTYPE *get_Capacity)(
163 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
164 UINT32 *value);
165
166 HRESULT (STDMETHODCALLTYPE *get_Length)(
167 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
168 UINT32 *value);
169
170 HRESULT (STDMETHODCALLTYPE *put_Length)(
171 __x_ABI_CWindows_CStorage_CStreams_CIBuffer *This,
172 UINT32 value);
173
174 END_INTERFACE
175} __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl;
176
177interface __x_ABI_CWindows_CStorage_CStreams_CIBuffer {
178 CONST_VTBL __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl* lpVtbl;
179};
180
181#ifdef COBJMACROS
182#ifndef WIDL_C_INLINE_WRAPPERS
183/*** IUnknown methods ***/
184#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
185#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
186#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_Release(This) (This)->lpVtbl->Release(This)
187/*** IInspectable methods ***/
188#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
189#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
190#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
191/*** IBuffer methods ***/
192#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Capacity(This,value) (This)->lpVtbl->get_Capacity(This,value)
193#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Length(This,value) (This)->lpVtbl->get_Length(This,value)
194#define __x_ABI_CWindows_CStorage_CStreams_CIBuffer_put_Length(This,value) (This)->lpVtbl->put_Length(This,value)
195#else
196/*** IUnknown methods ***/
197static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_QueryInterface(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,REFIID riid,void **ppvObject) {
198 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
199}
200static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBuffer_AddRef(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This) {
201 return This->lpVtbl->AddRef(This);
202}
203static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBuffer_Release(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This) {
204 return This->lpVtbl->Release(This);
205}
206/*** IInspectable methods ***/
207static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetIids(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,ULONG *iidCount,IID **iids) {
208 return This->lpVtbl->GetIids(This,iidCount,iids);
209}
210static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetRuntimeClassName(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,HSTRING *className) {
211 return This->lpVtbl->GetRuntimeClassName(This,className);
212}
213static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetTrustLevel(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,TrustLevel *trustLevel) {
214 return This->lpVtbl->GetTrustLevel(This,trustLevel);
215}
216/*** IBuffer methods ***/
217static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Capacity(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,UINT32 *value) {
218 return This->lpVtbl->get_Capacity(This,value);
219}
220static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Length(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,UINT32 *value) {
221 return This->lpVtbl->get_Length(This,value);
222}
223static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBuffer_put_Length(__x_ABI_CWindows_CStorage_CStreams_CIBuffer* This,UINT32 value) {
224 return This->lpVtbl->put_Length(This,value);
225}
226#endif
227#ifdef WIDL_using_Windows_Storage_Streams
228#define IID_IBuffer IID___x_ABI_CWindows_CStorage_CStreams_CIBuffer
229#define IBufferVtbl __x_ABI_CWindows_CStorage_CStreams_CIBufferVtbl
230#define IBuffer __x_ABI_CWindows_CStorage_CStreams_CIBuffer
231#define IBuffer_QueryInterface __x_ABI_CWindows_CStorage_CStreams_CIBuffer_QueryInterface
232#define IBuffer_AddRef __x_ABI_CWindows_CStorage_CStreams_CIBuffer_AddRef
233#define IBuffer_Release __x_ABI_CWindows_CStorage_CStreams_CIBuffer_Release
234#define IBuffer_GetIids __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetIids
235#define IBuffer_GetRuntimeClassName __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetRuntimeClassName
236#define IBuffer_GetTrustLevel __x_ABI_CWindows_CStorage_CStreams_CIBuffer_GetTrustLevel
237#define IBuffer_get_Capacity __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Capacity
238#define IBuffer_get_Length __x_ABI_CWindows_CStorage_CStreams_CIBuffer_get_Length
239#define IBuffer_put_Length __x_ABI_CWindows_CStorage_CStreams_CIBuffer_put_Length
240#endif /* WIDL_using_Windows_Storage_Streams */
241#endif
242
243#endif
244
245#endif /* ____x_ABI_CWindows_CStorage_CStreams_CIBuffer_INTERFACE_DEFINED__ */
246
247/*****************************************************************************
248 * IBufferFactory interface
249 */
250#ifndef ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_INTERFACE_DEFINED__
251#define ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_INTERFACE_DEFINED__
252
253DEFINE_GUID(IID___x_ABI_CWindows_CStorage_CStreams_CIBufferFactory, 0x71af914d, 0xc10f, 0x484b, 0xbc,0x50, 0x14,0xbc,0x62,0x3b,0x3a,0x27);
254#if defined(__cplusplus) && !defined(CINTERFACE)
255} /* extern "C" */
256namespace ABI {
257 namespace Windows {
258 namespace Storage {
259 namespace Streams {
260 MIDL_INTERFACE("71af914d-c10f-484b-bc50-14bc623b3a27")
261 IBufferFactory : public IInspectable
262 {
263 virtual HRESULT STDMETHODCALLTYPE Create(
264 UINT32 capacity,
265 ABI::Windows::Storage::Streams::IBuffer **value) = 0;
266
267 };
268 }
269 }
270 }
271}
272extern "C" {
273#ifdef __CRT_UUID_DECL
274__CRT_UUID_DECL(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory, 0x71af914d, 0xc10f, 0x484b, 0xbc,0x50, 0x14,0xbc,0x62,0x3b,0x3a,0x27)
275#endif
276#else
277typedef struct __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl {
278 BEGIN_INTERFACE
279
280 /*** IUnknown methods ***/
281 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
282 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
283 REFIID riid,
284 void **ppvObject);
285
286 ULONG (STDMETHODCALLTYPE *AddRef)(
287 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This);
288
289 ULONG (STDMETHODCALLTYPE *Release)(
290 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This);
291
292 /*** IInspectable methods ***/
293 HRESULT (STDMETHODCALLTYPE *GetIids)(
294 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
295 ULONG *iidCount,
296 IID **iids);
297
298 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
299 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
300 HSTRING *className);
301
302 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
303 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
304 TrustLevel *trustLevel);
305
306 /*** IBufferFactory methods ***/
307 HRESULT (STDMETHODCALLTYPE *Create)(
308 __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory *This,
309 UINT32 capacity,
310 __x_ABI_CWindows_CStorage_CStreams_CIBuffer **value);
311
312 END_INTERFACE
313} __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl;
314
315interface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory {
316 CONST_VTBL __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl* lpVtbl;
317};
318
319#ifdef COBJMACROS
320#ifndef WIDL_C_INLINE_WRAPPERS
321/*** IUnknown methods ***/
322#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
323#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
324#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Release(This) (This)->lpVtbl->Release(This)
325/*** IInspectable methods ***/
326#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
327#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
328#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
329/*** IBufferFactory methods ***/
330#define __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Create(This,capacity,value) (This)->lpVtbl->Create(This,capacity,value)
331#else
332/*** IUnknown methods ***/
333static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_QueryInterface(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,REFIID riid,void **ppvObject) {
334 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
335}
336static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_AddRef(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This) {
337 return This->lpVtbl->AddRef(This);
338}
339static FORCEINLINE ULONG __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Release(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This) {
340 return This->lpVtbl->Release(This);
341}
342/*** IInspectable methods ***/
343static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetIids(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,ULONG *iidCount,IID **iids) {
344 return This->lpVtbl->GetIids(This,iidCount,iids);
345}
346static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetRuntimeClassName(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,HSTRING *className) {
347 return This->lpVtbl->GetRuntimeClassName(This,className);
348}
349static FORCEINLINE HRESULT __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetTrustLevel(__x_ABI_CWindows_CStorage_CStreams_CIBufferFactory* This,TrustLevel *trustLevel) {
350 return This->lpVtbl->GetTrustLevel(This,trustLevel);
351}
352/*** IBufferFactory methods ***/
353static 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) {
354 return This->lpVtbl->Create(This,capacity,value);
355}
356#endif
357#ifdef WIDL_using_Windows_Storage_Streams
358#define IID_IBufferFactory IID___x_ABI_CWindows_CStorage_CStreams_CIBufferFactory
359#define IBufferFactoryVtbl __x_ABI_CWindows_CStorage_CStreams_CIBufferFactoryVtbl
360#define IBufferFactory __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory
361#define IBufferFactory_QueryInterface __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_QueryInterface
362#define IBufferFactory_AddRef __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_AddRef
363#define IBufferFactory_Release __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Release
364#define IBufferFactory_GetIids __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetIids
365#define IBufferFactory_GetRuntimeClassName __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetRuntimeClassName
366#define IBufferFactory_GetTrustLevel __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_GetTrustLevel
367#define IBufferFactory_Create __x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_Create
368#endif /* WIDL_using_Windows_Storage_Streams */
369#endif
370
371#endif
372
373#endif /* ____x_ABI_CWindows_CStorage_CStreams_CIBufferFactory_INTERFACE_DEFINED__ */
374
375/* Begin additional prototypes for all interfaces */
376
377
378/* End additional prototypes */
379
380#ifdef __cplusplus
381}
382#endif
383
384#endif /* __windows_storage_streams_h__ */
Note: See TracBrowser for help on using the repository browser.