 |
FindFirstFile ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The FindFirstFile function searches a directory for a file whose name matches the specified file name. FindFirstFile examines subdirectory names as well as file names. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE FindFirstFile(
LPCTSTR lpFileName, // file name
LPWIN32_FIND_DATA lpFindFileData // data buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER FindFirstFile IN kernel32;
STRING lpFileName,;
STRING @ lpFindFileData
|
 |
 |
 |
| Parameters: |
 |
lpFileName
[in] Pointer to a null-terminated string that specifies a valid directory or path and file name, which can contain wildcard characters (* and ?).
lpFindFileData
[out] Pointer to the WIN32_FIND_DATA structure that receives information about the found file or subdirectory. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a search handle used in a subsequent call to FindNextFile or FindClose. |
 |
 |
| Word Index links for the FindFirstFile : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-12-28 18:59:35 | | Modified: | 2001-12-28 19:01:13 | Visited in last 7 days: 47 |