Discuss this help topic in CBFS Forum

CallbackFileSystem.IsCBFSVolume method


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 



Checks if the specified drive name references a CBFS-powered virtual disk.


    class function IsCBFSVolume( VolumePath : TCBString) : boolean;
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[C++ (Lib)]
    static bool IsCBFSVolume( const wchar_t * VolumePath);

[C++ (VCL)]
    static bool __fastcall IsCBFSVolume( TCBString VolumePath);

[C++ (.NET)]
    static bool IsCBFSVolume( String* VolumePath);

    static bool IsCBFSVolume( string VolumePath)

    Shared Function IsCBFSVolume( ByVal VolumePath As String) As Boolean

    static boolean isCBFSVolume( String VolumePath)


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


Use this function to check if specific volume path (in the form of "X:" where X is the drive letter) is a virtual disk created with CBFS. This function is useful to avoid recursive calls to CBFS which will cause a deadlock.

Discuss this help topic in CBFS Forum