Jump to content

KernReadFileAt

From EDM2
Revision as of 03:34, 28 May 2025 by Martini (talk | contribs)

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 (KEEhfile) - input
SFT pointer
buf (PVOID) - input
Buffer to read data into
off (QWORD - input
Offset in file to start reading
nbytes (ULONG) - input
Number of bytes to read
nread (PULONG) - input
Pointer to an ULONG to receive the number of bytes actually read.