This should be simple enough to solve but I have never come across this error in C++. This problem appears on line 1018 of strmif.h. this header file is used by Dshow.h which is a header file used with DirectX. The full line is
typedef DWORD_PTR Hsemaphore;
This is not the only definition it happens to. anything defined in the same way returns an error.
After the error shown above the compiler also returns an error "unexpected end of file" on the same line. I would appreciate any information on this error.