大网数据广告活动
磁盘与文件系统

Disk Partition Types (WinIoCtl.h)

· 52CE 我爱测

Valid partition types used by disk drivers.

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.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header WinIoCtl.h (include Windows.h)

See also

PARTITION_INFORMATION_EX

PARTITION_INFORMATION_MBR

SET_PARTITION_INFORMATION

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。