I want to use the GetFileAttributes function for checking if the file is a directory. The MSDN Page page tells me to check the return value for INVALID_FILE_ATTRIBUTES (in case of error). I'm including windows.h but still the compiler gives an error on INVALID_FILE_ATTRIBUTES. I know I can use 0xFFFFFFFF (or -1) in stead but I'd like to know where the INVALID_FILE_ATTRIBUTES is located. Can someone tell me?
Using Windows NT 4.0 SP6 and VC++ 6.0 Pro
Thanks in advance,