FSD_DISK_INFO

This structure has information about a disk.

At a Glance

Header file: Fsdmgr.h
Windows CE versions: 2.10 and later

Syntax

typedef struct _FSD_DISK_INFO{
DWORD cSectors;
DWORD
cbSector;
DWORD
cCylinders;
DWORD
cHeadsPerCylinder;
DWORD
cSectorsPerTrack;
DWORD
dwFlags
} FSD_DISK_INFO, *PFDI;

Members

cSectors

Number of sectors on the disk.

cbSector

Number of bytes in the sector.

cCylinders

Number of cylinders on the disk.

cHeadsPerCylinder

Number of heads per cylinder.

cSectorsPerTrack

Number of sectors per track.

dwFlags

Bitmask of flags used to specify the diagnostics for the disk. It is one of the following:

Flag Hex value Description
FDI_MBR 0x00000001 Device type has or needs a master block record (MBR).
FDI_CHS_UNCERTAIN 0x00000002 Driver-generated checksum values are suspect.
FDI_UNFORMATTED 0x00000004 Low-level format is needed for this disk. A DISK_IOCTL_FORMAT_MEDIA message must be sent to the device driver.
FDI_PAGEABLE 0x00000008 Device can be used for demand paging.
FDI_READONLY 0x00000010 Device is read-only.
FDI_RESERVED 0xffffffe0 Reserved.

Remarks

This structure is returned by FSDMGR_GetDiskInfo.

See Also

FSDMGR_GetDiskInfo