Share via


FSD_DISK_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure contains disk information.

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. The following table shows possible values.

    Value Hex value Description

    FDI_MBR

    0x00000001

    Device type has or needs a master boot record (MBR).

    FDI_CHS_UNCERTAIN

    0x00000002

    Driver-generated check-sum 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 the FSDMGR_GetDiskInfo function.

Requirements

Header fsdmgr.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

FSD Structures
FSDMGR_GetDiskInfo