Platform SDK: Files and I/O |
The _lclose function closes the specified file so that it is no longer available for reading or writing.
Note This function is provided only for compatibility with 16-bit versions of Windows. Win32-based applications should use the CloseHandle function.
HFILE _lclose( HFILE hFile // handle to file );
If the function succeeds, the return value is zero.
If the function fails, the return value is HFILE_ERROR. To get extended error information, call GetLastError.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Winbase.h; include Windows.h.
Library: Use Kernel32.lib.
File I/O Overview, File I/O Functions, CloseHandle, CreateFile, _lopen