Wrong PARTITION_INFORMATION record definition in struct.ini
Original Reporter info from Mantis: greymfm
-
Reporter name: Christian Grau
Original Reporter info from Mantis: greymfm
- Reporter name: Christian Grau
Description:
C:\FPC\2.2.4\fpcsrc\rtl\win\wininc\struct.inc:
PARTITION_INFORMATION = record
PartitionType : BYTE;
BootIndicator : BOOLEAN;
RecognizedPartition : BOOLEAN;
RewritePartition : BOOLEAN;
StartingOffset : LARGE_INTEGER;
PartitionLength : LARGE_INTEGER;
HiddenSectors : LARGE_INTEGER;
end;
THIS STRUC IS TOTALLY DEPRECATED!!!
Steps to reproduce:
Take a look at
http://msdn.microsoft.com/en-us/library/aa365451%28VS.85%29.aspx
or the original C definition from Windows SDKs. Right is:
PARTITION_INFORMATION = record
StartingOffset : LARGE_INTEGER;
PartitionLength : LARGE_INTEGER;
HiddenSectors : DWORD;
PartitionNumber : DWORD;
PartitionType : BYTE;
BootIndicator : BOOLEAN;
RecognizedPartition : BOOLEAN;
RewritePartition : BOOLEAN;
end;
Additional information:
Best regards, Christian Grau!
Mantis conversion info:
- Mantis ID: 15137
- OS: All Windows OS
- Build: [2009/04/10] for i386
- Platform: Win32
- Version: 2.2.4
- Fixed in version: 2.4.2
- Fixed in revision: 14698 (#154cb40f)