KernDynamicAPI: Difference between revisions
Appearance
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..." |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This is the equivalent of the [[DevHelp DynamicAPI|DevHlp_DynamicAPI]] function. | |||
==Synopsis== | ==Synopsis== | ||
APIRET APIENTRY KernDynamicAPI(PVOID addr, ULONG cnt, ULONG dummy, PUSHORT sel); | APIRET APIENTRY KernDynamicAPI (PVOID addr, ULONG cnt, ULONG dummy, PUSHORT sel); | ||
==Parameters== | ==Parameters== | ||
;''addr'' ([[PVOID]]) - input:Address of the routine to be called through this gate. | |||
;''cnt'' ([[ULONG]]) - input:Number of arguments to be copied from user stack to kernel stack | |||
;''dummy'' ([[ULONG]]) - input:I don't know what this parameter is for. It is not used in the code. | |||
;''sel'' (PUSHORT) - input:Pointer to a variable where the generated GDT gate selector is returned | |||
[[Category:KEE]] | |||
[[Category: |
Latest revision as of 03:18, 28 May 2025
This is the equivalent of the DevHlp_DynamicAPI function.
Synopsis
APIRET APIENTRY KernDynamicAPI (PVOID addr, ULONG cnt, ULONG dummy, PUSHORT sel);
Parameters
- addr (PVOID) - input
- Address of the routine to be called through this gate.
- cnt (ULONG) - input
- Number of arguments to be copied from user stack to kernel stack
- dummy (ULONG) - input
- I don't know what this parameter is for. It is not used in the code.
- sel (PUSHORT) - input
- Pointer to a variable where the generated GDT gate selector is returned