Jump to content

KernReadFileAt: Difference between revisions

From EDM2
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. ..."
 
Ak120 (talk | contribs)
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  
    SFT pointer  
;off:Offset in file to start reading  
buf
;nbytes:Number of bytes to read  
    buffer to read data into  
;nread:Pointer to an [[ULONG]] to receive the number of bytes actually read.  
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.  


[[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.