Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Describes the geometry of disk devices and media.
typedef struct _DISK_GEOMETRY {
LARGE_INTEGER Cylinders;
MEDIA_TYPE MediaType;
DWORD TracksPerCylinder;
DWORD SectorsPerTrack;
DWORD BytesPerSector;
} DISK_GEOMETRY, *PDISK_GEOMETRY;
Cylinders
The number of cylinders. See LARGE_INTEGER.
MediaType
The type of media. For a list of values, see MEDIA_TYPE.
TracksPerCylinder
The number of tracks per cylinder.
SectorsPerTrack
The number of sectors per track.
BytesPerSector
The number of bytes per sector.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | winioctl.h (include Windows.h) |
IOCTL_DISK_GET_DRIVE_GEOMETRY, IOCTL_STORAGE_GET_MEDIA_TYPES, MEDIA_TYPE
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today