Changed the macros IoGetCurrentIrpStackLocation and IoGetNextIrpStackLocation to...
authorHartmut Birr <osexpert@googlemail.com>
Mon, 21 Jan 2002 22:27:36 +0000 (22:27 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Mon, 21 Jan 2002 22:27:36 +0000 (22:27 +0000)
svn path=/trunk/; revision=2535

reactos/include/ddk/iofuncs.h

index 5f1aa46..de382f2 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef _INCLUDE_DDK_IOFUNCS_H
 #define _INCLUDE_DDK_IOFUNCS_H
-/* $Id: iofuncs.h,v 1.28 2002/01/21 11:41:05 ekohl Exp $ */
+/* $Id: iofuncs.h,v 1.29 2002/01/21 22:27:36 hbirr Exp $ */
 
 /* --- EXPORTED BY NTOSKRNL --- */
 
@@ -610,14 +610,8 @@ IoGetConfigurationInformation (
  *      PIO_STACK_LOCATION
  *      IoGetCurrentIrpStackLocation (PIRP Irp)
  */
-#define IoGetCurrentIrpStackLocation(Irp) \
-       (&(Irp)->Stack[(ULONG)((Irp)->CurrentLocation)])
-
-/* original macro */
-/*
 #define IoGetCurrentIrpStackLocation(Irp) \
        ((Irp)->Tail.Overlay.CurrentStackLocation)
-*/
 
 #define IoSetNextIrpStackLocation(Irp) { \
   (Irp)->CurrentLocation--; \
@@ -680,14 +674,9 @@ IoGetInitialStack (
  *      PIO_STACK_LOCATION
  *      IoGetNextIrpStackLocation (PIRP Irp)
  */
-#define IoGetNextIrpStackLocation(Irp) \
-       (&(Irp)->Stack[(Irp)->CurrentLocation-1])
-
-/* original macro */
-/*
 #define IoGetNextIrpStackLocation(Irp) \
        ((Irp)->Tail.Overlay.CurrentStackLocation-1)
-*/
+
 
 PDEVICE_OBJECT
 STDCALL