From: Mohamad Al-Jaf mohamadaljaf@gmail.com
--- include/Makefile.in | 1 + include/robuffer.idl | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 include/robuffer.idl
diff --git a/include/Makefile.in b/include/Makefile.in index 8148e11946a..2dd230423ef 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -673,6 +673,7 @@ SOURCES = \ rmxfguid.h \ rmxftmpl.x \ roapi.h \ + robuffer.idl \ roerrorapi.h \ rometadata.h \ rometadataresolution.h \ diff --git a/include/robuffer.idl b/include/robuffer.idl new file mode 100644 index 00000000000..7a8cb16a65f --- /dev/null +++ b/include/robuffer.idl @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2025 Mohamad Al-Jaf + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifdef __WIDL__ +#pragma winrt ns_prefix +#endif + +import "objidl.idl"; + +namespace Windows.Storage.Streams { + interface IBufferByteAccess; + + [ + local, + object, + uuid(905a0fef-bc53-11df-8c49-001e4fc686da), + ] + interface IBufferByteAccess : IUnknown + { + HRESULT Buffer([out, retval] byte **value); + }; +}
This merge request was approved by Rémi Bernon.