다음을 통해 공유


PD_PARTINFO (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about a partition.

Syntax

typedef struct _PD_PARTINFO {
  DWORD cbSize;
  TCHAR szPartitionName[PARTITIONNAMESIZE];
  SECTORNUM snNumSectors;
  FILETIME ftCreated;
  FILETIME ftLastModified;
  DWORD dwAttributes;
  BYTE bPartType;
} PD_PARTINFO, *PPD_PARTINFO;

Members

  • cbSize
    Set to sizeof(PD_PARTINFO).
  • szPartitionName
    Name of the partition.
  • snNumSectors
    Number of sectors in the partition.
  • ftCreated
    Creation time of the partition.
  • ftLastModified
    Last time the partition was modified.
  • dwAttributes
    Partition attributes. The following are possible values:

    • PARTITION_ATTRIBUTE_AUTOFORMAT
    • PARTITION_ATTRIBUTE_BOOT
    • PARTITION_ATTRIBUTE_EXPENDABLE
    • PARTITION_ATTRIBUTE_MOUNTED
    • PARTITION_ATTRIBUTE_READONLY
  • bPartType
    [in] Partition type or identifier. Limited to 256. There is no one-to-one correspondence between this identifier and the types of file systems supported. The number of file systems is less that this number because multiple partition types can map to the same file system, and some partition types have no file associated system.

    Partition type Description

    PART_DOS2_FAT

    DOS partition.

    PART_DOS3_FAT

    DOS partition.

    PART_DOS4_FAT

    DOS partition.

    PART_DOS32

    DOS partition (FAT32).

    PART_DOS32X13

    Same as 0x0B, only use logical block addressing (LBA).

    PART_DOSX13

    Same as 0x06, only use LBA.

    PART_DOSX13X

    Same as 0x05, only use LBA.

    INVALID

    Partition type is invalid, or not used.

    PART_UNKNOWN

    Partition type is unknown.

Requirements

Header partdrv.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Partition Manager Structures