| CheckFile |
|
|
|
|
long CheckFile( LPSTR FileName, // file name long *Attributes = NULL // file attributes );
long CheckFile( LPWSTR FileName, // file name long *Attributes = NULL // file attributes );
CheckFile( FileName As Variant, // file name Optional Attributes As Variant // file attributes ) As Long
| IXF_FILE_READONLY | read-only file, |
| IXF_FILE_HIDDEN | hidden file (not included in ordinary directory listing), |
| IXF_FILE_SYSTEM | system file (used exclusively by the operating system), |
| IXF_FILE_ARCHIVE | file marked to be archived, |
| IXF_FILE_NORMAL | file with no special attributes; never combined with other attributes, |
| IXF_FILE_TEMPORARY | file for temporary usage (kept in memory). |
Unicode version of the method should not be confused with Unicode system calls or Unicode text data. All versions of the method can be used on Unicode and non-Unicode systems depending on your needs. On Unicode systems, however, file is checked by Unicode version of system function (unless Unicode is disabled with EnableUnicode method). Conversion between ANSI and Unicode is performed internally according to current codepage which can be changed with SetCodePage method. See Unicode Support for more information on Unicode system calls, Unicode methods and Unicode text data.