↓ 4 callersFunctionImGui_ImplWin32_WndProcHandlerProcess Win32 mouse/keyboard inputs. You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs
SDK/imgui_master/examples/imgui_impl_win32.cpp:186