Changed the macros IoGetCurrentIrpStackLocation and IoGetNextIrpStackLocation to the old state.

svn path=/trunk/; revision=2535
This commit is contained in:
Hartmut Birr 2002-01-21 22:27:36 +00:00
parent 28c174051d
commit b4ee5e08ee

View 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