Files
FlClash/plugins/window/windows/running_instance.h
T
chen08209 1e97716636 feat(platform): move desktop windows to plugins/window and rework the tray
plugins/window replaces the window_manager fork on every desktop.

Changelog: Tray hotkeys, node delays and a delay test
2026-09-30 11:39:58 +08:00

20 lines
504 B
C++

#ifndef FLUTTER_PLUGIN_WINDOW_RUNNING_INSTANCE_H_
#define FLUTTER_PLUGIN_WINDOW_RUNNING_INSTANCE_H_
#include <windows.h>
namespace window {
UINT GetActivateMessage();
// Lets a lower-integrity relaunch reach an elevated |root| with
// GetActivateMessage() and app_links' WM_COPYDATA; UIPI drops both otherwise.
void AllowRelaunchMessagesThroughUipi(HWND root);
HWND FindRunningWindow();
void ActivateWindow(HWND window);
} // namespace window
#endif // FLUTTER_PLUGIN_WINDOW_RUNNING_INSTANCE_H_