// ntdddisk.h
typedef struct _SET_PARTITION_INFORMATION {
UCHAR PartitionType;
} SET_PARTITION_INFORMATION, *PSET_PARTITION_INFORMATION;
View the official Windows Driver Kit DDI reference
// winioctl.h
typedef struct _SET_PARTITION_INFORMATION {
BYTE PartitionType;
} SET_PARTITION_INFORMATION, *PSET_PARTITION_INFORMATION;
View the official Win32 API reference
No description available.
SET_PARTITION_INFORMATION is used with IOCTL_DISK_SET_PARTITION_INFO to change the partition type of a specified Master Boot Record (MBR) disk partition.
PartitionType
Indicates the partition type. IOCTL_DISK_SET_PARTITION_INFO uses this value to set the partition type. See PARTITION_INFORMATION for a list of system-defined GPT partition types.
The single byte unsigned value, PartitionType, contained in this structure defines a traditional AT Master Boot Record style of partition and cannot be used to define an Extensible Firmware Interface partition (also known as a GUID Partition Table partition). GPT partitions use a GUID to indicate the partition type.
Contains information used to set a disk partition's type.
Note SET_PARTITION_INFORMATION has been superseded by the PARTITION_INFORMATION_EX structure.
PartitionType
The type of partition. For a list of values, see Disk Partition Types.