Discuss this help topic in CBFS Forum

CallbackFileSystem.StorageGUID property

Filter:

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

CallbackFileSystem     See also    

Overview

Specifies the GUID of the volume being created.

Declaration

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

[C#]
    Guid StorageGUID;

[VB.NET]
    Public Property StorageGUID As Guid

[Java]
    String getStorageGUID();
    void setStorageGUID(String value);

Description

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

StorageCharacteristics    

Discuss this help topic in CBFS Forum