Incorrect definition of the THUMBBUTTON record in the shlobj unit
Summary
Incorrect definition of the THUMBBUTTON record in the shlobj unit.
System Information
-
Operating system:
Windows
-
Processor architecture:
x64
-
Compiler version:
3.2.2
-
Device:
Steps to reproduce
See https://forum.lazarus.freepascal.org/index.php/topic,71762.msg560664.html#msg560664
Example Project
What is the current bug behavior?
It must be defined without the packed keyword, otherwise the ITaskbarList3.ThumbBarAddButtons function does not work correctly in Windows x64.
What is the expected (correct) behavior?
Relevant logs and/or screenshots
Possible fixes
The packed keyword must be removed from the definition of the THUMBBUTTON record in the shlobj unit.