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

Method ClearTopmost

IntelPresentMon/Core/source/win/Window.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void Window::ClearTopmost()
87 {
88 pmlog_verb(v::core_window)();
89 if (SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOMOVE) == FALSE)
90 {
91 pmlog_warn(std::format("failed to make window non-topmost {}", str::ToNarrow(GetTitle()))).hr();
92 }
93 }
94
95 void Window::Close()
96 {

Callers 1

UpdateTargetOrderMethod · 0.80

Calls 1

ToNarrowFunction · 0.85

Tested by

no test coverage detected