JCL Help:ShellLinkGetIcon

From Project JEDI Wiki
Jump to navigationJump to search


Returns the icon associate with a shell link.


Parameters Description
Link ShellLink record specifying the shell link for which to obtain the icon. This is, for example, the recor as initialized by ShellLinkResolve.
Icon TIcon instance which receives the icon associated with the shell link.

Return Value

If the function succeeds it returns True, otherwise it returns False.


ShellLinkGetIcon obtains the icon for the specified link. Due to the fact that Windows does not document how the shell itself determines the icon to display, the returned icon may be different than the one the shell actually dispays.



Marcel van Brakel

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page