_lclose function (winbase.h)

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.

Syntax

HFILE _lclose(
  HFILE hFile
);

Parameters

hFile

Identifies the file to be closed. This handle is returned by the function that created or last opened the file.

Return value

Handle to file to close.

Requirements

Requirement Value
Target Platform Windows
Header winbase.h
Library Kernel32.lib
DLL Kernel32.dll