Поделиться через


BcdDeviceLocateElementChildData class

Represents the element to locate within the virtual hard disk (VHD) and specifies the VHD file's parent device for a VPART locate device.

Syntax

class BcdDeviceLocateElementChildData : BcdDeviceLocateData
{
  uint32        Element;
  BcdDeviceData Parent;
};

Members

The BcdDeviceLocateElementChildData class has these types of members:

Properties

The BcdDeviceLocateElementChildData class has these properties.

Element

Data type: uint32

Access type: Read-only

The element to locate within the VHD.

Parent

Data type: BcdDeviceData

Access type: Read-only

The VHD file's parent device.

Remarks

If the disk signature and partition identifier within the 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. To specify a locate device, use the SetVhdDeviceElement method.

A VHD file's parent device is always a BcdDeviceFileData element, which has either a BcdDevicePartitionData or a BcdDeviceLocateStringData element as its parent.

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

BcdDeviceLocateData

SetVhdDeviceElement