Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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 |
|