PARTINFO (Windows CE 5.0)

Send Feedback

This structure contains information about a partition.

typedef struct {DWORD cbSize;TCHAR szPartitionName[PARTITIONNAMESIZE];TCHAR szFileSys[FILESYSNAMESIZE];TCHARszVolumeName[VOLUMENAMESIZE];SECTORNUM snNumSectors;FILETIME ftCreated;FILETIME ftLastModified;DWORD dwAttributes;BYTE bPartType;} PARTINFO, *PPARTINFO;

Members

  • cbSize
    Set to sizeof(PARTINFO).

  • szPartitionName
    Name of the partition. Maximum length is 32.

  • szFileSys
    Name of the file system. Maximum length is 32.

  • szVolumeName
    Name of the volume. This is the name that the partition has when mounted. You can use the volume name to correlate the mount points with partitions and stores. Mount points are subdirectories located under "\".

  • snNumSectors
    Number of sectors in the partition.

  • ftCreated
    Creation time of the partition.

  • ftLastModified
    Last time the partition was modified.

  • dwAttributes
    Partition attributes.

    These are the possible values:.

    • 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 specified partition format can only support 256 partition types. There are fewer file systems supported than partition types because a single file system can map to multiple partition types. Also, some partition types might have not have an associated file system.

    Partition type Description
    PART_UNKNOWN Unknown partition type.
    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 Invalid or unused partition type.

Requirements

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

See Also

Storage Manager Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.