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

Method HandleMessage

IntelPresentMon/Core/source/win/Window.cpp:104–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 LRESULT Window::HandleMessage(UINT msg, WPARAM wParam, LPARAM lParam)
105 {
106 LogMessage(msg, wParam, lParam);
107
108 switch (msg)
109 {
110 case WM_SETTEXT:
111 title = reinterpret_cast<wchar_t*>(lParam);
112 break;
113 }
114
115 if (const auto result = CustomHandleMessage(msg, wParam, lParam))
116 {
117 return *result;
118 }
119 return DefWindowProcW(hWnd, msg, wParam, lParam);
120 }
121
122 void Window::SetMessageLogging(bool enable)
123 {

Callers 2

SetupWndProcMethod · 0.80
ThunkWndProcMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected