+ OSVERSIONINFOW info = {sizeof(info)};
+ const WCHAR *os_type, *is_nt;
+ WCHAR buf[512], *ret, *tmp;
+ DWORD res, idx=0;
+ size_t len, size;
+ BOOL is_wow;
+ HKEY key;
+
+ static const WCHAR formatW[] =
+ {'M','o','z','i','l','l','a','/','4','.','0',
+ ' ','(','c','o','m','p','a','t','i','b','l','e',';',
+ ' ','M','S','I','E',' ','8','.','0',';',
+ ' ','W','i','n','d','o','w','s',' ','%','s','%','d','.','%','d',';',
+ ' ','%','s',';',' ','T','r','i','d','e','n','t','/','5','.','0',0};
+ static const WCHAR post_platform_keyW[] =
+ {'S','O','F','T','W','A','R','E',
+ '\\','M','i','c','r','o','s','o','f','t',
+ '\\','W','i','n','d','o','w','s',
+ '\\','C','u','r','r','e','n','t','V','e','r','s','i','o','n',
+ '\\','I','n','t','e','r','n','e','t',' ','S','e','t','t','i','n','g','s',
+ '\\','5','.','0','\\','U','s','e','r',' ','A','g','e','n','t',
+ '\\','P','o','s','t',' ','P','l','a','t','f','o','r','m',0};
+ static const WCHAR ntW[] = {'N','T',' ',0};
+ static const WCHAR win32W[] = {'W','i','n','3','2',0};
+ static const WCHAR win64W[] = {'W','i','n','6','4',0};
+ static const WCHAR wow64W[] = {'W','O','W','6','4',0};
+ static const WCHAR emptyW[] = {0};