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 |
); |
Parameters
hFile
Identifies the file to be closed. This handle is returned by the function that created or last opened the file.
Return Values
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.
See Also