Compartir a través de


BcdElementType structure

Describes the layout of the BCD element types.

Syntax

typedef struct {
  union {
    ULONG  PackedValue;
    struct {
      ULONG SubType  :24;
      ULONG Format  :4;
      ULONG Class  :4;
    };
  };
} BcdElementType;

Members

PackedValue

SubType

Class-specific subtype for the data. The valid values differ based on class.

Format

Describes the data format for elements of this type.

Value Meaning
Device
0x1
A boot environment device, represented as a GUID in string format. For example "{500ec897-0b25-449a-8ecd-8d81628baa9c}".
String
0x2
A NULL-terminated Unicode string.
Object
0x3
A GUID in string format.
ObjectList
0x4
An array of GUIDs.
Integer
0x5
A 64-bit integer.
Boolean
0x6
A boolean.
IntegerList
0x7
An array of 64-bit integers.

Class

Describes the consumer of the element type.

Value Meaning
Library
0x1
Element types that span both applications and devices. Elements of this class can only contain other Library class BCD elements.
Application
0x2
Element types specific to a boot applications.
Device
0x3
Element types specific to a boot device.
OEM
0x5
Element types specific to an Original Equipment Manufacturer (OEM).

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

BcdBootMgrElementTypes

BcdDeviceObjectElementTypes

BcdLibraryElementTypes

BcdMemDiagElementTypes

BcdOSLoaderElementTypes