version: Stop crash under vista and 2k8.
This commit is contained in:
parent
1598779b10
commit
d026b74d79
|
@ -400,8 +400,11 @@ static void test_32bit_win(void)
|
|||
|
||||
if (is_unicode_enabled)
|
||||
{
|
||||
retW = VerQueryValueW( pVersionInfoW, NULL, (LPVOID *)&pBufW, &uiLengthW );
|
||||
ok (retW, "VerQueryValueW failed: GetLastError = %u\n", GetLastError());
|
||||
if(0)
|
||||
{ /* This causes Vista and w2k8 to crash */
|
||||
retW = VerQueryValueW( pVersionInfoW, NULL, (LPVOID *)&pBufW, &uiLengthW );
|
||||
ok (retW, "VerQueryValueW failed: GetLastError = %u\n", GetLastError());
|
||||
}
|
||||
|
||||
retW = VerQueryValueW( pVersionInfoW, emptyW, (LPVOID *)&pBufW, &uiLengthW );
|
||||
ok (retW, "VerQueryValueW failed: GetLastError = %u\n", GetLastError());
|
||||
|
|
Loading…
Reference in New Issue