I get the following error with a Windows file when compiling winbase.h.
winbase.h
Not sure why I get a syntax error and the compiler shows many more:
If your code is fine, and there is no missing semicolons before #include "winbase.h" then it should be a missing include before winbase.h (or one of the files that includes it).
#include "winbase.h"