 |
GetFileAttributes Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves attributes for a specified file or directory. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD GetFileAttributes(
LPCTSTR lpFileName // name of file or directory
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetFileAttributes IN kernel32;
STRING lpFileName
|
 |
 |
 |
| Parameters: |
 |
lpFileName
[in] Pointer to a null-terminated string that specifies the name of a file or directory. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value contains the attributes of the specified file or directory. |
 |
 |
| My comment: |
 |
| This function can be used for testing an access to a directory -- a key-turn DirectoryExists function. |
 |
 |
| Word Index links for the GetFileAttributes : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-10 12:00:00 | | Modified: | 2001-12-02 22:58:58 | Visited in last 7 days: 31 |