[1/2] wdm.h: fix IoGetCurrentIrpStackLocation

Damjan Jovanovic damjan.jov at gmail.com
Tue Mar 23 11:04:36 CDT 2010


Changelog:
* wdm.h: fix IoGetCurrentIrpStackLocation

Damjan Jovanovic
-------------- next part --------------
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index 72c6e85..cb54da7 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -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)
 
 #define KernelMode 0
 #define UserMode   1


More information about the wine-patches mailing list