I think it's deliberately designed that way so such codes are negative numbers in signed 32-bit.

Gareth aka. Kit

On 24/06/2026 20:51, Mattias Gaertner via fpc-devel wrote:
Hi,

Unit shlobj has:

      SIGDN      = longint;

But the constants are for example:

SIGDN_FILESYSPATH               = $80058000;


Maybe SIGDN must be DWord?

Mattias

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to