PARTINFO
This structure contains information about a partition.
typedef struct {
DWORD cbSize;
TCHAR szPartitionName[PARTITIONNAMESIZE];
TCHAR szFileSys[FILESYSNAMESIZE];
TCHAR szVolumeName[VOLUMENAMESIZE];
SECTORNUM snFirstSector;
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 been mounted as and can be used to correlate the mount point, which are subdirectories under "\", with partitions and stores. - snFirstSector
First sector 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 possible values 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: Storemgr.h.
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.