mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 15:47:54 +02:00
* fix win32,win64 parts, fixes #40439. All records to under pshpack4 in header.
This commit is contained in:
parent
bc641cc76b
commit
e084d3259f
@ -19,7 +19,7 @@ uses Messages, Windows;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
{$IFDEF FPC}
|
||||
{$PACKRECORDS C}
|
||||
{$PACKRECORDS 4} // MS header contains pshpack4 under ifdef win32
|
||||
{$ENDIF}
|
||||
|
||||
Const
|
||||
@ -700,7 +700,7 @@ Const
|
||||
|
||||
EDITSTREAMCALLBACK = function (dwCookie:DWORD_PTR; pbBuff:LPBYTE; cb:LONG; var pcb:LONG):DWORD;
|
||||
|
||||
_editstream = record
|
||||
_editstream = packed record
|
||||
dwCookie : DWORD_PTR;
|
||||
dwError : DWORD;
|
||||
pfnCallback : EDITSTREAMCALLBACK;
|
||||
|
@ -2535,7 +2535,7 @@ Const
|
||||
TDRIVERINFO3 = DRIVER_INFO_3;
|
||||
PDRIVERINFO3 = ^DRIVER_INFO_3;
|
||||
|
||||
EDITSTREAM = record
|
||||
EDITSTREAM = packed record
|
||||
dwCookie : DWORD_PTR;
|
||||
dwError : DWORD;
|
||||
pfnCallback : EDITSTREAMCALLBACK;
|
||||
|
Loading…
Reference in New Issue
Block a user