Commit eb9da265 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winehid.sys: Build with nameless unions.

parent 4b7a20af
...@@ -20,8 +20,6 @@ ...@@ -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); ...@@ -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;
......
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