MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / GetHwnd

Function GetHwnd

FastCopy/WindowHelper.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12HWND GetHwnd(winrt::Microsoft::UI::Xaml::Window& window)
13{
14 HWND hwnd{};
15 window.as<IWindowNative>()->get_WindowHandle(&hwnd);
16 Global::MainHwnd = hwnd;
17 return hwnd;
18}
19
20winrt::Microsoft::UI::Windowing::AppWindow GetAppWindow(winrt::Microsoft::UI::Xaml::Window window)
21{

Callers 4

GetAppWindowFunction · 0.85
MoveAndResizeWindowFunction · 0.85
CenterWindowFunction · 0.85
ResizeWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected