Jump to content

KernThunkStackTo16

From EDM2
Revision as of 19:50, 9 June 2017 by Martini (talk | contribs)

This will convert a 16:32 SS:ESP value to a 16:16 SS:SP value.

Synopsis

VOID APIENTRY KernThunkStackTo16(VOID);

Parameters

None.

Comments

I think this is required for correct calling of 16 bit code from the 32 bit driver, as 16 bit drivers assume a 16:16 stackpointer.