Discuss this help topic in CBFS Forum

CallbackFileSystem.StorageGUID property


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

CallbackFileSystem     See also    


Specifies the GUID of the volume being created.


    property StorageGUID : TCBString;
    type TCBString = {$ifdef UNICODE}UnicodeString{$else}WideString{$endif};

[C++ (Lib)]
    void SetStorageGUID(GUID* Guid);
    void SetStorageGUID(LPCWSTR Guid);

[C++ (VCL)]
    __property TCBString StorageGUID;

[C++ (.NET)]
    Guid StorageGUID;

    Guid StorageGUID;

    Public Property StorageGUID As Guid

    String getStorageGUID();
    void setStorageGUID(String value);


This property lets you specify the GUID of the storage volume. Some software uses GUIDs to identify the disk and sets and maintains certain configuration parameters for each disk identified by GUID. In this case it makes sense to maintain the same GUID when you create the disk that represents the same data structures. Note, that GUID is used only when you create the storage with StorageType set to stDiskPnP and when the storage has AutoCreateDriveLetter set in StorageCharacteristics property.

GUID as text is specified in common GUID format, eg. {676D0357-A23A-49c3-B433-65AAD72DD282}

See also


Discuss this help topic in CBFS Forum