FileIconInit function
Initializes or reinitializes the system image list.
Syntax
BOOL FileIconInit(
_In_ BOOL fRestoreCache
);
Parameters
-
fRestoreCache [in]
-
Type: BOOL
TRUE to restore the system image cache from disk; FALSE otherwise.
Return value
Type: BOOL
TRUE if the cache was successfully refreshed, FALSE if the initialization failed.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
DLL |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for