svn path=/trunk/; revision=2536
-/* $Id: iotypes.h,v 1.31 2001/08/27 01:18:57 ekohl Exp $
+/* $Id: iotypes.h,v 1.32 2002/01/21 22:28:45 hbirr Exp $
/*
* PURPOSE: IRP stack location
*/
/*
* PURPOSE: IRP stack location
*/
-typedef struct _IO_STACK_LOCATION
+typedef struct __attribute__((packed)) _IO_STACK_LOCATION
{
UCHAR MajorFunction;
UCHAR MinorFunction;
{
UCHAR MajorFunction;
UCHAR MinorFunction;
PCM_RESOURCE_LIST AllocatedResourcesTranslated;
} StartDevice;
PCM_RESOURCE_LIST AllocatedResourcesTranslated;
} StartDevice;
struct _DEVICE_OBJECT* DeviceObject;
struct _FILE_OBJECT* FileObject;
struct _DEVICE_OBJECT* DeviceObject;
struct _FILE_OBJECT* FileObject;
PIO_COMPLETION_ROUTINE CompletionRoutine;
PVOID CompletionContext;
PIO_COMPLETION_ROUTINE CompletionRoutine;
PVOID CompletionContext;
-} IO_STACK_LOCATION, *PIO_STACK_LOCATION;
+} __attribute__((packed)) IO_STACK_LOCATION, *PIO_STACK_LOCATION;
typedef struct _IO_STATUS_BLOCK
{
typedef struct _IO_STATUS_BLOCK
{