Having the window handle for an open application, I'm able to use the GetWindowText function to retrieve the text from the title bar of the app. I would like to take this a step farther and retrieve the icon associated with the same app.
How might I go about doing this? I looked through what I thought would be the relevant Win32 API sections, but nothing jumped out at me.
Any pointers would be appreciated.
Thanks in advance!