Commit b8b57a98 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

sechost: Use nameless unions.

parent 4e05e6d6
...@@ -2,7 +2,6 @@ MODULE = sechost.dll ...@@ -2,7 +2,6 @@ MODULE = sechost.dll
IMPORTLIB = sechost IMPORTLIB = sechost
IMPORTS = kernelbase IMPORTS = kernelbase
DELAYIMPORTS = rpcrt4 DELAYIMPORTS = rpcrt4
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin
......
...@@ -533,10 +533,10 @@ BOOL WINAPI DECLSPEC_HOTPATCH ChangeServiceConfig2W( SC_HANDLE service, DWORD le ...@@ -533,10 +533,10 @@ BOOL WINAPI DECLSPEC_HOTPATCH ChangeServiceConfig2W( SC_HANDLE service, DWORD le
rpc_privinfo.cbRequiredPrivileges = multisz_size( privinfo->pmszRequiredPrivileges ); rpc_privinfo.cbRequiredPrivileges = multisz_size( privinfo->pmszRequiredPrivileges );
rpc_privinfo.pRequiredPrivileges = (BYTE *)privinfo->pmszRequiredPrivileges; rpc_privinfo.pRequiredPrivileges = (BYTE *)privinfo->pmszRequiredPrivileges;
rpc_info.u.privinfo = &rpc_privinfo; rpc_info.privinfo = &rpc_privinfo;
} }
else else
rpc_info.u.descr = info; rpc_info.descr = info;
err = svcctl_ChangeServiceConfig2W( service, rpc_info ); err = svcctl_ChangeServiceConfig2W( service, rpc_info );
} }
__EXCEPT(rpc_filter) __EXCEPT(rpc_filter)
...@@ -1309,7 +1309,7 @@ static DWORD WINAPI notify_thread(void *user) ...@@ -1309,7 +1309,7 @@ static DWORD WINAPI notify_thread(void *user)
if (err == ERROR_SUCCESS && list) if (err == ERROR_SUCCESS && list)
{ {
cparams = list->NotifyParamsArray[0].u.params; cparams = list->NotifyParamsArray[0].params;
data->notify_buffer->dwNotificationStatus = cparams->dwNotificationStatus; data->notify_buffer->dwNotificationStatus = cparams->dwNotificationStatus;
memcpy(&data->notify_buffer->ServiceStatus, &cparams->ServiceStatus, memcpy(&data->notify_buffer->ServiceStatus, &cparams->ServiceStatus,
...@@ -1372,7 +1372,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH NotifyServiceStatusChangeW( SC_HANDLE service, DW ...@@ -1372,7 +1372,7 @@ DWORD WINAPI DECLSPEC_HOTPATCH NotifyServiceStatusChangeW( SC_HANDLE service, DW
} }
data->params.dwInfoLevel = 2; data->params.dwInfoLevel = 2;
data->params.u.params = &data->cparams; data->params.params = &data->cparams;
data->cparams.dwNotifyMask = mask; data->cparams.dwNotifyMask = mask;
......
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