The _lclose function closes the specified file so that it is no longer available for reading or writing. This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the CloseHandle function.
HFILE _lclose(
HFILE hFile // handle to file to close
);
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.
File I/O Overview, File Functions, CloseHandle, CreateFile, _lopen