SetDPB_SetDPBFrmBPB (FAT32)

[Windows 95 only.]

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

This sub-function is called when the SetDPB_Function field of the SDPDFormatStruc (FAT32) structure is set to 1.

Remarks

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

The PB that the SetDPB_Value2 points to 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 (FAT32).

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 (FAT32))