From b4ee5e08ee416b9a1861b47d9b32aa6763c79c79 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Mon, 21 Jan 2002 22:27:36 +0000 Subject: [PATCH] Changed the macros IoGetCurrentIrpStackLocation and IoGetNextIrpStackLocation to the old state. svn path=/trunk/; revision=2535 --- reactos/include/ddk/iofuncs.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/reactos/include/ddk/iofuncs.h b/reactos/include/ddk/iofuncs.h index 5f1aa463c1b..de382f22a80 100644 --- a/reactos/include/ddk/iofuncs.h +++ b/reactos/include/ddk/iofuncs.h @@ -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