Skip to content

Latest commit

 

History

History
77 lines (63 loc) · 1.95 KB

nf-winbase-_lread.md

File metadata and controls

77 lines (63 loc) · 1.95 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winbase._lread
_lread function (winbase.h)
The _lread function reads data from the specified file. This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the ReadFile function.
_lread
_lread function [Windows API]
winbase/_lread
winprog._lread
winprog\_lread.htm
winprog
A5374B2B-12EC-4130-8D21-1801D1D72524
12/05/2018
_lread, _lread function [Windows API], winbase/_lread, winprog._lread
winbase.h
Windows
Kernel32.lib
Kernel32.dll
Windows
19H1
_lread
winbase/_lread
c++
APIRef
kbSyntax
DllExport
kernel32.dll
iexpress.exe
API-MS-Win-Core-Kernel32-Private-L1-1-0.dll
API-MS-Win-Core-Kernel32-Private-L1-1-1.dll
API-MS-Win-Core-Kernel32-Private-L1-1-2.dll
Kernel32Legacy.dll
_lread

_lread function

-description

The _lread function reads data from the specified file. This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the ReadFile function.

-parameters

-param hFile

Identifies the specified file.

-param lpBuffer

Pointer to a buffer that contains the data read from the file.

-param uBytes

Specifies the number of bytes to be read from the file.

-returns

The return value indicates the number of bytes actually read from the file. If the number of bytes read is less than uBytes, the function has reached the end of file (EOF) before reading the specified number of bytes.