// wdm.h
typedef struct _CM_FLOPPY_DEVICE_DATA {
USHORT Version;
USHORT Revision;
CHAR Size[8];
ULONG MaxDensity;
ULONG MountDensity;
UCHAR StepRateHeadUnloadTime;
UCHAR HeadLoadTime;
UCHAR MotorOffTime;
UCHAR SectorLengthCode;
UCHAR SectorPerTrack;
UCHAR ReadWriteGapLength;
UCHAR DataTransferLength;
UCHAR FormatGapLength;
UCHAR FormatFillCharacter;
UCHAR HeadSettleTime;
UCHAR MotorSettleTime;
UCHAR MaximumTrackValue;
UCHAR DataTransferRate;
} CM_FLOPPY_DEVICE_DATA, *PCM_FLOPPY_DEVICE_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
The CM_FLOPPY_DEVICE_DATA structure defines a device-type-specific data record that is stored in the \Registry\Machine\Hardware\Description tree for a floppy controller if the system can collect this information during the boot process.
VersionThe version number of this structure.
RevisionThe revision of this structure.
SizeThe floppy disk density size.
MaxDensityThe maximum density.
MountDensityThe mount density.
StepRateHeadUnloadTimeThe step rate head unload time in milliseconds.
HeadLoadTimeThe head load time in milliseconds.
MotorOffTimeThe motor off time in seconds.
SectorLengthCodeIndicates the sector size as an exponent in the formula ((2*code*) * 128).
SectorPerTrackThe number of sectors per track.
ReadWriteGapLengthThe read/write gap length, in bytes.
DataTransferLengthThe data transfer length, in bytes, not including the synchronization field.
FormatGapLengthThe format gap length, in bytes.
FormatFillCharacterThe format fill character.
HeadSettleTimeThe head settle time in milliseconds.
MotorSettleTimeThe motor settle time in milliseconds.
MaximumTrackValueThe maximum track number on the media. Track numbers are zero-based values.
DataTransferRateThe value written to the Datarate register before accessing the media.
CM_PARTIAL_RESOURCE_DESCRIPTOR