BcdDeviceLocateData class

Represents the root class of all locate device data types and specifies the locate type of the device.

Syntax

class BcdDeviceLocateData : BcdDeviceData
{
  uint32 Type;
};

Members

The BcdDeviceLocateData class has these types of members:

Properties

The BcdDeviceLocateData class has these properties.

Type

Data type: uint32

Access type: Read-only

The locate device type. This property can be one of the following values.

Value Meaning
Element
0
This locate device type is not used.
String
1
A VPART+PPART locate device.
ElementChild
2
A VPART locate device.

Remarks

If the disk signature and partition identifier within the virtual hard disk (VHD) are omitted, it is necessary to search all VHD partitions to locate the partition that contains the boot device element (the application path for a device on which a boot application resides, or the system root for a device on which an operating system resides). This is a referred to as a VPART locate device.

If the VHD file's parent disk signature and partition identifier are also omitted, it is also necessary to search all of the physical disks to locate the VHD file. This is referred to as a VPART+PPART locate device. A locate device can be specified by calling the SetVhdDeviceElement method.

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

BcdDeviceData

BcdDeviceLocateElementChildData

BcdDeviceLocateElementData

BcdDeviceLocateStringData