 |
_lopen Add comment W32 Constants Translate this page |
 |
 |
|
Opens an existing file and sets the file pointer to the beginning of the file. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HFILE _lopen(
LPCSTR lpPathName, // address of name of file to open
int iReadWrite // file access mode
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER _lopen IN kernel32;
STRING lpFileName, INTEGER iReadWrite
|
 |
 |
 |
| Parameters: |
 |
lpPathName
Points to a null-terminated string that names the file to open. The string must consist of characters from the Windows ANSI character set.
iReadWrite
Specifies the modes in which to open the file. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a file handle. If the function fails, the return value is HFILE_ERROR |
 |
 |
| My comment: |
 |
| This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the CreateFile function. |
 |
 |
| Word Index links for the _lopen : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-29 12:00:00 | | Modified: | 2001-11-26 16:03:30 | Visited in last 7 days: 16 |