Platform SDK: Win32 API

SetDPB_SetDPBFrmBPB (FAT32)

Rebuilds the file system drive DPB from a passed-in BPB.

This sub-function is called when the SetDPB_Function member of the SDPDFormatStruc structure is set to 1.

Remarks

On input, the SetDPB_Value2 member in SDPDFormatStruc must be a DWORD pointer to the BPB.

The PB to which SetDPB_Value2 points can be in FAT12, FAT16 or FAT32 format.

The drive parameters are often held in the device driver for the drive as well. As a result, it is recommended to accompany this call with a call to Int 21h Function 440Dh Minor Code 40h.

The assembler calling sequence for all Int 21h 7304h sub-functions is almost identical. See the main listing for a sample. (Int 21h Function 7304h Set_DPBForFormat)