winehid.sys: Build with nameless unions.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-02-01 09:35:50 +01:00 committed by Alexandre Julliard
parent 4b7a20af16
commit eb9da265d3
1 changed files with 1 additions and 3 deletions

View File

@ -20,8 +20,6 @@
#include <stdarg.h> #include <stdarg.h>
#define NONAMELESSUNION
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include "windef.h" #include "windef.h"
@ -36,7 +34,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(hid);
static NTSTATUS WINAPI internal_ioctl(DEVICE_OBJECT *device, IRP *irp) static NTSTATUS WINAPI internal_ioctl(DEVICE_OBJECT *device, IRP *irp)
{ {
NTSTATUS status = irp->IoStatus.u.Status; NTSTATUS status = irp->IoStatus.Status;
IO_STACK_LOCATION *irpsp = IoGetCurrentIrpStackLocation(irp); IO_STACK_LOCATION *irpsp = IoGetCurrentIrpStackLocation(irp);
ULONG code = irpsp->Parameters.DeviceIoControl.IoControlCode; ULONG code = irpsp->Parameters.DeviceIoControl.IoControlCode;