Files
FlClash/plugins/window/windows/running_instance.h
T

20 lines
504 B
C++
Raw Normal View History

#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_