Hi Pelle,
Your version of winbase.h is missing the #define for INVALID_FILE_ATTRIBUTES. It should be at about line 35...
#define INVALID_HANDLE_VALUE ((HANDLE)-1)
#define INVALID_FILE_SIZE ((DWORD)0xFFFFFFFF)
#define INVALID_SET_FILE_POINTER ((DWORD)-1)
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1) <-- need to add this
#define FILE_BEGIN 0
#define FILE_CURRENT 1