Article ID: 179167
Article Last Modified on 11/21/2006
SHFILEINFO sfi;
HIMAGELIST hil;
ZeroMemory(&sfi,sizeof(sfi));
hil = SHGetFileInfo(".zip",
FILE_ATTRIBUTE_NORMAL,
&sfi,
sizeof(sfi),
SHGFI_USEFILEATTRIBUTES|SHGFI_ICON);
// hil now contains the handle to the system image list
// containing the large icon images.
// sfi.hIcon contains the large icon for the file.
Keywords: kbhowto KB179167