The information in this article applies to:
SUMMARYThis article explains how to use the SHGetFileInfo API to retrieve the icon for a file class without having a specific file of that class available. MORE INFORMATION
To do this, select the SHGFI_USEFILEATTRIBUTES flag and
FILE_ATTRIBUTE_NORMAL so that the API assumes that the file exists and it
will not try to look for it on disk.
REFERENCESFor additional information about the SHGetFileInfo API, please see the following article in the Microsoft Knowledge Base: Q131500 HOWTO: Obtain Icon Information from an .EXE in Windows 95 Additional query words:
Keywords : kbLib kbNTOS400 kbWinOS2000 kbWinOS95 kbWinOS98 kbGrpShell |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |