From: Zhiyi Zhang zzhang@codeweavers.com
--- include/Makefile.in | 1 + include/dragdropinterop.idl | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 include/dragdropinterop.idl
diff --git a/include/Makefile.in b/include/Makefile.in index 29ef283509d..c8e5ad266da 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -269,6 +269,7 @@ SOURCES = \ dplobby.h \ dplobby8.h \ dpnathlp.h \ + dragdropinterop.idl \ driverspecs.h \ drmexternals.idl \ dsclient.h \ diff --git a/include/dragdropinterop.idl b/include/dragdropinterop.idl new file mode 100644 index 00000000000..a600472b387 --- /dev/null +++ b/include/dragdropinterop.idl @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2024 Zhiyi Zhang for CodeWeavers + * + * 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 + */ + +import "inspectable.idl"; + +[ + uuid(5ad8cba7-4c01-4dac-9074-827894292d63), + object, + local, + pointer_default(unique) +] +interface IDragDropManagerInterop : IInspectable +{ + HRESULT GetForWindow([in] HWND hwnd, [in] REFIID riid, [out, iid_is(riid)] void **ppv); +}