EldoS
 Table of Contents >  InstallIcon function (Installer DLL)
Navigation
Web site
Support
Table Of Contents

InstallIcon function (Installer DLL)

Installer DLL     See also    

Overview

Installs the icon into the system

Declaration

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

Parameters

  • IconPath - Path to .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.

Description

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

UninstallIcon


Got questions or comments about this topic? Tell us about them.
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2011, EldoS Corporation