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

Method Close

IntelPresentMon/Core/source/win/Window.cpp:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 void Window::Close()
96 {
97 pmlog_verb(v::core_window)();
98 if (PostMessage(hWnd, WM_CLOSE, 0, 0) == FALSE)
99 {
100 pmlog_warn(std::format("failed to close window {}", str::ToNarrow(GetTitle()))).hr();
101 }
102 }
103
104 LRESULT Window::HandleMessage(UINT msg, WPARAM wParam, LPARAM lParam)
105 {

Callers 3

InitiateCloseMethod · 0.45
ResizeMethod · 0.45
RenderMethod · 0.45

Calls 1

ToNarrowFunction · 0.85

Tested by

no test coverage detected