_lclose  1RCL2B4 

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 CloseHandleNGWWIE 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 GetLastError11C2VS7.

See Also

CloseHandle, CreateFile, _lopen