FileIconInit function
Initializes or reinitializes the system image list.
BOOL FileIconInit(
_In_ BOOL fRestoreCache
);
-
fRestoreCache [in]
-
Type: BOOL
TRUE to restore the system image cache from disk; FALSE otherwise.
Type: BOOL
TRUE if the cache was successfully refreshed, FALSE if the initialization failed.
If you are using system image lists in your own process, you must call FileIconInit at the following times:
- On launch.
- In response to a WM_SETTINGCHANGE message when the SPI_SETNONCLIENTMETRICS flag is set.
FileIconInit is not included in a header file. You must call it directly from Shell32.dll, using ordinal 660.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
DLL |
|