[XDK] Stop randomly packing structures half throughout ntifs.h / wdm.h

Nothing in there should be packed!
This commit is contained in:
Timo Kreuzer 2018-02-11 21:48:36 +01:00
parent de1b195837
commit 03c86af7d5
2 changed files with 2 additions and 12 deletions

View File

@ -2741,9 +2741,6 @@ typedef struct _ACPI_INTERFACE_STANDARD2 {
PUNREGISTER_FOR_DEVICE_NOTIFICATIONS2 UnregisterForDeviceNotifications;
} ACPI_INTERFACE_STANDARD2, *PACPI_INTERFACE_STANDARD2;
#if !defined(_AMD64_) && !defined(_IA64_)
#include <pshpack4.h>
#endif
typedef struct _IO_STACK_LOCATION {
UCHAR MajorFunction;
UCHAR MinorFunction;
@ -2813,8 +2810,8 @@ typedef struct _IO_STACK_LOCATION {
} SetVolume;
struct {
ULONG OutputBufferLength;
ULONG InputBufferLength;
ULONG FsControlCode;
ULONG POINTER_ALIGNMENT InputBufferLength;
ULONG POINTER_ALIGNMENT FsControlCode;
PVOID Type3InputBuffer;
} FileSystemControl;
struct {
@ -2927,9 +2924,6 @@ typedef struct _IO_STACK_LOCATION {
PIO_COMPLETION_ROUTINE CompletionRoutine;
PVOID Context;
} IO_STACK_LOCATION, *PIO_STACK_LOCATION;
#if !defined(_AMD64_) && !defined(_IA64_)
#include <poppack.h>
#endif
/* IO_STACK_LOCATION.Control */

View File

@ -1282,8 +1282,6 @@ typedef struct _QUERY_PATH_RESPONSE {
#define IOCTL_VOLSNAP_FLUSH_AND_HOLD_WRITES CTL_CODE(VOLSNAPCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
/* FIXME : These definitions below don't belong here (or anywhere in ddk really) */
#pragma pack(push,4)
#ifndef VER_PRODUCTBUILD
#define VER_PRODUCTBUILD 10000
#endif
@ -1789,8 +1787,6 @@ RtlSetSaclSecurityDescriptor (
#endif
#pragma pack(pop)
#ifdef __cplusplus
}
#endif