WTF the difference is?!
Today I got a task to refine an application to make it check the file access at more detailed level. I ran into the problem of the difference of GENERIC_READ and FILE_GENERIC_READ. In MSDN the definition of GENERIC_READ is:
GENERIC_READ
FILE_READ_ATTRIBUTES
FILE_READ_DATA
FILE_READ_EA
STANDARD_RIGHTS_READ
SYNCHRONIZE
But in WinNT.h it is:
#define GENERIC_READ [...]