Edit

Share via


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:

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
Shell32.dll