headers: Add robuffer.idl to generate robuffer.h Signed-off-by: Alvin Wong <alvin@alvinhc.com> Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/Makefile.am b/mingw-w64-headers/Makefile.am index ee36012..dcdee4c 100644 --- a/mingw-w64-headers/Makefile.am +++ b/mingw-w64-headers/Makefile.am
@@ -252,6 +252,7 @@ include/qedit.idl \ include/qnetwork.idl \ include/relogger.idl \ + include/robuffer.idl \ include/rtworkq.idl \ include/vmr9.idl \ include/wincodec.idl \
diff --git a/mingw-w64-headers/include/robuffer.idl b/mingw-w64-headers/include/robuffer.idl new file mode 100644 index 0000000..cc92256 --- /dev/null +++ b/mingw-w64-headers/include/robuffer.idl
@@ -0,0 +1,28 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ + +#ifdef __WIDL__ +#pragma winrt +#endif + +import "objidl.idl"; + +cpp_quote("#if NTDDI_VERSION >= NTDDI_WIN8") + +namespace Windows.Storage.Streams { + + [ + uuid(905a0fef-bc53-11df-8c49-001e4fc686da), + ] + interface IBufferByteAccess : IUnknown + { + HRESULT Buffer([out, retval] byte **value); + } + +} + +cpp_quote("STDAPI RoGetBufferMarshaler(IMarshal **bufferMarshaler);") +cpp_quote("#endif")