KernReadFileAt: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This reads the content of a file into a buffer. | |||
==Synopsis== | ==Synopsis== | ||
APIRET APIENTRY KernReadFileAt(KEEhfile khfd,PVOID buf, QWORD off, ULONG nbytes, PULONG nread); | APIRET APIENTRY KernReadFileAt(KEEhfile khfd,PVOID buf, QWORD off, ULONG nbytes, PULONG nread); | ||
==Parameters== | ==Parameters== | ||
Line 12: | Line 11: | ||
;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: | [[Category:KEE]] |
Revision as of 21:49, 9 June 2017
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.