MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Reorder

Method Reorder

IntelPresentMon/Core/source/win/Window.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 void Window::Reorder(HWND base)
61 {
62 pmlog_verb(v::core_window)(std::format("hwnd:{:8x}", (uint64_t)base));
63 if (SetWindowPos(hWnd, GetNextWindow(base, GW_HWNDPREV), 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOMOVE) == FALSE)
64 {
65 pmlog_warn(std::format("failed to reorder window {}", str::ToNarrow(GetTitle()))).hr();
66 }
67 }
68
69 void Window::ReorderBehind(HWND base)
70 {

Callers 4

MakeWindow_Method · 0.80
RebuildDocumentMethod · 0.80
UpdateTargetOrderMethod · 0.80
SetCaptureStateMethod · 0.80

Calls 1

ToNarrowFunction · 0.85

Tested by

no test coverage detected