The error is probably BEFORE the
#include<ntddstor.h>
May be at the end of another file.
Or:
ntddstor.h use some typenames that shuld be defined somewhere else before, that you did not include.
Just to experience with this error, try to compile this:
int a
B c;
or
int a;
B c;
respect to
typedef int B;
int a;
B c;
And look the compiler error message.
Now imagine the first line to be the last of a "
file1.h" and the second to be the first of "
file2.h", and to have
file.cpp as
#include "file1.h"
#include "file2.h"
Do you got the point?