Jump to content

KernDynamicAPI: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 1: Line 1:
This is the equivalent of the 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);
==Description==
This is the equivalent of the DevHlp_DynamicAPI function.


==Parameters==
==Parameters==
Line 11: Line 10:
;sel:Pointer to a variable where the generated GDT gate selector is returned
;sel:Pointer to a variable where the generated GDT gate selector is returned


[[Category:Kern]]
[[Category:KEE]]

Revision as of 21:45, 9 June 2017

This is the equivalent of the DevHlp_DynamicAPI function.

Synopsis

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

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