Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b8b57a98
Commit
b8b57a98
authored
Mar 24, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sechost: Use nameless unions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4e05e6d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/sechost/Makefile.in
+0
-1
service.c
dlls/sechost/service.c
+4
-4
No files found.
dlls/sechost/Makefile.in
View file @
b8b57a98
...
...
@@ -2,7 +2,6 @@ MODULE = sechost.dll
IMPORTLIB
=
sechost
IMPORTS
=
kernelbase
DELAYIMPORTS
=
rpcrt4
EXTRADEFS
=
-DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS
=
-mno-cygwin
...
...
dlls/sechost/service.c
View file @
b8b57a98
...
...
@@ -533,10 +533,10 @@ BOOL WINAPI DECLSPEC_HOTPATCH ChangeServiceConfig2W( SC_HANDLE service, DWORD le
rpc_privinfo
.
cbRequiredPrivileges
=
multisz_size
(
privinfo
->
pmszRequiredPrivileges
);
rpc_privinfo
.
pRequiredPrivileges
=
(
BYTE
*
)
privinfo
->
pmszRequiredPrivileges
;
rpc_info
.
u
.
privinfo
=
&
rpc_privinfo
;
rpc_info
.
privinfo
=
&
rpc_privinfo
;
}
else
rpc_info
.
u
.
descr
=
info
;
rpc_info
.
descr
=
info
;
err
=
svcctl_ChangeServiceConfig2W
(
service
,
rpc_info
);
}
__EXCEPT
(
rpc_filter
)
...
...
@@ -1309,7 +1309,7 @@ static DWORD WINAPI notify_thread(void *user)
if
(
err
==
ERROR_SUCCESS
&&
list
)
{
cparams
=
list
->
NotifyParamsArray
[
0
].
u
.
params
;
cparams
=
list
->
NotifyParamsArray
[
0
].
params
;
data
->
notify_buffer
->
dwNotificationStatus
=
cparams
->
dwNotificationStatus
;
memcpy
(
&
data
->
notify_buffer
->
ServiceStatus
,
&
cparams
->
ServiceStatus
,
...
...
@@ -1372,7 +1372,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH NotifyServiceStatusChangeW( SC_HANDLE service, DW
}
data
->
params
.
dwInfoLevel
=
2
;
data
->
params
.
u
.
params
=
&
data
->
cparams
;
data
->
params
.
params
=
&
data
->
cparams
;
data
->
cparams
.
dwNotifyMask
=
mask
;
...
...
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