-
Notifications
You must be signed in to change notification settings - Fork 45
Win11 22621
Michael Zomparelli edited this page Jun 10, 2022
·
3 revisions
IVirtualDesktopManagerInternal
[ComImport]
[Guid("B2F925B9-5A0F-4D2E-9F4D-2B1507593C10")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
internal interface IVirtualDesktopManagerInternal
{
int GetCount(IntPtr hWndOrMon);
void MoveViewToDesktop(IApplicationView pView, IVirtualDesktop desktop);
bool CanViewMoveDesktops(IApplicationView pView);
IVirtualDesktop GetCurrentDesktop(IntPtr hWndOrMon);
IObjectArray GetAllCurrentDesktops();
IObjectArray GetDesktops(IntPtr hWndOrMon);
IVirtualDesktop GetAdjacentDesktop(IVirtualDesktop pDesktopReference, int uDirection);
void SwitchDesktop(IntPtr hWndOrMon, IVirtualDesktop desktop);
IVirtualDesktop CreateDesktop(IntPtr hWndOrMon);
void MoveDesktop(IVirtualDesktop desktop, IntPtr hWndOrMon, int nIndex);
void RemoveDesktop(IVirtualDesktop pRemove, IVirtualDesktop pFallbackDesktop);
IVirtualDesktop FindDesktop(in Guid desktopId);
void GetDesktopSwitchIncludeExcludeViews(IVirtualDesktop desktop, out IObjectArray o1, out IObjectArray o2);
void SetDesktopName(IVirtualDesktop desktop, [MarshalAs(UnmanagedType.HString)] string name);
void SetDesktopWallpaper(IVirtualDesktop desktop, [MarshalAs(UnmanagedType.HString)] string path);
void UpdateWallpaperPathForAllDesktops([MarshalAs(UnmanagedType.HString)] string path);
void CopyDesktopState(IApplicationView pView0, IApplicationView pView1);
bool GetDesktopIsPerMonitor();
void SetDesktopIsPerMonitor(bool state);
}