mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[UNIATA] Fix packing for port configuration information structures
Now it's consistent with our structure in sdk/include/ddk/srb.h. Thanks to Hervé Poussineau for help with problem analysis. Also MSDN doesn't say anything about the structure packing: https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/srb/ns-srb-_port_configuration_information CORE-17966
This commit is contained in:
parent
27955da7ee
commit
6ebe2ed3a1
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,10 @@ typedef struct _ACCESS_RANGE {
|
|||
BOOLEAN RangeInMemory;
|
||||
}ACCESS_RANGE, *PACCESS_RANGE;
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#pragma pack(push, 4)
|
||||
#endif
|
||||
|
||||
//
|
||||
// Configuration information structure. Contains the information necessary
|
||||
// to initialize the adapter. NOTE: This structure's must be a multiple of
|
||||
|
@ -125,6 +129,10 @@ typedef struct _PORT_CONFIGURATION_INFORMATION_2K {
|
|||
BOOLEAN WmiDataProvider;
|
||||
} PORT_CONFIGURATION_INFORMATION_2K, *PPORT_CONFIGURATION_INFORMATION_2K;
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
typedef struct _PORT_CONFIGURATION_INFORMATION_COMMON {
|
||||
PORT_CONFIGURATION_INFORMATION comm;
|
||||
PORT_CONFIGURATION_INFORMATION_NT nt4;
|
||||
|
|
Loading…
Reference in a new issue