please a link to the window constants
Thank you and ahs on my head as I have been there but didn't realize.
Anyway if anybody needs:
#define CREATE_ALWAYS 2 #define CREATE_NEW 1 #define OPEN_ALWAYS 4 #define OPEN_EXISTING 3 #define TRUNCATE_EXISTING 5 #define FILE_ATTRIBUTE_ARCHIVE 32 // (0x20) #define FILE_ATTRIBUTE_ENCRYPTED 16384 // (0x4000) #define FILE_ATTRIBUTE_HIDDEN 2 // (0x2) #define FILE_ATTRIBUTE_NORMAL 128 // (0x80) #define FILE_ATTRIBUTE_OFFLINE 4096 // (0x1000) #define FILE_ATTRIBUTE_READONLY 1 // (0x1) #define FILE_ATTRIBUTE_SYSTEM 4 // (0x4) #define FILE_ATTRIBUTE_TEMPORARY 256 // (0x100) #define FILE_FLAG_BACKUP_SEMANTICS 0x02000000 #define FILE_FLAG_DELETE_ON_CLOSE 0x04000000 #define FILE_FLAG_NO_BUFFERING 0x20000000 #define FILE_FLAG_OPEN_NO_RECALL 0x00100000 #define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000 #define FILE_FLAG_OVERLAPPED 0x40000000 #define FILE_FLAG_POSIX_SEMANTICS 0x0100000 #define FILE_FLAG_RANDOM_ACCESS 0x10000000 #define FILE_FLAG_SESSION_AWARE 0x00800000 #define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000 #define FILE_FLAG_WRITE_THROUGH 0x80000000
But some are missing that are even mentioned there:
GENERIC_READ and GENERIC_WRITE and INVALID_HANDLE_VALUE.
I thought there should exist a link where all such constants are listed.
#define GENERIC_READ 0x80000000 #define GENERIC_WRITE 0x40000000 #define INVALID_HANDLE_VALUE -1
THANKS !! :)
Hi, does anybody has a link to the Windows-File-Constants (and may be others too - you never know) like:
OPEN_EXISTING, GENERIC_READ, FILE_SHARE_READ, FILE_ATTRIBUTE_NORMAL, ...
The Windows-Errors I have found.
THanks in advance,
Gooly