Solid File System

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

SolFSStorage.SetIcon method (OS edition, Windows platform)

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Sets custom icon for the virtual disk

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    class procedure SetIcon( IconId : TSolFSString );
    type TSolFSString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[Plain C]
    long _stdcall StorageSetIcon(PSolFSChar IconId);

[C++ (Lib)]
    static void SetIcon( const wchar_t * IconId);

[C++ (VCL)]
    static void __fastcall SetIcon( TSolFSString IconId );

[C++ (.NET)]
    static void SetIcon( String* IconId);

[C#]
    static void SetIcon( String IconId)

[VB.NET]
    Shared Sub SetIcon( ByVal IconId As String) As Boolean

[Java]
    not applicable

Parameters

  • IconId - Icon identifier, used for various operations with this icon.

Description

Use this function to set custom icon to be shown for the virtual disk in Explorer. The icon must be installed using InstallIcon method before it can be used.

Call from...

This method may be called only from outside of callback / event handlers.

See also

InstallIcon     ResetIcon     UninstallIcon    

Back to top