2020-04-22 01:57:21 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ZoneWindow.h"
|
|
|
|
|
|
|
|
namespace VirtualDesktopUtils
|
|
|
|
{
|
|
|
|
bool GetWindowDesktopId(HWND topLevelWindow, GUID* desktopId);
|
|
|
|
bool GetZoneWindowDesktopId(IZoneWindow* zoneWindow, GUID* desktopId);
|
2020-04-30 17:16:25 +08:00
|
|
|
bool GetCurrentVirtualDesktopId(GUID* desktopId);
|
2020-05-05 16:13:50 +08:00
|
|
|
bool GetVirtualDesktopIds(std::vector<GUID>& ids);
|
|
|
|
bool GetVirtualDesktopIds(std::vector<std::wstring>& ids);
|
2020-05-01 22:13:16 +08:00
|
|
|
HKEY GetVirtualDesktopsRegKey();
|
|
|
|
void HandleVirtualDesktopUpdates(HWND window, UINT message, HANDLE terminateEvent);
|
2020-04-22 01:57:21 +08:00
|
|
|
}
|