http://elm-chan.org/fsw/ff/doc/mkfs.html
Parameters path
ตัวชี้ไปยัง the null-terminated string ระบุ the logical drive ที่จะถูกฟอร์แม็ต. ถ้ามันไม่มี a drive number ในนั้น, มันหมายถึง
การระบุ the default drive. The logical drive อาจหรืออาจไม่ถูก mounted แล้วสำหรับ the format process.
opt
ระบุ the format option structure MKFS_PARM holding format options. ถ้า a null pointer ถูกให้, มันให้ the function
every option ใน default value. The structure มี five members ดังอธิบายข้างล่าง:
BYTE fmt
ระบุ combination of FAT type flags, FM_FAT, FM_FAT32, FM_EXFAT และ bitwise-or ของทั้งสามเหล่านี้,
FM_ANY. FM_EXFAT ถูกละเว้นเมื่อ exFAT ไม่ถูกเปิดใช้งาน. flags เหล่านี้ระบุว่า FAT type ไหนที่จะถูกสร้างบน the
volume. ถ้าสองประเภทขึ้นไปถูกระบุ, หนึ่งในนั้นของพวกมันจะถูกเลือกขึ้นอยู่กับ the volume size and au_size. The flag
FM_SFD ระบุเพื่อสร้าง the volume บน the drive ใน SFD format. The default value คือ FM_ANY.
DWORD au_size
ระบุขนาดของ the allocation unit (cluter) เป็นหน่วย byte. ค่าที่ใช้ได้คือกำลัง 2 ระหว่าง sector size และ 128 *
sector size ที่รวมสำหรับ FAT/FAT32 volume, หรือสูงถึง 16 MB สำหรับ exFAT volume. ถ้า a zero (default value)
หรือค่าที่ใช้ไม่ได้ใดๆถูกให้, the function จะใช้ default allocation unit size ขึ้นอยู่กับ the volume size.