HFILE _lclose(hFile) | |||||
HFILE hFile; | /* file to close | */ |
The _lclose function closes the specified file. As a result, the file is no longer available for reading or writing.
hFile
Identifies the file to be closed. This handle is returned by the function that created or last opened the file.
The return value is zero if the function successfully closed the file. Otherwise, the return value is -1.
This function is maintained for compatibility with previous versions of Windows. Win32 applications should use the CloseHandle function to close a file.
_lopen, CreateFile