kernel32: Intialise 16-bit stack to zero.

Alexandre Julliard julliard at
Thu Jan 17 12:39:56 CST 2008

Robert Shearman <rob at> 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.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list