Create and manage virtual disk drives from your Windows applications

CBDisk.SectorSize property


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

CBDisk     See also    


Specifies the number of bytes in the sector of the virtual disk.


    property SectorSize : LongWord;

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

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

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

    UInt32 SectorSize;

    Public Property SectorSize As UInt32


Use this property to set or query the size of the sector in the media. SectorSize is 512 (bytes) by default, but you can change it to be 1024, 2048 etc. bytes if needed. CD media uses sector size of 2048 bytes.

See also

SectorsPerTrack     TracksPerCylinder    

Back to top