Discuss this help topic in CBFS Forum

CallbackFileSystem.SectorSize property


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



Specifies the size of the "sector" of the virtual disk.


    property SectorSize : LongWord;

[C++ (Lib)]
    WORD GetSectorSize();
    void SetSectorSize(WORD Value);

[C++ (VCL)]
    unsigned long SectorSize;

[C++ (.NET)]
    UInt32 SectorSize;

    UInt32 SectorSize;

    Public Property SectorSize As UInt32

    int getSectorSize();
    void setSectorSize(int value);


Use this property to specify, how many bytes the virtual "sector" on your disk contains. Minimal size is 512 byte and the value must be multiple of 512 and a power of 2 (i.e. 512, 1024, 2048, 4096, 8192 etc bytes). It's recommended to keep SectorSize with default value, i.e. 512 (bytes).

Discuss this help topic in CBFS Forum