Re: [fpc-devel] declaration of GetCharacterPlacementW(

2020-10-05 Thread Marco van de Voort via fpc-devel
Op 05/10/2020 om 01:31 schreef Martin via fpc-devel: function GetCharacterPlacementW(DC: HDC; p2: LPWSTR; p3, p4: BOOL; var p5: TGCPResults; p6: DWORD): DWORD; external 'gdi32' name 'GetCharacterPlacementW'; Why are p3 and p4 Bool? They should be both int?

[fpc-devel] declaration of GetCharacterPlacementW(

2020-10-04 Thread Martin via fpc-devel
function GetCharacterPlacementW(DC: HDC; p2: LPWSTR; p3, p4: BOOL; var p5: TGCPResults; p6: DWORD): DWORD; external 'gdi32' name 'GetCharacterPlacementW'; Why are p3 and p4 Bool? They should be both int?