all the test code of win32 API