From: Blind Anagram on
I wonder if anyone here might know a bit more about structured exception
handling (SEH) with VC++ than the Microsoft documentation provides.

When the SEH function prologue is:

push regs
allocate stack space

the required epilogue form is:

add rsp, stack_space_amount
pop regs
ret

or a similar form using LEA. The documentation implies that when the
prologue is:

push regs

the epilogue has to be:

add rsp, 0
pop regs
ret

Is this zero addition to rsp needed here? The Microsoft documentation
implies that it is necessary but it doesn't explicitely say so.

I would be most grateful if anyone here is able to clarify this.

Brian