revive win32 code