KernLockFile: Difference between revisions
Appearance
m Ak120 moved page OS2 API:KEE:KernLockFile to KernLockFile |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This function converts a user space file handle to a system file table pointer. | |||
==Synopsis== | ==Synopsis== | ||
APIRET APIENTRY KernLockFile(HFILE hfd,KEEhfile* khfd); | APIRET APIENTRY KernLockFile (HFILE hfd, KEEhfile* khfd); | ||
==Parameters== | ==Parameters== | ||
;hfd ([[HFILE]]) - input: User space file handle | |||
; hfd : User space file handle | ;khfd (KEEhfile*) - input: 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: | [[Category:KEE]] |
Latest 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.