Partager via


PD_PARTINFO (Windows CE 5.0)

Send Feedback

This structure contains information about a partition.

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
    The name of the partition.
  • snNumSectors
    The number of sectors in the partition.
  • ftCreated
    The creation time of the partition.
  • ftLastModified
    The last time the partition was modified.
  • dwAttributes
    Partition attributes. They are shown in the following list:
    • PARTITION_ATTRIBUTE_EXPENDABLE
    • PARTITION_ATTRIBUTE_READONLY
    • PARTITION_ATTRIBUTE_BOOT
    • PARTITION_ATTRIBUTE_AUTOFORMAT
    • PARTITION_ATTRIBUTE_MOUNTED
  • bPartType
    [in] The partition type or identifier. The byte limitation indicates that a given partition format can only support 256 different partition types. There is not one to one correspondence between this identifier and the types of file systems supported. In actuality the number of file systems is less because multiple partition types might map to the same file system, and some partition types might have no file system associated with them but indicate something specific.
    Partition type Description
    PART_UNKNOWN Partition type is unknown.
    PART_DOS2_FAT Legitimate DOS partition.
    PART_DOS3_FAT Legitimate DOS partition.
    PART_DOS4_FAT Legitimate DOS partition.
    PART_DOS32 Legitimate DOS partition (FAT32).
    PART_DOS32X13 Same as 0x0B only "use 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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Partdrv.h.

See Also

Partition Manager OS Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.