mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated version-VerQueryValue patchset
Warning fixes.
This commit is contained in:
parent
399383a95d
commit
8d59d7a990
@ -96,7 +96,7 @@ index b99a335d81a..6f16999b086 100644
|
||||
+ len = 0xdeadbeef;
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ ret = VerQueryValueA(preparedbuffer, "StringFileInfo", (LPVOID *)&p, &len);
|
||||
+ ok(ret, "VerQueryValueA error %u\n", GetLastError());
|
||||
+ ok(ret, "VerQueryValueA error %lu\n", GetLastError());
|
||||
+ ok(len == 0, "VerQueryValueA returned %u, expected 0\n", len);
|
||||
+ todo_wine
|
||||
+ ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);
|
||||
@ -105,7 +105,7 @@ index b99a335d81a..6f16999b086 100644
|
||||
+ len = 0xdeadbeef;
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ ret = VerQueryValueA(preparedbuffer, "\\StringFileInfo", (LPVOID *)&p, &len);
|
||||
+ ok(ret, "VerQueryValueA error %u\n", GetLastError());
|
||||
+ ok(ret, "VerQueryValueA error %lu\n", GetLastError());
|
||||
+ ok(len == 0, "VerQueryValueA returned %u, expected 0\n", len);
|
||||
+ todo_wine
|
||||
+ ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);
|
||||
@ -114,7 +114,7 @@ index b99a335d81a..6f16999b086 100644
|
||||
+ len = 0xdeadbeef;
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ ret = VerQueryValueA(preparedbuffer, "\\\\StringFileInfo", (LPVOID *)&p, &len);
|
||||
+ ok(ret, "VerQueryValueA error %u\n", GetLastError());
|
||||
+ ok(ret, "VerQueryValueA error %lu\n", GetLastError());
|
||||
+ ok(len == 0, "VerQueryValueA returned %u, expected 0\n", len);
|
||||
+ todo_wine
|
||||
+ ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);
|
||||
@ -124,7 +124,7 @@ index b99a335d81a..6f16999b086 100644
|
||||
+ len = 0xdeadbeef;
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ ret = VerQueryValueW(preparedbuffer, FileDescriptionW + 2, (LPVOID *)&p, &len);
|
||||
+ ok(ret, "VerQueryValueW error %u\n", GetLastError());
|
||||
+ ok(ret, "VerQueryValueW error %lu\n", GetLastError());
|
||||
+ ok(len == 0, "VerQueryValueW returned %u, expected 0\n", len);
|
||||
+ todo_wine
|
||||
+ ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);
|
||||
@ -133,7 +133,7 @@ index b99a335d81a..6f16999b086 100644
|
||||
+ len = 0xdeadbeef;
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ ret = VerQueryValueW(preparedbuffer, FileDescriptionW + 1, (LPVOID *)&p, &len);
|
||||
+ ok(ret, "VerQueryValueW error %u\n", GetLastError());
|
||||
+ ok(ret, "VerQueryValueW error %lu\n", GetLastError());
|
||||
+ ok(len == 0, "VerQueryValueW returned %u, expected 0\n", len);
|
||||
+ todo_wine
|
||||
+ ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);
|
||||
@ -142,7 +142,7 @@ index b99a335d81a..6f16999b086 100644
|
||||
+ len = 0xdeadbeef;
|
||||
+ SetLastError(0xdeadbeef);
|
||||
+ ret = VerQueryValueW(preparedbuffer, FileDescriptionW, (LPVOID *)&p, &len);
|
||||
+ ok(ret, "VerQueryValueW error %u\n", GetLastError());
|
||||
+ ok(ret, "VerQueryValueW error %lu\n", GetLastError());
|
||||
+ ok(len == 0, "VerQueryValueW returned %u, expected 0\n", len);
|
||||
+ todo_wine
|
||||
+ ok(p == preparedbuffer + 0x7e, "p was %p, expected %p\n", p, preparedbuffer + 0x7e);
|
||||
|
Loading…
Reference in New Issue
Block a user