This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
Disk Partition Types
The following table identifies the valid partition types that are used by disk drivers.
Constant/value
Description
PARTITION_ENTRY_UNUSED
0x00
An unused entry partition.
PARTITION_EXTENDED
0x05
An extended partition.
PARTITION_FAT_12
0x01
A FAT12 file system partition.
PARTITION_FAT_16
0x04
A FAT16 file system partition.
PARTITION_FAT32
0x0B
A FAT32 file system partition.
PARTITION_IFS
0x07
An IFS partition.
PARTITION_LDM
0x42
A logical disk manager (LDM) partition.
PARTITION_NTFT
0x80
An NTFT partition.
VALID_NTFT
0xC0
A valid NTFT partition.
The high bit of a partition type code indicates that a partition is part of an NTFT mirror or striped
array.
Remarks
There are several macros that can help you detect the partition type:
IsContainerPartition, IsFTPartition, and
IsRecognizedPartition. For more information, see WinIoCtl.h.