Solid File System

Virtual file system enigne that can be embedded into your software.

InstallIcon function (Installer DLL)

Installer DLL     See also    


Installs the icon into the system


    BOOL __stdcall InstallIconA( const char * IconPath, const char * IconId, BOOL * RebootNeeded
    BOOL __stdcall InstallIconW( const unsigned short * IconPath, const unsigned short * IconId, BOOL * RebootNeeded


  • IconPath - Fully qualified (with path) name of the .ico file, which will be used as an icon.
  • IconId - Icon identifier, used for various operations with this icon.
  • RebootNeeded - On return indicates if the system needs to be restarted before the icon can be used.

Return values

TRUE / true if the function succeeded or FALSE / false if the function failed.


Use this function to install the icon (.ICO) file which will then be used in Explorer as a custom icon for the virtual disk. The icon is copied to the temporary file, which will be removed after deinstallation of the icon using UninstallIcon method.

See also


Back to top