I've changed BOOL -> WINBOOL (although this is the only use of WINBOOL in the file....)
-tom On Fri, 7 Jan 2022 at 23:25, Biswapriyo Nath <nathbap...@gmail.com> wrote: > > Replace BOOL with WINBOOL.
From 1e194838686c2db26d120ff6c024ee349df0fbf7 Mon Sep 17 00:00:00 2001 From: Tom Ritter <t...@ritter.vg> Date: Fri, 7 Jan 2022 10:52:40 -0500 Subject: [PATCH 1/2] Add IVirtualDesktopManager to shobjidl.idl --- mingw-w64-headers/include/shobjidl.idl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mingw-w64-headers/include/shobjidl.idl b/mingw-w64-headers/include/shobjidl.idl index 6c3881a4a..9dbeb8db9 100644 --- a/mingw-w64-headers/include/shobjidl.idl +++ b/mingw-w64-headers/include/shobjidl.idl @@ -3981,6 +3981,16 @@ interface IDesktopGadget : IUnknown { HRESULT RunGadget ([in] LPCWSTR gadgetPath); } +cpp_quote("") +cpp_quote("#if (NTDDI_VERSION >= NTDDI_WINTHRESHOLD)") +[object, uuid (a5cd92ff-29be-454c-8d04-d82879fb3f1b),] +interface IVirtualDesktopManager : IUnknown { + HRESULT IsWindowOnCurrentVirtualDesktop ([in] HWND topLevelWindow, [out] WINBOOL *onCurrentDesktop); + HRESULT GetWindowDesktopId ([in] HWND topLevelWindow, [out] GUID *desktopId); + HRESULT MoveWindowToDesktop ([in] HWND topLevelWindow, [in] REFGUID desktopId); +} +cpp_quote("#endif") + cpp_quote("") cpp_quote("#if NTDDI_VERSION >= NTDDI_WIN8") [object, uuid (B92B56A9-8b55-4e14-9a89-0199bbb6f93b)] @@ -4274,6 +4284,7 @@ library ShellObjects { [uuid (45ba127d-10a8-46ea-8ab7-56ea9078943c)] coclass ApplicationActivationManager { interface IApplicationActivationManager; } [uuid (958a6fb5-dcb2-4faf-aafd-7fb054ad1a3b)] coclass ApplicationDesignModeSettings { interface IApplicationDesignModeSettings; } [uuid (11dbb47c-a525-400b-9e80-a54615a090c0)] coclass ExecuteFolder { interface IExecuteCommand; } + [uuid (aa509086-5ca9-4c25-8f95-589d3c07b48a)] coclass VirtualDesktopManager { interface IVirtualDesktopManager; } }; cpp_quote("") cpp_quote("#if NTDDI_VERSION >= NTDDI_VISTA") -- 2.25.1
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public