Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 935 Bytes

FileIconInit.md

File metadata and controls

46 lines (29 loc) · 935 Bytes

Home

Function name : FileIconInit

Group: Shell Functions - Library: shell32


Reinitializes the system image list.


Declaration:

BOOL FileIconInit(
	BOOL fRestoreCache
);  

FoxPro declaration:

DECLARE INTEGER FileIconInit IN shell32;
	INTEGER fRestoreCache
  

Parameters:

fRestoreCache [in] TRUE to restore the system image cache from disk; FALSE otherwise.


Return value:

TRUE if the cache was successfully refreshed, FALSE if the initialization failed.


Comments:

If you are manually handling imagelists, you must call FileIconInit in response to a WM_SETTINGCHANGE message, when the SPI_SETNONCLIENTMETRICS flag is set, or when the WindowMetrics values change.