trying to get the definitions needed for compile in windows.
so far, I added manual definitions of:
MONITOR_DEFAULTTONEAREST 2
WINUSERAPI HMONITOR WINAPI MonitorFromWindow(HWND,DWORD);

not sure this will work.
if I would have access to windows machine all would be a lot easier :(