/usr/share/mingw-w64/include/windows.storage.streams.h is in mingw-w64-common 4.0.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 | /*** Autogenerated by WIDL 1.5.31 from include/windows.storage.streams.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __windows_storage_streams_h__
#define __windows_storage_streams_h__
/* Forward declarations */
#ifndef __IBuffer_FWD_DEFINED__
#define __IBuffer_FWD_DEFINED__
typedef interface IBuffer IBuffer;
#endif
#ifndef __IBufferFactory_FWD_DEFINED__
#define __IBufferFactory_FWD_DEFINED__
typedef interface IBufferFactory IBufferFactory;
#endif
/* Headers for imported files */
#include <inspectable.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __IBufferFactory_FWD_DEFINED__
#define __IBufferFactory_FWD_DEFINED__
typedef interface IBufferFactory IBufferFactory;
#endif
#ifndef __IBuffer_FWD_DEFINED__
#define __IBuffer_FWD_DEFINED__
typedef interface IBuffer IBuffer;
#endif
/*****************************************************************************
* IBuffer interface
*/
#ifndef __IBuffer_INTERFACE_DEFINED__
#define __IBuffer_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBuffer, 0x905a0fe0, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("905a0fe0-bc53-11df-8c49-001e4fc686da")
IBuffer : public IInspectable
{
virtual HRESULT STDMETHODCALLTYPE get_Capacity(
UINT32 *value) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Length(
UINT32 *value) = 0;
virtual HRESULT STDMETHODCALLTYPE put_Length(
UINT32 value) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBuffer, 0x905a0fe0, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda)
#endif
#else
typedef struct IBufferVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBuffer* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBuffer* This);
ULONG (STDMETHODCALLTYPE *Release)(
IBuffer* This);
/*** IInspectable methods ***/
HRESULT (STDMETHODCALLTYPE *GetIids)(
IBuffer* This,
ULONG *iidCount,
IID **iids);
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
IBuffer* This,
HSTRING *className);
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
IBuffer* This,
TrustLevel *trustLevel);
/*** IBuffer methods ***/
HRESULT (STDMETHODCALLTYPE *get_Capacity)(
IBuffer* This,
UINT32 *value);
HRESULT (STDMETHODCALLTYPE *get_Length)(
IBuffer* This,
UINT32 *value);
HRESULT (STDMETHODCALLTYPE *put_Length)(
IBuffer* This,
UINT32 value);
END_INTERFACE
} IBufferVtbl;
interface IBuffer {
CONST_VTBL IBufferVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBuffer_Release(This) (This)->lpVtbl->Release(This)
/*** IInspectable methods ***/
#define IBuffer_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
#define IBuffer_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
#define IBuffer_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
/*** IBuffer methods ***/
#define IBuffer_get_Capacity(This,value) (This)->lpVtbl->get_Capacity(This,value)
#define IBuffer_get_Length(This,value) (This)->lpVtbl->get_Length(This,value)
#define IBuffer_put_Length(This,value) (This)->lpVtbl->put_Length(This,value)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBuffer_QueryInterface(IBuffer* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBuffer_AddRef(IBuffer* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBuffer_Release(IBuffer* This) {
return This->lpVtbl->Release(This);
}
/*** IInspectable methods ***/
static FORCEINLINE HRESULT IBuffer_GetIids(IBuffer* This,ULONG *iidCount,IID **iids) {
return This->lpVtbl->GetIids(This,iidCount,iids);
}
static FORCEINLINE HRESULT IBuffer_GetRuntimeClassName(IBuffer* This,HSTRING *className) {
return This->lpVtbl->GetRuntimeClassName(This,className);
}
static FORCEINLINE HRESULT IBuffer_GetTrustLevel(IBuffer* This,TrustLevel *trustLevel) {
return This->lpVtbl->GetTrustLevel(This,trustLevel);
}
/*** IBuffer methods ***/
static FORCEINLINE HRESULT IBuffer_get_Capacity(IBuffer* This,UINT32 *value) {
return This->lpVtbl->get_Capacity(This,value);
}
static FORCEINLINE HRESULT IBuffer_get_Length(IBuffer* This,UINT32 *value) {
return This->lpVtbl->get_Length(This,value);
}
static FORCEINLINE HRESULT IBuffer_put_Length(IBuffer* This,UINT32 value) {
return This->lpVtbl->put_Length(This,value);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IBuffer_get_Capacity_Proxy(
IBuffer* This,
UINT32 *value);
void __RPC_STUB IBuffer_get_Capacity_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBuffer_get_Length_Proxy(
IBuffer* This,
UINT32 *value);
void __RPC_STUB IBuffer_get_Length_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IBuffer_put_Length_Proxy(
IBuffer* This,
UINT32 value);
void __RPC_STUB IBuffer_put_Length_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IBuffer_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBufferFactory interface
*/
#ifndef __IBufferFactory_INTERFACE_DEFINED__
#define __IBufferFactory_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBufferFactory, 0x71af914d, 0xc10f, 0x484b, 0xbc,0x50, 0x14,0xbc,0x62,0x3b,0x3a,0x27);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("71af914d-c10f-484b-bc50-14bc623b3a27")
IBufferFactory : public IInspectable
{
virtual HRESULT STDMETHODCALLTYPE Create(
UINT32 capacity,
IBuffer **value) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBufferFactory, 0x71af914d, 0xc10f, 0x484b, 0xbc,0x50, 0x14,0xbc,0x62,0x3b,0x3a,0x27)
#endif
#else
typedef struct IBufferFactoryVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBufferFactory* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBufferFactory* This);
ULONG (STDMETHODCALLTYPE *Release)(
IBufferFactory* This);
/*** IInspectable methods ***/
HRESULT (STDMETHODCALLTYPE *GetIids)(
IBufferFactory* This,
ULONG *iidCount,
IID **iids);
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
IBufferFactory* This,
HSTRING *className);
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
IBufferFactory* This,
TrustLevel *trustLevel);
/*** IBufferFactory methods ***/
HRESULT (STDMETHODCALLTYPE *Create)(
IBufferFactory* This,
UINT32 capacity,
IBuffer **value);
END_INTERFACE
} IBufferFactoryVtbl;
interface IBufferFactory {
CONST_VTBL IBufferFactoryVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBufferFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBufferFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBufferFactory_Release(This) (This)->lpVtbl->Release(This)
/*** IInspectable methods ***/
#define IBufferFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
#define IBufferFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
#define IBufferFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
/*** IBufferFactory methods ***/
#define IBufferFactory_Create(This,capacity,value) (This)->lpVtbl->Create(This,capacity,value)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBufferFactory_QueryInterface(IBufferFactory* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBufferFactory_AddRef(IBufferFactory* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBufferFactory_Release(IBufferFactory* This) {
return This->lpVtbl->Release(This);
}
/*** IInspectable methods ***/
static FORCEINLINE HRESULT IBufferFactory_GetIids(IBufferFactory* This,ULONG *iidCount,IID **iids) {
return This->lpVtbl->GetIids(This,iidCount,iids);
}
static FORCEINLINE HRESULT IBufferFactory_GetRuntimeClassName(IBufferFactory* This,HSTRING *className) {
return This->lpVtbl->GetRuntimeClassName(This,className);
}
static FORCEINLINE HRESULT IBufferFactory_GetTrustLevel(IBufferFactory* This,TrustLevel *trustLevel) {
return This->lpVtbl->GetTrustLevel(This,trustLevel);
}
/*** IBufferFactory methods ***/
static FORCEINLINE HRESULT IBufferFactory_Create(IBufferFactory* This,UINT32 capacity,IBuffer **value) {
return This->lpVtbl->Create(This,capacity,value);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IBufferFactory_Create_Proxy(
IBufferFactory* This,
UINT32 capacity,
IBuffer **value);
void __RPC_STUB IBufferFactory_Create_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IBufferFactory_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __windows_storage_streams_h__ */
|