The table below lists the macros for file operations. The data of these macros is the integer type.
Table 3-5 Macros for file operations
Macro name | |
---|---|
AIT_ALLFILES | CREATE_ALWAYS |
CREATE_NEW | FILE_ALL |
FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_DIRECTORY |
FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_READONLY |
FILE_ATTRIBUTE_SYSTEM | FILE_READ |
FILE_WRITE | GENERIC_READ |
GENERIC_WRITE | OPEN_ALWAYS |
OPEN_EXISTING | TRUNCATE_EXISTING |