HICON LoadIcon(
HINSTANCE hInstance, // handle to application instance
LPCTSTR lpIconName // icon-name string or icon resource
// identifier
);

Hi, I want to use LoadIcon function to get the icon from other application, I can provide the hInstance, but how can I know the icon's name?
Thank you!

How can taskmgr.exe retrieve those running application's icon?