I am currently trying to make some modifications to some existing .NET code as I want to extend the current functionality. Unfortunately I do not have much experience in MSDN and need help with the namespaces.
The current code uses SystemIcons.WinLogo.ExtractAssociatedIcon to get the image data for an icon, but this results in tiny images. I want larger images and have found several possible solutions, such as Get icon 128*128 File type C#. The issue arises when I try to use/modify this code in the existing project that many of the referenced names are not recognized:
- HICON
- SHFILEINFO
- Shell32
- SHGFI
- LPCTSTR
- etc
All of the stackoverflow and other resources fail to mention the used namespaces in their solutions; likely because this is knowledge that is assumed to be known. It would be greatly appreciated if someone could indicate what namespaces I should be including/referencing to get access to some of these types and functions.