Commit 534476a0 authored by Alexandre Julliard's avatar Alexandre Julliard

wevtapi/tests: Use nameless unions/structs.

parent faf49ed3
......@@ -16,8 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#include <stdarg.h>
#include "windef.h"
......@@ -59,8 +57,8 @@ static void test_EvtGetChannelConfigProperty(void)
ok(ret, "EvtGetChannelConfigProperty error %lu\n", GetLastError());
ok(path.var.Count == 0xdeadbeef, "got %lu\n", path.var.Count);
ok(path.var.Type == EvtVarTypeString, "got %lu\n", path.var.Type);
ok(size == sizeof(EVT_VARIANT) + (wcslen(path.var.u.StringVal) + 1) * sizeof(WCHAR), "got %lu\n", size);
ok(path.var.u.StringVal == path.buf, "path.var.u.StringVal = %p, path.buf = %p\n", path.var.u.StringVal, path.buf);
ok(size == sizeof(EVT_VARIANT) + (wcslen(path.var.StringVal) + 1) * sizeof(WCHAR), "got %lu\n", size);
ok(path.var.StringVal == path.buf, "path.var.StringVal = %p, path.buf = %p\n", path.var.StringVal, path.buf);
EvtClose(config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment