Export (0) Print
Expand All

BcdDeviceQualifiedPartitionData class

Represents a qualified partition device element.

Syntax

class BcdDeviceQualifiedPartitionData : BcdDeviceData
{
  uint32 PartitionStyle;
  string DiskSignature;
  string PartitionIdentifier;
};

Members

The BcdDeviceQualifiedPartitionData class has these types of members:

Properties

The BcdDeviceQualifiedPartitionData class has these properties.

DiskSignature
Data type: string
Access type: Read-only

If the PartitionStyle property is a GUID partition table (GPT), the DiskSignature property is the disk signature as a GUID in string format (for example, "{7c69a706-eda5-11dd-bc09-001e4ce28b8f}"). If the PartitionStyle property is a master boot record (MBR), the DiskSignature property is the decimal MBR disk signature in string format (for example, "402653184" for 0x18000000).

PartitionIdentifier
Data type: string
Access type: Read-only

If the PartitionStyle property is GPT, the PartitionIdentifier property is the partition signature as a GUID in string format (for example, "{6efb52bf-1766-41db-a6b3-0ee5eff72bd7}" ). If the PartitionStyle property is MBR, the PartitionIdentifier property is the decimal MBR partition offset in string format (for example, "82837504" for 0x4F00000).

PartitionStyle
Data type: uint32
Access type: Read-only

The partition style. This property can be one of the following values.

ValueMeaning
GPT
1

The partition is described in a GPT.

MBR
0

The partition is described in an MBR.

 

Remarks

The BcdDeviceQualifiedPartitionData class uniquely identifies a boot partition by its partition style, disk signature, and partition identifier. An application can enumerate a qualified partition by using the GetElementWithFlags method of the BcdObject class with Flags parameter set to Qualified (1).

To set a qualified partition device, use the SetQualifiedPartitionDeviceElement method of the BcdObject class and specify a partition style, disk signature, and partition identifier.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Namespace

\\.\Root\WMI

MOF

Bcd.mof

See also

GetElementWithFlags
SetQualifiedPartitionDeviceElement

 

 

Community Additions

ADD
Show:
© 2014 Microsoft