master
1/*** Autogenerated by WIDL 10.4 from include/robuffer.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 __robuffer_h__
17#define __robuffer_h__
18
19/* Forward declarations */
20
21#ifndef ____x_Windows_CStorage_CStreams_CIBufferByteAccess_FWD_DEFINED__
22#define ____x_Windows_CStorage_CStreams_CIBufferByteAccess_FWD_DEFINED__
23typedef interface __x_Windows_CStorage_CStreams_CIBufferByteAccess __x_Windows_CStorage_CStreams_CIBufferByteAccess;
24#ifdef __cplusplus
25#define __x_Windows_CStorage_CStreams_CIBufferByteAccess Windows::Storage::Streams::IBufferByteAccess
26namespace Windows {
27 namespace Storage {
28 namespace Streams {
29 interface IBufferByteAccess;
30 }
31 }
32}
33#endif /* __cplusplus */
34#endif
35
36/* Headers for imported files */
37
38#include <objidl.h>
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44#if NTDDI_VERSION >= NTDDI_WIN8
45/*****************************************************************************
46 * IBufferByteAccess interface
47 */
48#ifndef ____x_Windows_CStorage_CStreams_CIBufferByteAccess_INTERFACE_DEFINED__
49#define ____x_Windows_CStorage_CStreams_CIBufferByteAccess_INTERFACE_DEFINED__
50
51DEFINE_GUID(IID___x_Windows_CStorage_CStreams_CIBufferByteAccess, 0x905a0fef, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda);
52#if defined(__cplusplus) && !defined(CINTERFACE)
53} /* extern "C" */
54namespace Windows {
55 namespace Storage {
56 namespace Streams {
57 MIDL_INTERFACE("905a0fef-bc53-11df-8c49-001e4fc686da")
58 IBufferByteAccess : public IUnknown
59 {
60 virtual HRESULT STDMETHODCALLTYPE Buffer(
61 byte **value) = 0;
62
63 };
64 }
65 }
66}
67extern "C" {
68#ifdef __CRT_UUID_DECL
69__CRT_UUID_DECL(__x_Windows_CStorage_CStreams_CIBufferByteAccess, 0x905a0fef, 0xbc53, 0x11df, 0x8c,0x49, 0x00,0x1e,0x4f,0xc6,0x86,0xda)
70#endif
71#else
72typedef struct __x_Windows_CStorage_CStreams_CIBufferByteAccessVtbl {
73 BEGIN_INTERFACE
74
75 /*** IUnknown methods ***/
76 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
77 __x_Windows_CStorage_CStreams_CIBufferByteAccess *This,
78 REFIID riid,
79 void **ppvObject);
80
81 ULONG (STDMETHODCALLTYPE *AddRef)(
82 __x_Windows_CStorage_CStreams_CIBufferByteAccess *This);
83
84 ULONG (STDMETHODCALLTYPE *Release)(
85 __x_Windows_CStorage_CStreams_CIBufferByteAccess *This);
86
87 /*** IBufferByteAccess methods ***/
88 HRESULT (STDMETHODCALLTYPE *Buffer)(
89 __x_Windows_CStorage_CStreams_CIBufferByteAccess *This,
90 byte **value);
91
92 END_INTERFACE
93} __x_Windows_CStorage_CStreams_CIBufferByteAccessVtbl;
94
95interface __x_Windows_CStorage_CStreams_CIBufferByteAccess {
96 CONST_VTBL __x_Windows_CStorage_CStreams_CIBufferByteAccessVtbl* lpVtbl;
97};
98
99#ifdef COBJMACROS
100#ifndef WIDL_C_INLINE_WRAPPERS
101/*** IUnknown methods ***/
102#define __x_Windows_CStorage_CStreams_CIBufferByteAccess_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
103#define __x_Windows_CStorage_CStreams_CIBufferByteAccess_AddRef(This) (This)->lpVtbl->AddRef(This)
104#define __x_Windows_CStorage_CStreams_CIBufferByteAccess_Release(This) (This)->lpVtbl->Release(This)
105/*** IBufferByteAccess methods ***/
106#define __x_Windows_CStorage_CStreams_CIBufferByteAccess_Buffer(This,value) (This)->lpVtbl->Buffer(This,value)
107#else
108/*** IUnknown methods ***/
109static inline HRESULT __x_Windows_CStorage_CStreams_CIBufferByteAccess_QueryInterface(__x_Windows_CStorage_CStreams_CIBufferByteAccess* This,REFIID riid,void **ppvObject) {
110 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
111}
112static inline ULONG __x_Windows_CStorage_CStreams_CIBufferByteAccess_AddRef(__x_Windows_CStorage_CStreams_CIBufferByteAccess* This) {
113 return This->lpVtbl->AddRef(This);
114}
115static inline ULONG __x_Windows_CStorage_CStreams_CIBufferByteAccess_Release(__x_Windows_CStorage_CStreams_CIBufferByteAccess* This) {
116 return This->lpVtbl->Release(This);
117}
118/*** IBufferByteAccess methods ***/
119static inline HRESULT __x_Windows_CStorage_CStreams_CIBufferByteAccess_Buffer(__x_Windows_CStorage_CStreams_CIBufferByteAccess* This,byte **value) {
120 return This->lpVtbl->Buffer(This,value);
121}
122#endif
123#ifdef WIDL_using_Windows_Storage_Streams
124#define IID_IBufferByteAccess IID___x_Windows_CStorage_CStreams_CIBufferByteAccess
125#define IBufferByteAccessVtbl __x_Windows_CStorage_CStreams_CIBufferByteAccessVtbl
126#define IBufferByteAccess __x_Windows_CStorage_CStreams_CIBufferByteAccess
127#define IBufferByteAccess_QueryInterface __x_Windows_CStorage_CStreams_CIBufferByteAccess_QueryInterface
128#define IBufferByteAccess_AddRef __x_Windows_CStorage_CStreams_CIBufferByteAccess_AddRef
129#define IBufferByteAccess_Release __x_Windows_CStorage_CStreams_CIBufferByteAccess_Release
130#define IBufferByteAccess_Buffer __x_Windows_CStorage_CStreams_CIBufferByteAccess_Buffer
131#endif /* WIDL_using_Windows_Storage_Streams */
132#endif
133
134#endif
135
136#endif /* ____x_Windows_CStorage_CStreams_CIBufferByteAccess_INTERFACE_DEFINED__ */
137
138STDAPI RoGetBufferMarshaler(IMarshal **bufferMarshaler);
139#endif
140/* Begin additional prototypes for all interfaces */
141
142
143/* End additional prototypes */
144
145#ifdef __cplusplus
146}
147#endif
148
149#endif /* __robuffer_h__ */