Im writing a quick program that displays files as icons and I am wondering where these icons are stored? For example, the icon for .BMP is not external so it must be stored somewhere either in a system directory or as a resource in a DLL somewhere.

How does one get at these icons?