From cdf42cb419452d9e8cefad062096fc2efda01024 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 20 Dec 2003 16:51:05 +0000 Subject: [PATCH] Corrected packing of the structures. svn path=/trunk/; revision=7138 --- reactos/include/ddk/iotypes.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/include/ddk/iotypes.h b/reactos/include/ddk/iotypes.h index f9e3598cb8b..4978a5884ac 100644 --- a/reactos/include/ddk/iotypes.h +++ b/reactos/include/ddk/iotypes.h @@ -1,4 +1,4 @@ -/* $Id: iotypes.h,v 1.59 2003/11/19 12:50:11 ekohl Exp $ +/* $Id: iotypes.h,v 1.60 2003/12/20 16:51:05 navaraf Exp $ * */ @@ -9,6 +9,8 @@ #include #include +#pragma pack(push,4) + /* from winddk.h */ #define POINTER_ALIGNMENT @@ -620,7 +622,6 @@ typedef struct _IO_STACK_LOCATION { PVOID Context; } IO_STACK_LOCATION, *PIO_STACK_LOCATION; - // AG: The commented lines in this structure are due to PMAILSLOT_CREATE_PARAMETERS // and PNAMED_PIPE_CREATE_PARAMETERS and PFILE_GET_QUOTA_INFORMATION not being // defined. @@ -711,15 +712,12 @@ typedef struct _EXTENDED_IO_STACK_LOCATION { } EXTENDED_IO_STACK_LOCATION, *PEXTENDED_IO_STACK_LOCATION; - - typedef struct _IO_STATUS_BLOCK { NTSTATUS Status; ULONG Information; } IO_STATUS_BLOCK, *PIO_STATUS_BLOCK; - /* * Driver entry point declaration */ @@ -1318,4 +1316,6 @@ typedef struct _BUS_INTERFACE_STANDARD { PGET_SET_DEVICE_DATA GetBusData; } BUS_INTERFACE_STANDARD, *PBUS_INTERFACE_STANDARD; +#pragma pack(pop) + #endif /* __INCLUDE_DDK_IOTYPES_H */