Jump to content

KernLockFile: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 2: Line 2:


==Synopsis==
==Synopsis==
APIRET APIENTRY KernLockFile(HFILE hfd,KEEhfile* khfd);
APIRET APIENTRY KernLockFile (HFILE hfd, KEEhfile* khfd);


==Parameters==
==Parameters==
 
;hfd: User space file handle
; hfd : User space file handle  
;khfd: Pointer to an variable to return the SFT entry pointer.
 
; khfd : Pointer to an variable to return the SFT entry pointer.


==Comments==
==Comments==
This is some sort of DosOpen to access user files. This seems to be a kludge required for some feature of JFS.  
This is some sort of DosOpen to access user files. This seems to be a kludge required for some feature of JFS.


[[Category:KEE]]
[[Category:KEE]]

Revision as of 12:30, 19 July 2020

This function converts a user space file handle to a system file table pointer.

Synopsis

APIRET APIENTRY KernLockFile (HFILE hfd, KEEhfile* khfd);

Parameters

hfd
User space file handle
khfd
Pointer to an variable to return the SFT entry pointer.

Comments

This is some sort of DosOpen to access user files. This seems to be a kludge required for some feature of JFS.