1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// Secure Boot detected that rollback of protected data has been attempted.
pub const ROLLBACK_DETECTED : ErrorCode = from_constant; // ERROR_SECUREBOOT_ROLLBACK_DETECTED
/// The value is protected by Secure Boot policy and cannot be modified or deleted.
pub const POLICY_VIOLATION : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_VIOLATION
/// The Secure Boot policy is invalid.
pub const INVALID_POLICY : ErrorCode = from_constant; // ERROR_SECUREBOOT_INVALID_POLICY
/// A new Secure Boot policy did not contain the current publisher on its update list.
pub const POLICY_PUBLISHER_NOT_FOUND : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_PUBLISHER_NOT_FOUND
/// The Secure Boot policy is either not signed or is signed by a non-trusted signer.
pub const POLICY_NOT_SIGNED : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_NOT_SIGNED
/// Secure Boot is not enabled on this machine.
pub const NOT_ENABLED : ErrorCode = from_constant; // ERROR_SECUREBOOT_NOT_ENABLED
/// Secure Boot requires that certain files and drivers are not replaced by other files or drivers.
pub const FILE_REPLACED : ErrorCode = from_constant; // ERROR_SECUREBOOT_FILE_REPLACED
/// The Secure Boot Supplemental Policy file was not authorized on this machine.
pub const POLICY_NOT_AUTHORIZED : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_NOT_AUTHORIZED
/// The Supplemental Policy is not recognized on this device.
pub const POLICY_UNKNOWN : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_UNKNOWN
/// The Antirollback version was not found in the Secure Boot Policy.
pub const POLICY_MISSING_ANTIROLLBACKVERSION : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_MISSING_ANTIROLLBACKVERSION
/// The Platform ID specified in the Secure Boot policy does not match the Platform ID on this device.
pub const PLATFORM_ID_MISMATCH : ErrorCode = from_constant; // ERROR_SECUREBOOT_PLATFORM_ID_MISMATCH
/// The Secure Boot policy file has an older Antirollback Version than this device.
pub const POLICY_ROLLBACK_DETECTED : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_ROLLBACK_DETECTED
/// The Secure Boot policy file does not match the upgraded legacy policy.
pub const POLICY_UPGRADE_MISMATCH : ErrorCode = from_constant; // ERROR_SECUREBOOT_POLICY_UPGRADE_MISMATCH
/// The Secure Boot policy file is required but could not be found.
pub const REQUIRED_POLICY_FILE_MISSING : ErrorCode = from_constant; // ERROR_SECUREBOOT_REQUIRED_POLICY_FILE_MISSING
/// Supplemental Secure Boot policy file can not be loaded as a base Secure Boot policy.
pub const NOT_BASE_POLICY : ErrorCode = from_constant; // ERROR_SECUREBOOT_NOT_BASE_POLICY
/// Base Secure Boot policy file can not be loaded as a Supplemental Secure Boot policy.
pub const NOT_SUPPLEMENTAL_POLICY : ErrorCode = from_constant; // ERROR_SECUREBOOT_NOT_SUPPLEMENTAL_POLICY