Find an application’s icon with WinAPI

Tags:

I was working on some C# code today, and had to figure out how to find a specific application’s icon. There’s a lot of basic information on this, including messages like WM_GETICON in MSDN, but it just wouldn’t work.