Commit f5784e2f authored by Alexandre Julliard's avatar Alexandre Julliard

services: Use nameless unions/structs.

parent c2d1c8dc
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
*/ */
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#define NONAMELESSSTRUCT
#define NONAMELESSUNION
#include <stdarg.h> #include <stdarg.h>
#include <windows.h> #include <windows.h>
...@@ -1143,8 +1141,8 @@ static BOOL process_send_command(struct process_entry *process, const void *data ...@@ -1143,8 +1141,8 @@ static BOOL process_send_command(struct process_entry *process, const void *data
DWORD count, ret; DWORD count, ret;
BOOL r; BOOL r;
overlapped.u.s.Offset = 0; overlapped.Offset = 0;
overlapped.u.s.OffsetHigh = 0; overlapped.OffsetHigh = 0;
overlapped.hEvent = process->overlapped_event; overlapped.hEvent = process->overlapped_event;
r = WriteFile(process->control_pipe, data, size, &count, &overlapped); r = WriteFile(process->control_pipe, data, size, &count, &overlapped);
if (!r && GetLastError() == ERROR_IO_PENDING) if (!r && GetLastError() == ERROR_IO_PENDING)
......
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