KernReadFileAt: Difference between revisions
Appearance
Created page with "==Synopsis== APIRET APIENTRY KernReadFileAt(KEEhfile khfd,PVOID buf, QWORD off, ULONG nbytes, PULONG nread); ==Description== This reads the content of a file into a buffer. ..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
==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); | ||
==Description== | ==Description== | ||
Line 6: | Line 6: | ||
==Parameters== | ==Parameters== | ||
;khfd:SFT pointer | |||
khfd | ;buf:Buffer to read data into | ||
;off:Offset in file to start reading | |||
buf | ;nbytes:Number of bytes to read | ||
;nread:Pointer to an [[ULONG]] to receive the number of bytes actually read. | |||
off | |||
nbytes | |||
nread | |||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 12:42, 20 October 2016
Synopsis
APIRET APIENTRY KernReadFileAt(KEEhfile khfd,PVOID buf, QWORD off, ULONG nbytes, PULONG nread);
Description
This reads the content of a file into a buffer.
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.