mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-02 16:57:56 +08:00
f5381ae3e3
* Clean up resources taken by closed virtual desktops on FancyZones module startup. * Overload GetVirtualDesktopIds to return wide string. * Refactor OnDisplayChange method.
15 lines
512 B
C++
15 lines
512 B
C++
#pragma once
|
|
|
|
#include "ZoneWindow.h"
|
|
|
|
namespace VirtualDesktopUtils
|
|
{
|
|
bool GetWindowDesktopId(HWND topLevelWindow, GUID* desktopId);
|
|
bool GetZoneWindowDesktopId(IZoneWindow* zoneWindow, GUID* desktopId);
|
|
bool GetCurrentVirtualDesktopId(GUID* desktopId);
|
|
bool GetVirtualDesktopIds(std::vector<GUID>& ids);
|
|
bool GetVirtualDesktopIds(std::vector<std::wstring>& ids);
|
|
HKEY GetVirtualDesktopsRegKey();
|
|
void HandleVirtualDesktopUpdates(HWND window, UINT message, HANDLE terminateEvent);
|
|
}
|