Robert Shearman rob@codeweavers.com writes:
Alexandre Julliard wrote:
Initializing the first frame should be enough.
I can't work out what the size of the first frame is though. Is it sizeof(STACK16FRAME)?
Yes; NtCurrentTeb()->WOW32Reserved is set to point to the initial stack frame at the top of the stack, that's what you have to initialize.