include/ddk: Fix memory layout of IRP and IO_STACK_LOCATION in wine64.

Signed-off-by: Rafał Harabień <rafalh1992@o2.pl>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rafał Harabień 2015-11-22 22:25:03 +01:00 committed by Alexandre Julliard
parent 46e94c8d19
commit 3acac5b221
1 changed files with 5 additions and 3 deletions

View File

@ -400,7 +400,6 @@ typedef struct _KAPC {
BOOLEAN Inserted; BOOLEAN Inserted;
} KAPC, *PKAPC, *RESTRICTED_POINTER PRKAPC; } KAPC, *PKAPC, *RESTRICTED_POINTER PRKAPC;
#include <pshpack1.h>
typedef struct _IRP { typedef struct _IRP {
CSHORT Type; CSHORT Type;
USHORT Size; USHORT Size;
@ -456,7 +455,6 @@ typedef struct _IRP {
} Tail; } Tail;
} IRP; } IRP;
typedef struct _IRP *PIRP; typedef struct _IRP *PIRP;
#include <poppack.h>
typedef VOID (WINAPI *PINTERFACE_REFERENCE)( typedef VOID (WINAPI *PINTERFACE_REFERENCE)(
PVOID Context); PVOID Context);
@ -833,7 +831,9 @@ typedef NTSTATUS (WINAPI *PIO_COMPLETION_ROUTINE)(
#define SL_INVOKE_ON_SUCCESS 0x40 #define SL_INVOKE_ON_SUCCESS 0x40
#define SL_INVOKE_ON_ERROR 0x80 #define SL_INVOKE_ON_ERROR 0x80
#include <pshpack1.h> #if !defined(_WIN64)
#include <pshpack4.h>
#endif
typedef struct _IO_STACK_LOCATION { typedef struct _IO_STACK_LOCATION {
UCHAR MajorFunction; UCHAR MajorFunction;
UCHAR MinorFunction; UCHAR MinorFunction;
@ -974,7 +974,9 @@ typedef struct _IO_STACK_LOCATION {
PIO_COMPLETION_ROUTINE CompletionRoutine; PIO_COMPLETION_ROUTINE CompletionRoutine;
PVOID Context; PVOID Context;
} IO_STACK_LOCATION, *PIO_STACK_LOCATION; } IO_STACK_LOCATION, *PIO_STACK_LOCATION;
#if !defined(_WIN64)
#include <poppack.h> #include <poppack.h>
#endif
/* MDL definitions */ /* MDL definitions */