Discuss this help topic in CBFS Forum

CallbackFileSystem.IsCBFSVolume method

Filter:

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

CallbackFileSystem    

Overview

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

Declaration

[Pascal]
    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);

[C#]
    static bool IsCBFSVolume( string VolumePath)

[VB.NET]
    Shared Function IsCBFSVolume( ByVal VolumePath As String) As Boolean

[Java]
    static boolean isCBFSVolume( String VolumePath)

Parameters

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

Description

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