KernLockFile: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
;hfd: User space file handle | ;hfd ([[HFILE]]) - input: User space file handle | ||
;khfd: Pointer to an variable to return the SFT entry pointer. | ;khfd (KEEhfile*) - input: Pointer to an variable to return the SFT entry pointer. | ||
==Comments== | ==Comments== |
Revision as of 03:29, 28 May 2025
This function converts a user space file handle to a system file table pointer.
Synopsis
APIRET APIENTRY KernLockFile (HFILE hfd, KEEhfile* khfd);
Parameters
- hfd (HFILE) - input
- User space file handle
- khfd (KEEhfile*) - input
- 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.