[fpc-devel] windows shlobj SIGDN longint
Marco van de Voort
fpc at pascalprogramming.org
Thu Jun 25 12:00:25 CEST 2026
Op 25-6-2026 om 11:58 schreef Mattias Gaertner via fpc-devel:
>
>
> On 6/25/26 11:48, gabor wrote:
>> [...]
>> This is how it's defined in header file:
>> enum _SIGDN
>> {
>> SIGDN_NORMALDISPLAY = 0,
>> SIGDN_PARENTRELATIVEPARSING = ( int )0x80018001,
>> SIGDN_DESKTOPABSOLUTEPARSING = ( int )0x80028000,
>> SIGDN_PARENTRELATIVEEDITING = ( int )0x80031001,
>> SIGDN_DESKTOPABSOLUTEEDITING = ( int )0x8004c000,
>> SIGDN_FILESYSPATH = ( int )0x80058000,
>> SIGDN_URL = ( int )0x80068000,
>> SIGDN_PARENTRELATIVEFORADDRESSBAR = ( int )0x8007c001,
>> SIGDN_PARENTRELATIVE = ( int )0x80080001,
>> SIGDN_PARENTRELATIVEFORUI = ( int )0x80094001
>> } SIGDN;
>>
>> It looks like it's a signed integer.
>
> Ah, thx, so the FPC constants need the typecast.
>
Shall I change the definition of constants in the header to
longint($8000..) ?
More information about the fpc-devel
mailing list