mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Changed the macros IoGetCurrentIrpStackLocation and IoGetNextIrpStackLocation to the old state.
svn path=/trunk/; revision=2535
This commit is contained in:
parent
28c174051d
commit
b4ee5e08ee
1 changed files with 2 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
#ifndef _INCLUDE_DDK_IOFUNCS_H
|
#ifndef _INCLUDE_DDK_IOFUNCS_H
|
||||||
#define _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 --- */
|
/* --- EXPORTED BY NTOSKRNL --- */
|
||||||
|
|
||||||
|
@ -610,14 +610,8 @@ IoGetConfigurationInformation (
|
||||||
* PIO_STACK_LOCATION
|
* PIO_STACK_LOCATION
|
||||||
* IoGetCurrentIrpStackLocation (PIRP Irp)
|
* IoGetCurrentIrpStackLocation (PIRP Irp)
|
||||||
*/
|
*/
|
||||||
#define IoGetCurrentIrpStackLocation(Irp) \
|
|
||||||
(&(Irp)->Stack[(ULONG)((Irp)->CurrentLocation)])
|
|
||||||
|
|
||||||
/* original macro */
|
|
||||||
/*
|
|
||||||
#define IoGetCurrentIrpStackLocation(Irp) \
|
#define IoGetCurrentIrpStackLocation(Irp) \
|
||||||
((Irp)->Tail.Overlay.CurrentStackLocation)
|
((Irp)->Tail.Overlay.CurrentStackLocation)
|
||||||
*/
|
|
||||||
|
|
||||||
#define IoSetNextIrpStackLocation(Irp) { \
|
#define IoSetNextIrpStackLocation(Irp) { \
|
||||||
(Irp)->CurrentLocation--; \
|
(Irp)->CurrentLocation--; \
|
||||||
|
@ -680,14 +674,9 @@ IoGetInitialStack (
|
||||||
* PIO_STACK_LOCATION
|
* PIO_STACK_LOCATION
|
||||||
* IoGetNextIrpStackLocation (PIRP Irp)
|
* IoGetNextIrpStackLocation (PIRP Irp)
|
||||||
*/
|
*/
|
||||||
#define IoGetNextIrpStackLocation(Irp) \
|
|
||||||
(&(Irp)->Stack[(Irp)->CurrentLocation-1])
|
|
||||||
|
|
||||||
/* original macro */
|
|
||||||
/*
|
|
||||||
#define IoGetNextIrpStackLocation(Irp) \
|
#define IoGetNextIrpStackLocation(Irp) \
|
||||||
((Irp)->Tail.Overlay.CurrentStackLocation-1)
|
((Irp)->Tail.Overlay.CurrentStackLocation-1)
|
||||||
*/
|
|
||||||
|
|
||||||
PDEVICE_OBJECT
|
PDEVICE_OBJECT
|
||||||
STDCALL
|
STDCALL
|
||||||
|
|
Loading…
Reference in a new issue