Jump to content

KernLockFile: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernLockFile(HFILE hfd,KEEhfile* khfd); ==Description== This function converts a user space file handle to a system file table pointer. ==Parame..."
 
 
(6 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);
 
==Description==
This function converts a user space file handle to a system file table pointer.


==Parameters==
==Parameters==
 
;hfd ([[HFILE]]) - input: User space file handle
hfd
;khfd (KEEhfile*) - input: Pointer to an variable to return the SFT entry pointer.
    User space file handle  
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:The OS/2 API Project]]
[[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.