[1/2] wdm.h: fix IoGetCurrentIrpStackLocation
Alexandre Julliard
julliard at winehq.org
Tue Mar 23 12:11:59 CDT 2010
Damjan Jovanovic <damjan.jov at gmail.com> writes:
> @@ -1021,7 +1021,7 @@ typedef enum _MM_SYSTEM_SIZE
>
> NTSTATUS WINAPI ObCloseHandle(IN HANDLE handle);
>
> -#define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.CurrentStackLocation)
> +#define IoGetCurrentIrpStackLocation(_Irp) ((_Irp)->Tail.Overlay.s.u2.CurrentStackLocation)
This would have to depend on the NONAMELESSUNION etc defines.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list