Add exception-wrapper support, copied from winsys
Wrap every win32 call; all tests pass