#pragma once #include "popout_window.h" // Custom WM_APP message for thread-safe topmost toggling (pump thread handles it). static constexpr UINT WM_RRPOPOUT_SET_TOPMOST = WM_APP + 1; int CreatePopoutWindow(const wchar_t* title, int width, int height); void DestroyPopoutWindow(int handle); PopoutWindow* GetPopoutWindow(int handle); void GetPopoutWindowSize(int handle, int* w, int* h); int PollPopoutInputEvents(int handle, InputEvent* outEvents, int maxEvents);