Renamed MSG to PROC_MSG to avoid conflicts with MinGW winuser.h