win32: house keeping.