[fpc-devel] windows shlobj SIGDN longint

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 25 11:58:29 CEST 2026



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.

Mattias



More information about the fpc-devel mailing list