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


BcdLibraryElementTypes enumeration

Specifies the library element types. Library elements are available to all objects.

Syntax

typedef enum BcdLibraryElementTypes { 
  BcdLibraryDevice_ApplicationDevice                  = 0x11000001,
  BcdLibraryString_ApplicationPath                    = 0x12000002,
  BcdLibraryString_Description                        = 0x12000004,
  BcdLibraryString_PreferredLocale                    = 0x12000005,
  BcdLibraryObjectList_InheritedObjects               = 0x14000006,
  BcdLibraryInteger_TruncatePhysicalMemory            = 0x15000007,
  BcdLibraryObjectList_RecoverySequence               = 0x14000008,
  BcdLibraryBoolean_AutoRecoveryEnabled               = 0x16000009,
  BcdLibraryIntegerList_BadMemoryList                 = 0x1700000a,
  BcdLibraryBoolean_AllowBadMemoryAccess              = 0x1600000b,
  BcdLibraryInteger_FirstMegabytePolicy               = 0x1500000c,
  BcdLibraryInteger_RelocatePhysicalMemory            = 0x1500000D,
  BcdLibraryInteger_AvoidLowPhysicalMemory            = 0x1500000E,
  BcdLibraryBoolean_DebuggerEnabled                   = 0x16000010,
  BcdLibraryInteger_DebuggerType                      = 0x15000011,
  BcdLibraryInteger_SerialDebuggerPortAddress         = 0x15000012,
  BcdLibraryInteger_SerialDebuggerPort                = 0x15000013,
  BcdLibraryInteger_SerialDebuggerBaudRate            = 0x15000014,
  BcdLibraryInteger_1394DebuggerChannel               = 0x15000015,
  BcdLibraryString_UsbDebuggerTargetName              = 0x12000016,
  BcdLibraryBoolean_DebuggerIgnoreUsermodeExceptions  = 0x16000017,
  BcdLibraryInteger_DebuggerStartPolicy               = 0x15000018,
  BcdLibraryString_DebuggerBusParameters              = 0x12000019,
  BcdLibraryInteger_DebuggerNetHostIP                 = 0x1500001A,
  BcdLibraryInteger_DebuggerNetPort                   = 0x1500001B,
  BcdLibraryBoolean_DebuggerNetDhcp                   = 0x1600001C,
  BcdLibraryString_DebuggerNetKey                     = 0x1200001D,
  BcdLibraryBoolean_EmsEnabled                        = 0x16000020,
  BcdLibraryInteger_EmsPort                           = 0x15000022,
  BcdLibraryInteger_EmsBaudRate                       = 0x15000023,
  BcdLibraryString_LoadOptionsString                  = 0x12000030,
  BcdLibraryBoolean_DisplayAdvancedOptions            = 0x16000040,
  BcdLibraryBoolean_DisplayOptionsEdit                = 0x16000041,
  BcdLibraryDevice_BsdLogDevice                       = 0x11000043,
  BcdLibraryString_BsdLogPath                         = 0x12000044,
  BcdLibraryBoolean_GraphicsModeDisabled              = 0x16000046,
  BcdLibraryInteger_ConfigAccessPolicy                = 0x15000047,
  BcdLibraryBoolean_DisableIntegrityChecks            = 0x16000048,
  BcdLibraryBoolean_AllowPrereleaseSignatures         = 0x16000049,
  BcdLibraryString_FontPath                           = 0x1200004A,
  BcdLibraryInteger_SiPolicy                          = 0x1500004B,
  BcdLibraryInteger_FveBandId                         = 0x1500004C,
  BcdLibraryBoolean_ConsoleExtendedInput              = 0x16000050,
  BcdLibraryInteger_GraphicsResolution                = 0x15000052,
  BcdLibraryBoolean_RestartOnFailure                  = 0x16000053,
  BcdLibraryBoolean_GraphicsForceHighestMode          = 0x16000054,
  BcdLibraryBoolean_IsolatedExecutionContext          = 0x16000060,
  BcdLibraryBoolean_BootUxDisable                     = 0x1600006C,
  BcdLibraryBoolean_BootShutdownDisabled              = 0x16000074,
  BcdLibraryIntegerList_AllowedInMemorySettings       = 0x17000077,
  BcdLibraryBoolean_ForceFipsCrypto                   = 0x16000079
} BcdLibraryElementTypes;

Constants

BcdLibraryDevice_ApplicationDevice

Device on which a boot environment application resides. The element data format is BcdDeviceElement.

BcdLibraryString_ApplicationPath

Path to a boot environment application. The element data format is BcdStringElement.

BcdLibraryString_Description

Display name of the boot environment application. The element data format is BcdStringElement.

BcdLibraryString_PreferredLocale

Preferred locale, in RFC 3066 format. The element data format is BcdStringElement.

BcdLibraryObjectList_InheritedObjects

List of BCD objects from which the current object should inherit elements. The element data format is BcdObjectListElement.

BcdLibraryInteger_TruncatePhysicalMemory

Maximum physical address a boot environment application should recognize. All memory above this address is ignored. The element data format is BcdIntegerElement.

BcdLibraryObjectList_RecoverySequence

List of boot environment applications to be executed if the associated application fails. The applications are executed in the order they appear in this list. The element data format is BcdObjectListElement.

BcdLibraryBoolean_AutoRecoveryEnabled

Indicates whether the recovery sequence executes automatically if the boot application fails. Otherwise, the recovery sequence only runs on demand. The element data format is BcdBooleanElement.

BcdLibraryIntegerList_BadMemoryList

List of page frame numbers describing faulty memory in the system. The element data format is BcdIntegerListElement.

BcdLibraryBoolean_AllowBadMemoryAccess

If TRUE, indicates that a boot application can use memory listed in the BcdLibraryIntegerList_BadMemoryList. The element data format is BcdBooleanElement.

BcdLibraryInteger_FirstMegabytePolicy

Indicates how the first megabyte of memory is to be used. The element data format is BcdIntegerElement. The following are the possible values.

Term Description
FirstMegabytePolicyUseNone (0)
Use none of the first megabyte of memory.
FirstMegabytePolicyUseAll (1)
Use all of the first megabyte of memory.
FirstMegabytePolicyUsePrivate (2)
Reserved for future use.

BcdLibraryInteger_RelocatePhysicalMemory

Relocates physical memory on certain AMD processors. The element data format is BcdIntegerElement.

Note

This value is not used in Windows 8 or Windows Server 2012.

BcdLibraryInteger_AvoidLowPhysicalMemory

Specifies a minimum physical address to use in the boot environment. The element data format is BcdIntegerElement.

BcdLibraryBoolean_DebuggerEnabled

Indicates whether the boot debugger should be enabled. The element data format is BcdBooleanElement.

BcdLibraryInteger_DebuggerType

Debugger type. The element data format is BcdIntegerElement and the Integer property is one of the values from the BcdLibrary_DebuggerType enumeration.

BcdLibraryInteger_SerialDebuggerPortAddress

I/O port address for the serial debugger. The element data format is BcdIntegerElement.

BcdLibraryInteger_SerialDebuggerPort

Serial port number for serial debugging. The element data format is BcdIntegerElement.

If this value is not specified, the default is specified by the DBGP ACPI table settings.

BcdLibraryInteger_SerialDebuggerBaudRate

Baud rate for serial debugging. The element data format is BcdIntegerElement.

If this value is not specified, the default is specified by the DBGP ACPI table settings.

BcdLibraryInteger_1394DebuggerChannel

Channel number for 1394 debugging. The element data format is BcdIntegerElement.

BcdLibraryString_UsbDebuggerTargetName

The target name for the USB debugger. The target name is arbitrary but must match between the debugger and the debug target. The element data format is BcdStringElement.

BcdLibraryBoolean_DebuggerIgnoreUsermodeExceptions

If TRUE, the debugger will ignore user mode exceptions and only stop for kernel mode exceptions. The element data format is BcdBooleanElement.

BcdLibraryInteger_DebuggerStartPolicy

Indicates the debugger start policy. The element data format is BcdIntegerElement. The following are the possible values.

Term Description
DebuggerStartActive (0)
The debugger will start active.
DebuggerStartAutoEnable (1)
The debugger will start in the auto-enabled state. If a debugger is attached it will be used; otherwise the debugger port will be available for other applications.
DebuggerStartDisable (2)
The debugger will not start.

BcdLibraryString_DebuggerBusParameters

Defines the PCI bus, device, and function numbers of the debugging device. For example, 1.5.0 describes the debugging device on bus 1, device 5, function 0. The element data format is BcdStringElement.

BcdLibraryInteger_DebuggerNetHostIP

Defines the host IP address for the network debugger. The element data format is BcdIntegerElement.

BcdLibraryInteger_DebuggerNetPort

Defines the network port for the network debugger. The element data format is BcdIntegerElement.

BcdLibraryBoolean_DebuggerNetDhcp

Controls the use of DHCP by the network debugger. Setting this to false causes the OS to only use link-local addresses. The element data format is BcdBooleanElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryString_DebuggerNetKey

Holds the key used to encrypt the network debug connection. The element data format is BcdStringElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryBoolean_EmsEnabled

Indicates whether EMS redirection should be enabled. The element data format is BcdBooleanElement.

BcdLibraryInteger_EmsPort

COM port number for EMS redirection. The element data format is BcdIntegerElement.

If this value is not specified, the default is specified by the SPCR ACPI table settings.

BcdLibraryInteger_EmsBaudRate

Baud rate for EMS redirection. The element data format is BcdIntegerElement.

BcdLibraryString_LoadOptionsString

String that is appended to the load options string passed to the kernel to be consumed by kernel-mode components. This is useful for communicating with kernel-mode components that are not BCD-aware. The element data format is BcdStringElement.

BcdLibraryBoolean_DisplayAdvancedOptions

Indicates whether the advanced options boot menu (F8) is displayed. The element data format is BcdBooleanElement.

BcdLibraryBoolean_DisplayOptionsEdit

Indicates whether the boot options editor is enabled. The element data format is BcdBooleanElement.

BcdLibraryDevice_BsdLogDevice

Allows a device override for the bootstat.dat log in the boot manager and winload.exe. The element data format is BcdDeviceElement.

BcdLibraryString_BsdLogPath

Allows a path override for the bootstat.dat log file in the boot manager and winload.exe. The element data format is BcdStringElement.

BcdLibraryBoolean_GraphicsModeDisabled

Indicates whether graphics mode is disabled and boot applications must use text mode display. The element data format is BcdBooleanElement.

BcdLibraryInteger_ConfigAccessPolicy

Indicates the access policy for PCI configuration space. The element data format is BcdIntegerElement. The following are the possible values.

Term Description
ConfigAccessPolicyDefault (0)
Access to PCI configuration space through the memory-mapped region is allowed.
ConfigAccessPolicyDisallowMmConfig (1)
Access to PCI configuration space through the memory-mapped region is not allowed. This setting is used for platforms that implement memory-mapped configuration space incorrectly. The CFC/CF8 access mechanism can be used to access configuration space on these platforms.

BcdLibraryBoolean_DisableIntegrityChecks

Disables integrity checks. Cannot be set when secure boot is enabled. The element data format is BcdBooleanElement.

Note

This value is ignored by Windows 7 and Windows 8.

BcdLibraryBoolean_AllowPrereleaseSignatures

Indicates whether the test code signing certificate is supported. The element data format is BcdBooleanElement.

BcdLibraryString_FontPath

Overrides the default location of the boot fonts. The element data format is BcdStringElement.

Note

Use caution when modifying this setting. Boot screens will not work if the correct fonts are not present.

BcdLibraryInteger_SiPolicy

The element data format is BcdIntegerElement.

BcdLibraryInteger_FveBandId

This value (if present) should not be modified. The element data format is BcdIntegerElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryBoolean_ConsoleExtendedInput

Specifies that legacy BIOS systems should use INT 16h Function 10h for console input instead of INT 16h Function 0h. The element data format is BcdBooleanElement.

Note This value only applies to Windows Vista and Windows 7.

BcdLibraryInteger_GraphicsResolution

Forces a specific graphics resolution at boot. Possible values include GraphicsResolution1024x768 (0), GraphicsResolution800x600 (1), and GraphicsResolution1024x600 (2). The element data format is BcdIntegerElement.

BcdLibraryBoolean_RestartOnFailure

If enabled, specifies that boot error screens are not shown when OS launch errors occur, and the system is reset rather than exiting directly back to the firmware. The element data format is BcdBooleanElement.

BcdLibraryBoolean_GraphicsForceHighestMode

Forces highest available graphics resolution at boot. This value can only be used on UEFI systems. The element data format is BcdBooleanElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryBoolean_IsolatedExecutionContext

This setting is used to differentiate between the Windows 7 and Windows 8 implementations of UEFI. The element data format is BcdBooleanElement.

Do not modify this setting. If this setting is removed from a Windows 8 installation, it will not boot. If this setting is added to a Windows 7 installation, it will not boot.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryBoolean_BootUxDisable

This setting disables the progress bar and default Windows logo. If a custom text string has been defined, it is also disabled by this setting. The element data format is BcdBooleanElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryBoolean_BootShutdownDisabled

Disables the 1-minute timer that triggers shutdown on boot error screens, and the F8 menu, on UEFI systems. The element data format is BcdBooleanElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryIntegerList_AllowedInMemorySettings

Indicates whether or not an in-memory BCD setting passed between boot apps will trigger BitLocker recovery. This value should not be modified as it could trigger a BitLocker recovery action. The element data format is BcdIntegerElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

BcdLibraryBoolean_ForceFipsCrypto

Force the use of FIPS cryptography checks on boot applications. The element data format is BcdBooleanElement.

Note This value is supported starting in Windows 8 and Windows Server 2012.

Requirements

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

See also

BCD WMI Provider Enumerations

BcdBooleanElement

BcdIntegerElement

BcdObjectListElement

BcdStringElement

GetElement

BcdElementType