Andrew asked:
I would imagine that there's some standard way of doing stacks
See http://source.winehq.org/source/include/wine/list.h
Finally, while the code's still rough and needs cleaning up, correctness checking, using Windows types and const properly, etc., am I doing anything glaringly wrong?
You didn't start by writing conformance tests, perhaps. - Dan