Jump to content

KernDynamicAPI: Difference between revisions

From EDM2
Created page with "==Synopsis== APIRET APIENTRY KernDynamicAPI(PVOID addr, ULONG cnt, ULONG dummy, PUSHORT sel); ==Description== This is the equivalent of the DevHlp_DynamicAPI function. ==Par..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 6: Line 6:


==Parameters==
==Parameters==
 
;addr:Address of the routine to be called through this gate.
addr
;cnt:Number of arguments to be copied from user stack to kernel stack
    Address of the routine to be called through this gate.  
;dummy:I don't know what this parameter is for. It is not used in the code.
cnt
;sel:Pointer to a variable where the generated GDT gate selector is returned
    Number of arguments to be copied from user stack to kernel stack  
dummy
    I don't know what this parameter is for. It is not used in the code.  
sel
    Pointer to a variable where the generated GDT gate selector is returned  


[[Category:The OS/2 API Project]]
[[Category:The OS/2 API Project]]

Revision as of 17:07, 25 November 2016

Synopsis

APIRET APIENTRY KernDynamicAPI(PVOID addr, ULONG cnt, ULONG dummy, PUSHORT sel);

Description

This is the equivalent of the DevHlp_DynamicAPI function.

Parameters

addr
Address of the routine to be called through this gate.
cnt
Number of arguments to be copied from user stack to kernel stack
dummy
I don't know what this parameter is for. It is not used in the code.
sel
Pointer to a variable where the generated GDT gate selector is returned