SolFSStorage.InstallIcon method (OS edition, Windows platform)
Filter:Pascal Plain C C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NET
OPERATING SYSTEM EDITION FOR WINDOWS
Installs the ICO file for use as a custom icon for virtual disk
long _stdcall StorageInstallIcon(PSolFSChar IconPath, PSolFSWideChar CabFileName, PSolFSWideChar PathToInstall, SolFSBool SupportPnP, SolFSLongWord ModulesToInstall, SolFSBool *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.
Use this function to install the icon (.ICO) file which will then be used in Explorer as a custom icon for the virtual disk. Be sure to call Initialize method before calling InstallIcon.
This method may be called only from outside of callback / event handlers.