SL_E_INVALID_LICENSE             ((HRESULT)0xC004F01FL)

//
// MessageId: SL_E_INVALID_PACKAGE
//
// MessageText:
//
// The Software Licensing Service determined that the license package is invalid.
//
#define SL_E_INVALID_PACKAGE             ((HRESULT)0xC004F020L)

//
// MessageId: SL_E_VALIDITY_TIME_EXPIRED
//
// MessageText:
//
// The Software Licensing Service reported that the validity period of the license has expired.
//
#define SL_E_VALIDITY_TIME_EXPIRED       ((HRESULT)0xC004F021L)

//
// MessageId: SL_E_LICENSE_AUTHORIZATION_FAILED
//
// MessageText:
//
// The Software Licensing Service reported that the license authorization failed.
//
#define SL_E_LICENSE_AUTHORIZATION_FAILED ((HRESULT)0xC004F022L)

//
// MessageId: SL_E_LICENSE_DECRYPTION_FAILED
//
// MessageText:
//
// The Software Licensing Service reported that the license is invalid.
//
#define SL_E_LICENSE_DECRYPTION_FAILED   ((HRESULT)0xC004F023L)

//
// MessageId: SL_E_WINDOWS_INVALID_LICENSE_STATE
//
// MessageText:
//
// The Software Licensing Service reported that the license is invalid.
//
#define SL_E_WINDOWS_INVALID_LICENSE_STATE ((HRESULT)0xC004F024L)

//
// MessageId: SL_E_LUA_ACCESSDENIED
//
// MessageText:
//
// The Software Licensing Service reported that the action requires administrator privilege.
//
#define SL_E_LUA_ACCESSDENIED            ((HRESULT)0xC004F025L)

//
// MessageId: SL_E_PROXY_KEY_NOT_FOUND
//
// MessageText:
//
// The Software Licensing Service reported that the required data is not found.
//
#define SL_E_PROXY_KEY_NOT_FOUND         ((HRESULT)0xC004F026L)

//
// MessageId: SL_E_TAMPER_DETECTED
//
// MessageText:
//
// The Software Licensing Service reported that the license is tampered.
//
#define SL_E_TAMPER_DETECTED             ((HRESULT)0xC004F027L)

//
// MessageId: SL_E_POLICY_CACHE_INVALID
//
// MessageText:
//
// The Software Licensing Service reported that the policy cache is invalid.
//
#define SL_E_POLICY_CACHE_INVALID        ((HRESULT)0xC004F028L)

//
// MessageId: SL_E_INVALID_RUNNING_MODE
//
// MessageText:
//
// The Software Licensing Service cannot be started in the current OS mode.
//
#define SL_E_INVALID_RUNNING_MODE        ((HRESULT)0xC004F029L)

//
// MessageId: SL_E_SLP_NOT_SIGNED
//
// MessageText:
//
// The Software Licensing Service reported that the license is invalid.
//
#define SL_E_SLP_NOT_SIGNED              ((HRESULT)0xC004F02AL)

//
// MessageId: SL_E_CIDIID_INVALID_DATA
//
// MessageText:
//
// The Software Licensing Service reported that the format for the offline activation data is incorrect.
//
#define SL_E_CIDIID_INVALID_DATA         ((HRESULT)0xC004F02CL)

//
// MessageId: SL_E_CIDIID_INVALID_VERSION
//
// MessageText:
//
// The Software Licensing Service determined that the version of the offline Confirmation ID (CID) is incorrect.
//
#define SL_E_CIDIID_INVALID_VERSION      ((HRESULT)0xC004F02DL)

//
// MessageId: SL_E_CIDIID_VERSION_NOT_SUPPORTED
//
// MessageText:
//
// The Software Licensing Service determined that the version of the offline Confirmation ID (CID) is not supported.
//
#define SL_E_CIDIID_VERSION_NOT_SUPPORTED ((HRESULT)0xC004F02EL)

//
// MessageId: SL_E_CIDIID_INVALID_DATA_LENGTH
//
// MessageText:
//
// The Software Licensing Service reported that the length of the offline Confirmation ID (CID) is incorrect.
//
#define SL_E_CIDIID_INVALID_DATA_LENGTH  ((HRESULT)0xC004F02FL)

//
// MessageId: SL_E_CIDIID_NOT_DEPOSITED
//
// MessageText:
//
// The Software Licensing Service determined that the Installation ID (IID) or the Confirmation ID (CID) could not been saved.
//
#define SL_E_CIDIID_NOT_DEPOSITED        ((HRESULT)0xC004F030L)

//
// MessageId: SL_E_CIDIID_MISMATCHED
//
// MessageText:
//
// The Installation ID (IID) and the Confirmation ID (CID) do not match. Please confirm the IID and reacquire a new CID if necessary.
//
#define SL_E_CIDIID_MISMATCHED           ((HRESULT)0xC004F031L)

//
// MessageId: SL_E_INVALID_BINDING_BLOB
//
// MessageText:
//
// The Software Licensing Service determined that the binding data is invalid.
//
#define SL_E_INVALID_BINDING_BLOB        ((HRESULT)0xC004F032L)

//
// MessageId: SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED
//
// MessageText:
//
// The Software Licensing Service reported that the product key is not allowed to be installed. Please see the eventlog for details.
//
#define SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED ((HRESULT)0xC004F033L)

//
// MessageId: SL_E_EUL_NOT_AVAILABLE
//
// MessageText:
//
// The Software Licensing Service reported that the license could not be found or was invalid.
//
#define SL_E_EUL_NOT_AVAILABLE           ((HRESULT)0xC004F034L)

//
// MessageId: SL_E_VL_NOT_WINDOWS_SLP
//
// MessageText:
//
// The Software Licensing Service reported that the computer could not be activated with a Volume license product key. Volume-licensed systems require upgrading from a qualifying operating system. Please contact your system administrator or use a different type of key.
//
#define SL_E_VL_NOT_WINDOWS_SLP          ((HRESULT)0xC004F035L)

//
// MessageId: SL_E_VL_NOT_ENOUGH_COUNT
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator.
//
#define SL_E_VL_NOT_ENOUGH_COUNT         ((HRESULT)0xC004F038L)

//
// MessageId: SL_E_VL_BINDING_SERVICE_NOT_ENABLED
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated.  The Key Management Service (KMS) is not enabled.
//
#define SL_E_VL_BINDING_SERVICE_NOT_ENABLED ((HRESULT)0xC004F039L)

//
// MessageId: SL_E_VL_INFO_PRODUCT_USER_RIGHT
//
// MessageText:
//
// The Software Licensing Service reported that the product was activated but the owner should verify the Product Use Rights.
//
#define SL_E_VL_INFO_PRODUCT_USER_RIGHT  ((HRESULT)0x4004F040L)

//
// MessageId: SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED
//
// MessageText:
//
// The Software Licensing Service determined that the Key Management Service (KMS) is not activated. KMS needs to be activated. Please contact system administrator.
//
#define SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED ((HRESULT)0xC004F041L)

//
// MessageId: SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH
//
// MessageText:
//
// The Software Licensing Service determined that the specified Key Management Service (KMS) cannot be used.
//
#define SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH ((HRESULT)0xC004F042L)

//
// MessageId: SL_E_PROXY_POLICY_NOT_UPDATED
//
// MessageText:
//
// The Software Licensing Service reported that the proxy policy has not been updated.
//
#define SL_E_PROXY_POLICY_NOT_UPDATED    ((HRESULT)0xC004F047L)

//
// MessageId: SL_E_CIDIID_INVALID_CHECK_DIGITS
//
// MessageText:
//
// The Software Licensing Service determined that the Installation ID (IID) or the Confirmation ID (CID) is invalid.
//
#define SL_E_CIDIID_INVALID_CHECK_DIGITS ((HRESULT)0xC004F04DL)

//
// MessageId: SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND
//
// MessageText:
//
// The Software Licensing Service reported that license management information was not found in the licenses.
//
#define SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND ((HRESULT)0xC004F04FL)

//
// MessageId: SL_E_INVALID_PRODUCT_KEY
//
// MessageText:
//
// The Software Licensing Service reported that the product key is invalid.
//
#define SL_E_INVALID_PRODUCT_KEY         ((HRESULT)0xC004F050L)

//
// MessageId: SL_E_BLOCKED_PRODUCT_KEY
//
// MessageText:
//
// The Software Licensing Service reported that the product key is blocked.
//
#define SL_E_BLOCKED_PRODUCT_KEY         ((HRESULT)0xC004F051L)

//
// MessageId: SL_E_DUPLICATE_POLICY
//
// MessageText:
//
// The Software Licensing Service reported that the licenses contain duplicated properties. 
//
#define SL_E_DUPLICATE_POLICY            ((HRESULT)0xC004F052L)

//
// MessageId: SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE
//
// MessageText:
//
// The Software Licensing Service determined that the license is invalid. The license contains an override policy that is not configured properly.
//
#define SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE ((HRESULT)0xC004F053L)

//
// MessageId: SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED
//
// MessageText:
//
// The Software Licensing Service reported that license management information has duplicated data. 
//
#define SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED ((HRESULT)0xC004F054L)

//
// MessageId: SL_E_BASE_SKU_NOT_AVAILABLE
//
// MessageText:
//
// The Software Licensing Service reported that the base SKU is not available.
//
#define SL_E_BASE_SKU_NOT_AVAILABLE      ((HRESULT)0xC004F055L)

//
// MessageId: SL_E_VL_MACHINE_NOT_BOUND
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated using the Key Management Service (KMS).
//
#define SL_E_VL_MACHINE_NOT_BOUND        ((HRESULT)0xC004F056L)

//
// MessageId: SL_E_SLP_MISSING_ACPI_SLIC
//
// MessageText:
//
// The Software Licensing Service reported that the computer BIOS is missing a required license.
//
#define SL_E_SLP_MISSING_ACPI_SLIC       ((HRESULT)0xC004F057L)

//
// MessageId: SL_E_SLP_MISSING_SLP_MARKER
//
// MessageText:
//
// The Software Licensing Service reported that the computer BIOS is missing a required license.
//
#define SL_E_SLP_MISSING_SLP_MARKER      ((HRESULT)0xC004F058L)

//
// MessageId: SL_E_SLP_BAD_FORMAT
//
// MessageText:
//
// The Software Licensing Service reported that a license in the computer BIOS is invalid.
//
#define SL_E_SLP_BAD_FORMAT              ((HRESULT)0xC004F059L)

//
// MessageId: SL_E_INVALID_PACKAGE_VERSION
//
// MessageText:
//
// The Software Licensing Service determined that the version of the license package is invalid.
//
#define SL_E_INVALID_PACKAGE_VERSION     ((HRESULT)0xC004F060L)

//
// MessageId: SL_E_PKEY_INVALID_UPGRADE
//
// MessageText:
//
// The Software Licensing Service determined that this specified product key can only be used for upgrading, not for clean installations.
//
#define SL_E_PKEY_INVALID_UPGRADE        ((HRESULT)0xC004F061L)

//
// MessageId: SL_E_ISSUANCE_LICENSE_NOT_INSTALLED
//
// MessageText:
//
// The Software Licensing Service reported that a required license could not be found.
//
#define SL_E_ISSUANCE_LICENSE_NOT_INSTALLED ((HRESULT)0xC004F062L)

//
// MessageId: SL_E_SLP_OEM_CERT_MISSING
//
// MessageText:
//
// The Software Licensing Service reported that the computer is missing a required OEM license.
//
#define SL_E_SLP_OEM_CERT_MISSING        ((HRESULT)0xC004F063L)

//
// MessageId: SL_E_NONGENUINE_GRACE_TIME_EXPIRED
//
// MessageText:
//
// The Software Licensing Service reported that the non-genuine grace period expired.
//
#define SL_E_NONGENUINE_GRACE_TIME_EXPIRED ((HRESULT)0xC004F064L)

//
// MessageId: SL_I_NONGENUINE_GRACE_PERIOD
//
// MessageText:
//
// The Software Licensing Service reported that the application is running within the valid non-genuine grace period.
//
#define SL_I_NONGENUINE_GRACE_PERIOD     ((HRESULT)0x4004F065L)

//
// MessageId: SL_E_DEPENDENT_PROPERTY_NOT_SET
//
// MessageText:
//
// The Software Licensing Service reported that the genuine information property can not be set before dependent property been set.
//
#define SL_E_DEPENDENT_PROPERTY_NOT_SET  ((HRESULT)0xC004F066L)

//
// MessageId: SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2
//
// MessageText:
//
// The Software Licensing Service reported that the non-genuine grace period expired (type 2).
//
#define SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2 ((HRESULT)0xC004F067L)

//
// MessageId: SL_I_NONGENUINE_GRACE_PERIOD_2
//
// MessageText:
//
// The Software Licensing Service reported that the application is running within the valid non-genuine grace period (type 2).
//
#define SL_I_NONGENUINE_GRACE_PERIOD_2   ((HRESULT)0x4004F068L)

//
// MessageId: SL_E_MISMATCHED_PRODUCT_SKU
//
// MessageText:
//
// The Software Licensing Service reported that the product SKU is not found.
//
#define SL_E_MISMATCHED_PRODUCT_SKU      ((HRESULT)0xC004F069L)

//
// MessageId: SL_E_OPERATION_NOT_ALLOWED
//
// MessageText:
//
// The Software Licensing Service reported that the requested operation is not allowed.
//
#define SL_E_OPERATION_NOT_ALLOWED       ((HRESULT)0xC004F06AL)

//
// MessageId: SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED
//
// MessageText:
//
// The Software Licensing Service determined that it is running in a virtual machine. The Key Management Service (KMS) is not supported in this mode.
//
#define SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED ((HRESULT)0xC004F06BL)

//
// MessageId: SL_E_VL_INVALID_TIMESTAMP
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The Key Management Service (KMS) determined that the request timestamp is invalid.
//
#define SL_E_VL_INVALID_TIMESTAMP        ((HRESULT)0xC004F06CL)

//
// MessageId: SL_E_PLUGIN_INVALID_MANIFEST
//
// MessageText:
//
// The Software Licensing Service reported that the plug-in manifest file is incorrect.
//
#define SL_E_PLUGIN_INVALID_MANIFEST     ((HRESULT)0xC004F071L)

//
// MessageId: SL_E_APPLICATION_POLICIES_MISSING
//
// MessageText:
//
// The Software Licensing Service reported that the license policies for fast query could not be found.
//
#define SL_E_APPLICATION_POLICIES_MISSING ((HRESULT)0xC004F072L)

//
// MessageId: SL_E_APPLICATION_POLICIES_NOT_LOADED
//
// MessageText:
//
// The Software Licensing Service reported that the license policies for fast query have not been loaded.
//
#define SL_E_APPLICATION_POLICIES_NOT_LOADED ((HRESULT)0xC004F073L)

//
// MessageId: SL_E_VL_BINDING_SERVICE_UNAVAILABLE
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.
//
#define SL_E_VL_BINDING_SERVICE_UNAVAILABLE ((HRESULT)0xC004F074L)

//
// MessageId: SL_E_SERVICE_STOPPING
//
// MessageText:
//
// The Software Licensing Service reported that the operation cannot be completed because the service is stopping.
//
#define SL_E_SERVICE_STOPPING            ((HRESULT)0xC004F075L)

//
// MessageId: SL_E_PLUGIN_NOT_REGISTERED
//
// MessageText:
//
// The Software Licensing Service reported that the requested plug-in cannot be found.
//
#define SL_E_PLUGIN_NOT_REGISTERED       ((HRESULT)0xC004F076L)

//
// MessageId: SL_E_AUTHN_WRONG_VERSION
//
// MessageText:
//
// The Software Licensing Service determined incompatible version of authentication data.
//
#define SL_E_AUTHN_WRONG_VERSION         ((HRESULT)0xC004F077L)

//
// MessageId: SL_E_AUTHN_MISMATCHED_KEY
//
// MessageText:
//
// The Software Licensing Service reported that the key is mismatched.
//
#define SL_E_AUTHN_MISMATCHED_KEY        ((HRESULT)0xC004F078L)

//
// MessageId: SL_E_AUTHN_CHALLENGE_NOT_SET
//
// MessageText:
//
// The Software Licensing Service reported that the authentication data is not set.
//
#define SL_E_AUTHN_CHALLENGE_NOT_SET     ((HRESULT)0xC004F079L)

//
// MessageId: SL_E_AUTHN_CANT_VERIFY
//
// MessageText:
//
// The Software Licensing Service reported that the verification could not be done.
//
#define SL_E_AUTHN_CANT_VERIFY           ((HRESULT)0xC004F07AL)

//
// MessageId: SL_E_SERVICE_RUNNING
//
// MessageText:
//
// The requested operation is unavailable while the Software Licensing Service is running.
//
#define SL_E_SERVICE_RUNNING             ((HRESULT)0xC004F07BL)

//
// MessageId: SL_E_SLP_INVALID_MARKER_VERSION
//
// MessageText:
//
// The Software Licensing Service determined that the version of the computer BIOS is invalid.
//
#define SL_E_SLP_INVALID_MARKER_VERSION  ((HRESULT)0xC004F07CL)

//
// MessageId: SL_E_INVALID_PRODUCT_KEY_TYPE
//
// MessageText:
//
// The Software Licensing Service reported that the product key cannot be used for this type of activation.
//
#define SL_E_INVALID_PRODUCT_KEY_TYPE    ((HRESULT)0xC004F07DL)

//
// MessageId: SL_E_CIDIID_MISMATCHED_PKEY
//
// MessageText:
//
// The Installation ID (IID) and the Confirmation ID (CID) do not match the product key.
//
#define SL_E_CIDIID_MISMATCHED_PKEY      ((HRESULT)0xC004F07EL)

//
// MessageId: SL_E_CIDIID_NOT_BOUND
//
// MessageText:
//
// The Installation ID (IID) and the Confirmation ID (CID) are not bound to the current environment.
//
#define SL_E_CIDIID_NOT_BOUND            ((HRESULT)0xC004F07FL)

//
// MessageId: SL_E_LICENSE_NOT_BOUND
//
// MessageText:
//
// The Software Licensing Service reported that the license is not bound to the current environment.
//
#define SL_E_LICENSE_NOT_BOUND           ((HRESULT)0xC004F080L)

//
// MessageId: SL_E_VL_AD_AO_NOT_FOUND
//
// MessageText:
//
// The Software Licensing Service reported that the Active Directory Activation Object could not be found or was invalid.
//
#define SL_E_VL_AD_AO_NOT_FOUND          ((HRESULT)0xC004F081L)

//
// MessageId: SL_E_VL_AD_AO_NAME_TOO_LONG
//
// MessageText:
//
// The Software Licensing Service reported that the name specified for the Active Directory Activation Object is too long.
//
#define SL_E_VL_AD_AO_NAME_TOO_LONG      ((HRESULT)0xC004F082L)

//
// MessageId: SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED
//
// MessageText:
//
// The Software Licensing Service reported that Active Directory-Based Activation is not supported in the current Active Directory schema.
//
#define SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED ((HRESULT)0xC004F083L)

//
// MessageId: SL_E_NOT_GENUINE
//
// MessageText:
//
// The Software Licensing Service reported that current state is not genuine.
//
#define SL_E_NOT_GENUINE                 ((HRESULT)0xC004F200L)

//
// MessageId: SL_E_EDITION_MISMATCHED
//
// MessageText:
//
// The Software Licensing Service reported that the license edition does match the computer edition.
//
#define SL_E_EDITION_MISMATCHED          ((HRESULT)0xC004F210L)

//
// 0xF300 - 0xF3FF reserved for token-based activation
//
//
// MessageId: SL_E_TKA_CHALLENGE_EXPIRED
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The token-based activation challenge has expired.
//
#define SL_E_TKA_CHALLENGE_EXPIRED       ((HRESULT)0xC004F301L)

//
// MessageId: SL_E_TKA_SILENT_ACTIVATION_FAILURE
//
// MessageText:
//
// The Software Licensing Service reported that Silent Activation failed. The Software Licensing Service reported that there are no certificates found in the system that could activate the product without user interaction.
//
#define SL_E_TKA_SILENT_ACTIVATION_FAILURE ((HRESULT)0xC004F302L)

//
// MessageId: SL_E_TKA_INVALID_CERT_CHAIN
//
// MessageText:
//
// The Software Licensing Service reported that the certificate chain could not be built or failed validation.
//
#define SL_E_TKA_INVALID_CERT_CHAIN      ((HRESULT)0xC004F303L)

//
// MessageId: SL_E_TKA_GRANT_NOT_FOUND
//
// MessageText:
//
// The Software Licensing Service reported that required license could not be found.
//
#define SL_E_TKA_GRANT_NOT_FOUND         ((HRESULT)0xC004F304L)

//
// MessageId: SL_E_TKA_CERT_NOT_FOUND
//
// MessageText:
//
// The Software Licensing Service reported that there are no certificates found in the system that could activate the product.
//
#define SL_E_TKA_CERT_NOT_FOUND          ((HRESULT)0xC004F305L)

//
// MessageId: SL_E_TKA_INVALID_SKU_ID
//
// MessageText:
//
// The Software Licensing Service reported that this software edition does not support token-based activation.
//
#define SL_E_TKA_INVALID_SKU_ID          ((HRESULT)0xC004F306L)

//
// MessageId: SL_E_TKA_INVALID_BLOB
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. Activation data is invalid.
//
#define SL_E_TKA_INVALID_BLOB            ((HRESULT)0xC004F307L)

//
// MessageId: SL_E_TKA_TAMPERED_CERT_CHAIN
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. Activation data is tampered.
//
#define SL_E_TKA_TAMPERED_CERT_CHAIN     ((HRESULT)0xC004F308L)

//
// MessageId: SL_E_TKA_CHALLENGE_MISMATCH
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. Activation challenge and response do not match.
//
#define SL_E_TKA_CHALLENGE_MISMATCH      ((HRESULT)0xC004F309L)

//
// MessageId: SL_E_TKA_INVALID_CERTIFICATE
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The certificate does not match the conditions in the license.
//
#define SL_E_TKA_INVALID_CERTIFICATE     ((HRESULT)0xC004F30AL)

//
// MessageId: SL_E_TKA_INVALID_SMARTCARD
//
// MessageText:
//
// The Software Licensing Service reported that the inserted smartcard could not be used to activate the product.
//
#define SL_E_TKA_INVALID_SMARTCARD       ((HRESULT)0xC004F30BL)

//
// MessageId: SL_E_TKA_FAILED_GRANT_PARSING
//
// MessageText:
//
// The Software Licensing Service reported that the token-based activation license content is invalid.
//
#define SL_E_TKA_FAILED_GRANT_PARSING    ((HRESULT)0xC004F30CL)

//
// MessageId: SL_E_TKA_INVALID_THUMBPRINT
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The thumbprint is invalid.
//
#define SL_E_TKA_INVALID_THUMBPRINT      ((HRESULT)0xC004F30DL)

//
// MessageId: SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The thumbprint does not match any certificate.
//
#define SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND ((HRESULT)0xC004F30EL)

//
// MessageId: SL_E_TKA_CRITERIA_MISMATCH
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The certificate does not match the criteria specified in the issuance license.
//
#define SL_E_TKA_CRITERIA_MISMATCH       ((HRESULT)0xC004F30FL)

//
// MessageId: SL_E_TKA_TPID_MISMATCH
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The certificate does not match the trust point identifier (TPID) specified in the issuance license.
//
#define SL_E_TKA_TPID_MISMATCH           ((HRESULT)0xC004F310L)

//
// MessageId: SL_E_TKA_SOFT_CERT_DISALLOWED
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. A soft token cannot be used for activation.
//
#define SL_E_TKA_SOFT_CERT_DISALLOWED    ((HRESULT)0xC004F311L)

//
// MessageId: SL_E_TKA_SOFT_CERT_INVALID
//
// MessageText:
//
// The Software Licensing Service reported that the product could not be activated. The certificate cannot be used because its private key is exportable.
//
#define SL_E_TKA_SOFT_CERT_INVALID       ((HRESULT)0xC004F312L)

//
// MessageId: SL_E_TKA_CERT_CNG_NOT_AVAILABLE
//
// MessageText:
//
// The Software Licensing Service reported that the CNG encryption library could not be loaded.  The current certificate may not be available on this version of Windows.
//
#define SL_E_TKA_CERT_CNG_NOT_AVAILABLE  ((HRESULT)0xC004F313L)

//
// 0xF400 - 0xF4FF reserved for store-based activation
//
//
// MessageId: SL_I_STORE_BASED_ACTIVATION
//
// MessageText:
//
// The Software Licensing Service reported that the application has a store license.
//
#define SL_I_STORE_BASED_ACTIVATION      ((HRESULT)0x4004F401L)

//
// Time based error codes
//
//
// MessageId: E_RM_UNKNOWN_ERROR
//
// MessageText:
//
// A networking problem has occurred while activating your copy of Windows.
//
#define E_RM_UNKNOWN_ERROR               ((HRESULT)0xC004FC03L)

//
// MessageId: SL_I_TIMEBASED_VALIDITY_PERIOD
//
// MessageText:
//
// The Software Licensing Service reported that the application is running within the timebased validity period.
//
#define SL_I_TIMEBASED_VALIDITY_PERIOD   ((HRESULT)0x4004FC04L)

//
// MessageId: SL_I_PERPETUAL_OOB_GRACE_PERIOD
//
// MessageText:
//
// The Software Licensing Service reported that the application has a perpetual grace period.
//
#define SL_I_PERPETUAL_OOB_GRACE_PERIOD  ((HRESULT)0x4004FC05L)

//
// MessageId: SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD
//
// MessageText:
//
// The Software Licensing Service reported that the application is running within the valid extended grace period.
//
#define SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD ((HRESULT)0x4004FC06L)

//
// MessageId: SL_E_VALIDITY_PERIOD_EXPIRED
//
// MessageText:
//
// The Software Licensing Service reported that the validity period expired.
//
#define SL_E_VALIDITY_PERIOD_EXPIRED     ((HRESULT)0xC004FC07L)

//
// Inherited activation
//
//
// MessageId: SL_E_IA_THROTTLE_LIMIT_EXCEEDED
//
// MessageText:
//
// You've reached the request limit for automatic virtual machine activation. Try again later.
//
#define SL_E_IA_THROTTLE_LIMIT_EXCEEDED  ((HRESULT)0xC004FD00L)

//
// MessageId: SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM
//
// MessageText:
//
// Windows isn't running on a supported Microsoft Hyper-V virtualization platform.
//
#define SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM ((HRESULT)0xC004FD01L)

//
// MessageId: SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED
//
// MessageText:
//
// Windows isn't activated on the host machine. Please contact your system administrator.
//
#define SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED ((HRESULT)0xC004FD02L)

//
// MessageId: SL_E_IA_ID_MISMATCH
//
// MessageText:
//
// The host machine can't activate the edition of Windows on the virtual machine.
//
#define SL_E_IA_ID_MISMATCH              ((HRESULT)0xC004FD03L)

//
// MessageId: SL_E_IA_MACHINE_NOT_BOUND
//
// MessageText:
//
// Windows isn't activated.
//
#define SL_E_IA_MACHINE_NOT_BOUND        ((HRESULT)0xC004FD04L)

//
// MessageId: SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION
//
// MessageText:
//
// The Software Licensing Service reported that activation is required to recover from tampering of SL Service trusted store.
//
#define SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION ((HRESULT)0xC004FE00L)

// ******************
// ******************
//
// The following errors are mappings to the SPAPI error strings for UX messaging
//
// ******************
// ******************

//////////////////////////////////////////////////////////
//SP_PUB_GENERAL_ZONE
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED
//
// MessageText:
//
// The security processor reported an initialization error.
//
#define SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED ((HRESULT)0xC004D101L)

//
// MessageId: SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED
//
// MessageText:
//
// The security processor reported that the machine time is inconsistent with the trusted time.
//
#define SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED ((HRESULT)0x8004D102L)

//
// MessageId: SL_REMAPPING_SP_STATUS_GENERIC_FAILURE
//
// MessageText:
//
// The security processor reported that an error has occurred.
//
#define SL_REMAPPING_SP_STATUS_GENERIC_FAILURE ((HRESULT)0xC004D103L)

//
// MessageId: SL_REMAPPING_SP_STATUS_INVALIDARG
//
// MessageText:
//
// The security processor reported that invalid data was used.
//
#define SL_REMAPPING_SP_STATUS_INVALIDARG ((HRESULT)0xC004D104L)

//
// MessageId: SL_REMAPPING_SP_STATUS_ALREADY_EXISTS
//
// MessageText:
//
// The security processor reported that the value already exists.
//
#define SL_REMAPPING_SP_STATUS_ALREADY_EXISTS ((HRESULT)0xC004D105L)

//
// MessageId: SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER
//
// MessageText:
//
// The security processor reported that an insufficient buffer was used.
//
#define SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER ((HRESULT)0xC004D107L)

//
// MessageId: SL_REMAPPING_SP_STATUS_INVALIDDATA
//
// MessageText:
//
// The security processor reported that invalid data was used.
//
#define SL_REMAPPING_SP_STATUS_INVALIDDATA ((HRESULT)0xC004D108L)

//
// MessageId: SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL
//
// MessageText:
//
// The security processor reported that an invalid call was made.
//
#define SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL ((HRESULT)0xC004D109L)

//
// MessageId: SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION
//
// MessageText:
//
// The security processor reported a version mismatch error.
//
#define SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION ((HRESULT)0xC004D10AL)

//
// MessageId: SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED
//
// MessageText:
//
// The security processor cannot operate while a debugger is attached.
//
#define SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED ((HRESULT)0x8004D10BL)

//
// MessageId: SL_REMAPPING_SP_STATUS_NO_MORE_DATA
//
// MessageText:
//
// No more data is available
//
#define SL_REMAPPING_SP_STATUS_NO_MORE_DATA ((HRESULT)0xC004D10CL)


//////////////////////////////////////////////////////////
//SP_PUB_CRYPTO_ZONE
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH
//
// MessageText:
//
// The length of the cryptopgraphic key material/blob is invalid
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH ((HRESULT)0xC004D201L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH
//
// MessageText:
//
// The block length is not correct for this algorithm
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH ((HRESULT)0xC004D202L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER
//
// MessageText:
//
// The Cryptopgrahic cipher/algorithm type is invalid
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER ((HRESULT)0xC004D203L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE
//
// MessageText:
//
// The specified cipher mode is invalid. For example both encrypt and decrypt cannot be specified for symmetric keys.
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE ((HRESULT)0xC004D204L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID
//
// MessageText:
//
// The SPAPIID for the specified Cryptographic Provider is unknown
//
#define SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID ((HRESULT)0xC004D205L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID
//
// MessageText:
//
// The SPAPIID for the specified Cryptographic Key (type) is unknown
//
#define SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID ((HRESULT)0xC004D206L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID
//
// MessageText:
//
// The SPAPIID for the specified Cryptographic Hash is unknown
//
#define SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID ((HRESULT)0xC004D207L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID
//
// MessageText:
//
// The SPAPIID for the specified Cryptographic Attribute is unknown
//
#define SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID ((HRESULT)0xC004D208L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED
//
// MessageText:
//
// The hash object has been finalized and can no longer be updated
//
#define SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED ((HRESULT)0xC004D209L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE
//
// MessageText:
//
// The key is not available within the current state
//
#define SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE ((HRESULT)0xC004D20AL)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND
//
// MessageText:
//
// The key does not exist. It may not have have been created yet
//
#define SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND ((HRESULT)0xC004D20BL)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED
//
// MessageText:
//
// The data length is not a multiple of the algorithm's block length
//
#define SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED ((HRESULT)0xC004D20CL)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH
//
// MessageText:
//
// The length of the signature is not valid
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH ((HRESULT)0xC004D20DL)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE
//
// MessageText:
//
// The signature does not correlate with the comparison hash
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE ((HRESULT)0xC004D20EL)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK
//
// MessageText:
//
// The RSA block is not valid
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK ((HRESULT)0xC004D20FL)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT
//
// MessageText:
//
// The format of the RSA block is not valid
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT ((HRESULT)0xC004D210L)

//
// MessageId: SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING
//
// MessageText:
//
// The CBC padding is not valid
//
#define SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING ((HRESULT)0xC004D211L)


//////////////////////////////////////////////////////////
// SP_PUB_TS_ZONE
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED
//
// MessageText:
//
// The security processor reported that the trusted data store was tampered.
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED  ((HRESULT)0xC004D301L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_REARMED
//
// MessageText:
//
// The security processor reported that the trusted data store was rearmed.
//
#define SL_REMAPPING_SP_PUB_TS_REARMED   ((HRESULT)0xC004D302L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_RECREATED
//
// MessageText:
//
// The security processor reported that the trusted store has been recreated.
//
#define SL_REMAPPING_SP_PUB_TS_RECREATED ((HRESULT)0xC004D303L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND
//
// MessageText:
//
// The security processor reported that entry key was not found in the trusted data store.
//
#define SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND ((HRESULT)0xC004D304L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS
//
// MessageText:
//
// The security processor reported that the entry key already exists in the trusted data store.
//
#define SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS ((HRESULT)0xC004D305L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG
//
// MessageText:
//
// The security processor reported that the entry key is too big to fit in the trusted data store.
//
#define SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG ((HRESULT)0xC004D306L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED
//
// MessageText:
//
// The security processor reported that the maximum allowed number of re-arms has been exceeded.  You must re-install the OS before trying to re-arm again.
//
#define SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED ((HRESULT)0xC004D307L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG
//
// MessageText:
//
// The security processor has reported that entry data size is too big to fit in the trusted data store.
//
#define SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG ((HRESULT)0xC004D308L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING
//
// MessageText:
//
// The security processor has reported that the machine has gone out of hardware tolerance.
//
#define SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING ((HRESULT)0xC004D309L)

//
// MessageId: SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS
//
// MessageText:
//
// The security processor has reported that the secure timer already exists.
//
#define SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS ((HRESULT)0xC004D30AL)

//
// MessageId: SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND
//
// MessageText:
//
// The security processor has reported that the secure timer was not found.
//
#define SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND ((HRESULT)0xC004D30BL)

//
// MessageId: SL_REMAPPING_SP_PUB_TIMER_EXPIRED
//
// MessageText:
//
// The security processor has reported that the secure timer has expired.
//
#define SL_REMAPPING_SP_PUB_TIMER_EXPIRED ((HRESULT)0xC004D30CL)

//
// MessageId: SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG
//
// MessageText:
//
// The security processor has reported that the secure timer name is too long.
//
#define SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG ((HRESULT)0xC004D30DL)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_FULL
//
// MessageText:
//
// The security processor reported that the trusted data store is full.
//
#define SL_REMAPPING_SP_PUB_TS_FULL      ((HRESULT)0xC004D30EL)

//
// MessageId: SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK
//
// MessageText:
//
// Trusted time is already up-to-date.
//
#define SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK ((HRESULT)0x4004D30FL)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY
//
// MessageText:
//
// Read-only entry cannot be modified.
//
#define SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY ((HRESULT)0xC004D310L)

//
// MessageId: SL_REMAPPING_SP_PUB_TIMER_READ_ONLY
//
// MessageText:
//
// Read-only timer cannot be modified.
//
#define SL_REMAPPING_SP_PUB_TIMER_READ_ONLY ((HRESULT)0xC004D311L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY
//
// MessageText:
//
// Read-only attribute cannot be modified.
//
#define SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY ((HRESULT)0xC004D312L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND
//
// MessageText:
//
// Attribute not found.
//
#define SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND ((HRESULT)0xC004D313L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED
//
// MessageText:
//
// Trusted Store access denied.
//
#define SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED ((HRESULT)0xC004D314L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND
//
// MessageText:
//
// Namespace not found.
//
#define SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND ((HRESULT)0xC004D315L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE
//
// MessageText:
//
// Namespace in use.
//
#define SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE ((HRESULT)0xC004D316L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID
//
// MessageText:
//
// Trusted store tampered
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID ((HRESULT)0xC004D317L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION
//
// MessageText:
//
// Trusted store tampered
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION ((HRESULT)0xC004D318L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA
//
// MessageText:
//
// Trusted store tampered
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA ((HRESULT)0xC004D319L)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA
//
// MessageText:
//
// Trusted store tampered
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA ((HRESULT)0xC004D31AL)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH
//
// MessageText:
//
// Trusted store tampered
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH ((HRESULT)0xC004D31BL)

//
// MessageId: SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH
//
// MessageText:
//
// Trusted store tampered
//
#define SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH ((HRESULT)0xC004D31CL)


//////////////////////////////////////////////////////////
// SP_PUB_MODAUTH_ZONE
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION
//
// MessageText:
//
// The security processor reported a system file mismatch error.
//
#define SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION ((HRESULT)0xC004D401L)

//
// MessageId: SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED
//
// MessageText:
//
// The security processor reported a system file mismatch error.
//
#define SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED ((HRESULT)0xC004D402L)


//////////////////////////////////////////////////////////
// SP_PUB_KM_CACHE_ZONE (Error codes)
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER
//
// MessageText:
//
// The security processor reported an error with the kernel data.
//
#define SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER ((HRESULT)0xC004D501L)

//
// MessageId: SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED
//
// MessageText:
//
// Kernel Mode Cache is tampered and the restore attempt failed
//
#define SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED ((HRESULT)0xC004D502L)


//////////////////////////////////////////////////////////
// SP_PUB_KM_CACHE_ZONE (Succes codes)
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL
//
// MessageText:
//
// Kernel Mode Cache was not changed
//
#define SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL ((HRESULT)0x4004D601L)

//
// MessageId: SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED
//
// MessageText:
//
// Reboot-requiring policies have changed
//
#define SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED ((HRESULT)0x4004D602L)


//////////////////////////////////////////////////////////
// SP_PUB_PXE_ZONE
//////////////////////////////////////////////////////////

//
// MessageId: SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT
//
// MessageText:
//
// External decryption key was already set for specified feature.
//
#define SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT ((HRESULT)0xC004D701L)

//
// MessageId: SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER
//
// MessageText:
//
// Error occured during proxy execution
//
#define SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER ((HRESULT)0xC004D702L)


//////////////////////////////////////////////////////////
//SP_PUB_API_ZONE
//////////////////////////////////////////////////////////


//
// The status below have the same LSB values as our equivilient V1 errors
// This can be used by a wrapper layer to return the V1 expected error codes 
// from a SPAPI implementation
//

//
// MessageId: SL_REMAPPING_SP_PUB_API_INVALID_LICENSE
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_INVALID_LICENSE ((HRESULT)0xC004D000L)

//
// MessageId: SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE ((HRESULT)0xC004D009L)

//
// MessageId: SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS ((HRESULT)0xC004D00CL)

//
// MessageId: SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY ((HRESULT)0xC004D012L)

//
// MessageId: SL_REMAPPING_SP_PUB_API_INVALID_HANDLE
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_INVALID_HANDLE ((HRESULT)0xC004D02CL)

//
// MessageId: SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH ((HRESULT)0xC004D055L)

//
// MessageId: SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER
//
// MessageText:
//
// Owner, write description pls
//
#define SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER ((HRESULT)0xC004D073L)

//
// MessageId: SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED
//
// MessageText:
//
// The handle was used before calling SPCommit with it.
//
#define SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED ((HRESULT)0xC004D081L)


//////////////////////////////////////////////////////////
//SL_MDOLLAR_ZONE
//////////////////////////////////////////////////////////

//
// These errors are returned by M$ server when trying to
// create an entitlement on the backend

//
// MessageId: SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE
//
// MessageText:
//
// The activation server determined the specified product key is invalid.
//
#define SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE ((HRESULT)0x803FA065L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_BINDING
//
// MessageText:
//
// The activation server determined there is a problem with the specified product key.
//
#define SL_REMAPPING_MDOLLAR_INVALID_BINDING ((HRESULT)0x803FA066L)

//
// MessageId: SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED
//
// MessageText:
//
// The activation server determined the specified product key has been blocked.
//
#define SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED ((HRESULT)0x803FA067L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY
//
// MessageText:
//
// The activation server determined the specified product key has been blocked.
//
#define SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY ((HRESULT)0x803FA068L)

//
// MessageId: SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY
//
// MessageText:
//
// The activation server determined the specified product key is invalid.
//
#define SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY ((HRESULT)0x803FA06CL)

//
// MessageId: SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED
//
// MessageText:
//
// The activation server reported that the product key has exceeded its unlock limit.
//
#define SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED ((HRESULT)0x803FA071L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID
//
// MessageText:
//
// The activation server determined the license is invalid.
//
#define SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID ((HRESULT)0x803FA073L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA
//
// MessageText:
//
// The activation server determined the license is invalid.
//
#define SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA ((HRESULT)0x803FA074L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID
//
// MessageText:
//
// The activation server determined the product key is not valid.
//
#define SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID ((HRESULT)0x803FA076L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH
//
// MessageText:
//
// The activation server determined the specified product key is invalid.
//
#define SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH ((HRESULT)0x803FA077L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT
//
// MessageText:
//
// The activation server determined the specified product key is invalid.
//
#define SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT ((HRESULT)0x803FA078L)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI
//
// MessageText:
//
// The activation server determined the license is invalid.
//
#define SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI ((HRESULT)0x803FA07AL)

//
// MessageId: SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT
//
// MessageText:
//
// The activation server experienced an error.
//
#define SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT ((HRESULT)0x803FA07DL)

//
// MessageId: SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED
//
// MessageText:
//
// The activation server reported that the Multiple Activation Key has exceeded its limit.
//
#define SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED ((HRESULT)0x803FA07FL)

//
// MessageId: SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED
//
// MessageText:
//
// The activation server reported that the Multiple Activation Key extension limit has been exceeded.
//
#define SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED ((HRESULT)0x803FA080L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OEM_SLP_COA0
//
// MessageText:
//
// The activation server reported that the specified product key cannot be used for online activation.
//
#define SL_REMAPPING_MDOLLAR_OEM_SLP_COA0 ((HRESULT)0x803FA083L)

//
// MessageId: SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION
//
// MessageText:
//
// The activation server determined that the version of the offline Confirmation ID (CID) is incorrect.
//
#define SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION ((HRESULT)0x803FA08DL)

//
// MessageId: SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA
//
// MessageText:
//
// The activation server reported that the format for the offline activation data is incorrect.
//
#define SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA ((HRESULT)0x803FA08EL)

//
// MessageId: SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH
//
// MessageText:
//
// The activation server reported that the length of the offline Confirmation ID (CID) is incorrect.
//
#define SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH ((HRESULT)0x803FA08FL)

//
// MessageId: SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS
//
// MessageText:
//
// The Software Licensing Service determined that the Installation ID (IID) or the Confirmation ID (CID) is invalid.
//
#define SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS ((HRESULT)0x803FA090L)

//
// MessageId: SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE
//
// MessageText:
//
// The activation server reported that time based activation attempted before start date.
//
#define SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE ((HRESULT)0x803FA097L)

//
// MessageId: SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE
//
// MessageText:
//
// The activation server reported that time based activation attempted after end date.
//
#define SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE ((HRESULT)0x803FA098L)

//
// MessageId: SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE
//
// MessageText:
//
// The activation server reported that new time based activation is not available.
//
#define SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE ((HRESULT)0x803FA099L)

//
// MessageId: SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED
//
// MessageText:
//
// The activation server reported that the time based product key is not configured for activation.
//
#define SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED ((HRESULT)0x803FA09AL)

//
// MessageId: SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE
//
// MessageText:
//
// The activation server reported that no business rules available to activate specified product key.
//
#define SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE ((HRESULT)0x803FA0C8L)

//
// MessageId: SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION
//
// MessageText:
//
// The activation server determined the specified product key has been blocked for this geographic location.
//
#define SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION ((HRESULT)0x803FA0CBL)

//
// MessageId: SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING
//
// MessageText:
//
// The activation server determined the license is invalid.
//
#define SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING ((HRESULT)0x803FA0D3L)

//
// MessageId: SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED
//
// MessageText:
//
// The activation server determined there is a problem with the specified product key.
//
#define SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED ((HRESULT)0x803FA0D4L)

//
// MessageId: SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED
//
// MessageText:
//
// The activation server determined that the override limit is reached.
//
#define SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED ((HRESULT)0x803FA0D5L)

//
// MessageId: SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED
//
// MessageText:
//
// The activation server determined that the override limit is reached.
//
#define SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED ((HRESULT)0x803FA0D6L)

//
// MessageId: SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED
//
// MessageText:
//
// The activation server determined that the offer no longer exists.
//
#define SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED ((HRESULT)0x803FA400L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT
//
// MessageText:
//
// Error indicating that the donor hardwareId does not own operating system entitlement.
//
#define SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT ((HRESULT)0x803FABB8L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR
//
// MessageText:
//
// Error code indicating that user not eligible for reactivation.(Generic error code)
//
#define SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR ((HRESULT)0x803FABB9L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION
//
// MessageText:
//
// Error code indicating that user not eligible for reactivation due to no association 
//
#define SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION ((HRESULT)0x803FABBAL)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN
//
// MessageText:
//
// Error code indicating that user not eligible for reactivation because user is not an admin on device
//
#define SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN ((HRESULT)0x803FABBBL)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED
//
// MessageText:
//
// Error code indicating that user not eligible for reactivation because user is is throttled. 
//
#define SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED ((HRESULT)0x803FABBCL)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED
//
// MessageText:
//
// Error code indicating that user not eligible for reactivation because license is throttled. 
//
#define SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED ((HRESULT)0x803FABBDL)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED
//
// MessageText:
//
// Error code indicating that device is not eligible for reactivation because it is throttled.
//
#define SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED ((HRESULT)0x803FABBEL)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED
//
// MessageText:
//
// Error code indicating that user not eligible for because policy does not allow it.
//
#define SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED ((HRESULT)0x803FABBFL)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED
//
// MessageText:
//
// Error code indicating that the device is not eligible for reactivation because it is blocked.
//
#define SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED ((HRESULT)0x803FABC0L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED
//
// MessageText:
//
// Error code indicating that the user is not eligible for reactivation because the user is blocked.
//
#define SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED ((HRESULT)0x803FABC1L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED
//
// MessageText:
//
// Error code indicating that the license is not eligible for transfer because the license is blocked.
//
#define SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED ((HRESULT)0x803FABC2L)

//
// MessageId: SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED
//
// MessageText:
//
// Error code indicating that the device is not eligible for transfer because the device is blocked.
//
#define SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED ((HRESULT)0x803FABC3L)

#endif//_SLERROR_
