VirtualBox

Changeset 93084 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Dec 27, 2021 4:54:07 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/fatvfs: Added RTFsFatVolFormat288.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/fatvfs.cpp

    r92915 r93084  
    62396239
    62406240/**
     6241 * Formats a 2.88MB floppy image.
     6242 *
     6243 * @returns IPRT status code.
     6244 * @param   hVfsFile            The image.
     6245 */
     6246RTDECL(int) RTFsFatVolFormat288(RTVFSFILE hVfsFile, bool fQuick)
     6247{
     6248    return RTFsFatVolFormat(hVfsFile, 0 /*offVol*/, 2949120, fQuick ? RTFSFATVOL_FMT_F_QUICK : RTFSFATVOL_FMT_F_FULL,
     6249                            512 /*cbSector*/, 2 /*cSectorsPerCluster*/, RTFSFATTYPE_FAT12, 2 /*cHeads*/,  36 /*cSectors*/,
     6250                            0xf0 /*bMedia*/, 224 /*cRootDirEntries*/, 0 /*cHiddenSectors*/, NULL /*pErrInfo*/);
     6251}
     6252
     6253
     6254/**
    62416255 * @interface_method_impl{RTVFSCHAINELEMENTREG,pfnValidate}
    62426256 */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette