Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
FIOReadFile
The FIOReadFile function reads from the file HANDLE within the specified FIO_CONTEXT structure.
Syntax
BOOL
FIOReadFile(
PFIO_CONTEXTpContext,
LPVOIDlpBuffer,
DWORDBytesToRead,
FH_OVERLAPPED*lpo);
Parameters
- pContext
A reference to a FIO_CONTEXT structure containing the associated file handle.
- lpBuffer
A buffer in which to read the content.
- BytesToRead
Either the size of the buffer referenced by lpBuffer, or the number of bytes to read if less than the size of the buffer.
- lpo
A reference to an FH_OVERLAPPED structure used to perform the asynchronous I/O operation.
Return Values
The function returns TRUE if the read operation was successful.
Requirements
Windows NT/2000: Requires Windows 2000. Windows 95/98: Unsupported. Header: Declared in filehc.h; include filehc.h. Library: Use fcachdll.lib.