KernReadFileAt: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
;khfd:SFT pointer | ;khfd:SFT pointer | ||
;buf:Buffer to read data into | ;buf:Buffer to read data into | ||
;off:Offset in file to start reading | ;off:Offset in file to start reading | ||
;nbytes:Number of bytes to read | ;nbytes:Number of bytes to read | ||
;nread:Pointer to an [[ULONG]] to receive the number of bytes actually read. | ;nread:Pointer to an [[ULONG]] to receive the number of bytes actually read. | ||
[[Category:KEE]] | [[Category:KEE]] |
Revision as of 12:23, 19 July 2020
This reads the content of a file into a buffer.
Synopsis
APIRET APIENTRY KernReadFileAt(KEEhfile khfd,PVOID buf, QWORD off, ULONG nbytes, PULONG nread);
Parameters
- khfd
- SFT pointer
- buf
- Buffer to read data into
- off
- Offset in file to start reading
- nbytes
- Number of bytes to read
- nread
- Pointer to an ULONG to receive the number of bytes actually read.