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
d75127d4
Commit
d75127d4
authored
Jul 17, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wevtapi: Use nameless unions/structs.
parent
8a2dca25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
main.c
dlls/wevtapi/main.c
+2
-4
No files found.
dlls/wevtapi/main.c
View file @
d75127d4
...
...
@@ -19,8 +19,6 @@
#include <stdarg.h>
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "winevt.h"
...
...
@@ -63,8 +61,8 @@ BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig,
return
FALSE
;
}
PropertyValueBuffer
->
u
.
StringVal
=
(
LPWSTR
)(
PropertyValueBuffer
+
1
);
wcscpy
((
LPWSTR
)
PropertyValueBuffer
->
u
.
StringVal
,
log_pathW
);
PropertyValueBuffer
->
StringVal
=
(
LPWSTR
)(
PropertyValueBuffer
+
1
);
wcscpy
((
LPWSTR
)
PropertyValueBuffer
->
StringVal
,
log_pathW
);
PropertyValueBuffer
->
Type
=
EvtVarTypeString
;
return
TRUE
;
...
...
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