Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
534476a0
Commit
534476a0
authored
Jul 21, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wevtapi/tests: Use nameless unions/structs.
parent
faf49ed3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
wevtapi.c
dlls/wevtapi/tests/wevtapi.c
+2
-4
No files found.
dlls/wevtapi/tests/wevtapi.c
View file @
534476a0
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment