Win32 initialization improvement