KernReadFileAt

From EDM2
Jump to: navigation, search

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.