mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +00:00
Added the packed attribute to IO_STACK_LOCATION.
svn path=/trunk/; revision=2536
This commit is contained in:
parent
b4ee5e08ee
commit
8a8f132dbf
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $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 $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -256,7 +256,7 @@ typedef struct
|
||||||
/*
|
/*
|
||||||
* PURPOSE: IRP stack location
|
* PURPOSE: IRP stack location
|
||||||
*/
|
*/
|
||||||
typedef struct _IO_STACK_LOCATION
|
typedef struct __attribute__((packed)) _IO_STACK_LOCATION
|
||||||
{
|
{
|
||||||
UCHAR MajorFunction;
|
UCHAR MajorFunction;
|
||||||
UCHAR MinorFunction;
|
UCHAR MinorFunction;
|
||||||
|
@ -404,7 +404,7 @@ typedef struct _IO_STACK_LOCATION
|
||||||
PCM_RESOURCE_LIST AllocatedResourcesTranslated;
|
PCM_RESOURCE_LIST AllocatedResourcesTranslated;
|
||||||
} StartDevice;
|
} StartDevice;
|
||||||
|
|
||||||
} Parameters;
|
} Parameters;
|
||||||
|
|
||||||
struct _DEVICE_OBJECT* DeviceObject;
|
struct _DEVICE_OBJECT* DeviceObject;
|
||||||
struct _FILE_OBJECT* FileObject;
|
struct _FILE_OBJECT* FileObject;
|
||||||
|
@ -412,7 +412,7 @@ typedef struct _IO_STACK_LOCATION
|
||||||
PIO_COMPLETION_ROUTINE CompletionRoutine;
|
PIO_COMPLETION_ROUTINE CompletionRoutine;
|
||||||
PVOID CompletionContext;
|
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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue