winresult 0.1.3

windows result codes
Documentation
// WARNING: this file is auto-generated by xtask gen and may be overwritten

use super::*;


/// Invalid message from the Mobile Device Management (MDM) server.
pub const E_DEVICE_MESSAGE_FORMAT_ERROR : HResultError = HResultError::from_constant(0x80180001); // MENROLL_E_DEVICE_MESSAGE_FORMAT_ERROR

/// The Mobile Device Management (MDM) server failed to authenticate the user. Try again or contact your system administrator.
pub const E_DEVICE_AUTHENTICATION_ERROR : HResultError = HResultError::from_constant(0x80180002); // MENROLL_E_DEVICE_AUTHENTICATION_ERROR

/// The user is not authorized to enroll to Mobile Device Management (MDM). Try again or contact your system administrator.
pub const E_DEVICE_AUTHORIZATION_ERROR : HResultError = HResultError::from_constant(0x80180003); // MENROLL_E_DEVICE_AUTHORIZATION_ERROR

/// The user has no permission for the certificate template or the certificate authority is unreachable. Try again or contact your system administrator.
pub const E_DEVICE_CERTIFICATEREQUEST_ERROR : HResultError = HResultError::from_constant(0x80180004); // MENROLL_E_DEVICE_CERTIFICATEREQUEST_ERROR

/// The Mobile Device Management (MDM) server encountered an error. Try again or contact your system administrator.
pub const E_DEVICE_CONFIGMGRSERVER_ERROR : HResultError = HResultError::from_constant(0x80180005); // MENROLL_E_DEVICE_CONFIGMGRSERVER_ERROR

/// There was an unhandled exception on the Mobile Device Management (MDM) server. Try again or contact your system administrator.
pub const E_DEVICE_INTERNALSERVICE_ERROR : HResultError = HResultError::from_constant(0x80180006); // MENROLL_E_DEVICE_INTERNALSERVICE_ERROR

/// The Mobile Device Management (MDM) server was not able to validate your account. Try again or contact your system administrator.
pub const E_DEVICE_INVALIDSECURITY_ERROR : HResultError = HResultError::from_constant(0x80180007); // MENROLL_E_DEVICE_INVALIDSECURITY_ERROR

/// Unknown Mobile Device Management (MDM) server error. Try again or contact your system administrator.
pub const E_DEVICE_UNKNOWN_ERROR : HResultError = HResultError::from_constant(0x80180008); // MENROLL_E_DEVICE_UNKNOWN_ERROR

/// Another enrollment operation is currently in progress.
pub const E_ENROLLMENT_IN_PROGRESS : HResultError = HResultError::from_constant(0x80180009); // MENROLL_E_ENROLLMENT_IN_PROGRESS

/// The device is already enrolled.
pub const E_DEVICE_ALREADY_ENROLLED : HResultError = HResultError::from_constant(0x8018000A); // MENROLL_E_DEVICE_ALREADY_ENROLLED

/// There was a Mobile Device Management (MDM) certificate error. The security certificate date is invalid. Try again or contact your system administrator.
pub const E_DISCOVERY_SEC_CERT_DATE_INVALID : HResultError = HResultError::from_constant(0x8018000D); // MENROLL_E_DISCOVERY_SEC_CERT_DATE_INVALID

/// A password is required to authenticate your account or device, but was not supplied. Please try again.
pub const E_PASSWORD_NEEDED : HResultError = HResultError::from_constant(0x8018000E); // MENROLL_E_PASSWORD_NEEDED

/// There was a problem authenticating your account or device. Try again or contact your system administrator.
pub const E_WAB_ERROR : HResultError = HResultError::from_constant(0x8018000F); // MENROLL_E_WAB_ERROR

/// There was a network error communicating with the Mobile Device Management (MDM) server. Please try again.
pub const E_CONNECTIVITY : HResultError = HResultError::from_constant(0x80180010); // MENROLL_E_CONNECTIVITY

/// Enrollment was suspended.
pub const S_ENROLLMENT_SUSPENDED : HResultSuccess = HResultSuccess::from_constant(0x00180011); // MENROLL_S_ENROLLMENT_SUSPENDED

/// There was a Mobile Device Management (MDM) certificate error. Try again or contact your system administrator.
pub const E_INVALIDSSLCERT : HResultError = HResultError::from_constant(0x80180012); // MENROLL_E_INVALIDSSLCERT

/// The account has too many devices enrolled to Mobile Device Management (MDM). Delete or unenroll old devices to fix this error.
pub const E_DEVICECAPREACHED : HResultError = HResultError::from_constant(0x80180013); // MENROLL_E_DEVICECAPREACHED

/// The Mobile Device Management (MDM) server doesn't support this platform or version, consider upgrading your device.
pub const E_DEVICENOTSUPPORTED : HResultError = HResultError::from_constant(0x80180014); // MENROLL_E_DEVICENOTSUPPORTED

/// Mobile Device Management (MDM) is generally not supported for this device.
pub const E_NOT_SUPPORTED : HResultError = HResultError::from_constant(0x80180015); // MENROLL_E_NOT_SUPPORTED

/// The device is attempting to renew the Mobile Device Management (MDM) certificate, but the server rejected the request. Check renew schedule on the device.
pub const E_NOTELIGIBLETORENEW : HResultError = HResultError::from_constant(0x80180016); // MENROLL_E_NOTELIGIBLETORENEW

/// The Mobile Device Management (MDM) server states your account is in maintenance, try again later.
pub const E_INMAINTENANCE : HResultError = HResultError::from_constant(0x80180017); // MENROLL_E_INMAINTENANCE

/// There was an error with your Mobile Device Management (MDM) user license. Contact your system administrator.
pub const E_USER_LICENSE : HResultError = HResultError::from_constant(0x80180018); // MENROLL_E_USER_LICENSE

/// The Mobile Device Management (MDM) server rejected the enrollment data. The server may not be configured correctly.
pub const E_ENROLLMENTDATAINVALID : HResultError = HResultError::from_constant(0x80180019); // MENROLL_E_ENROLLMENTDATAINVALID

/// The server requested HTTP rather than HTTPS but it was not accepted.
pub const E_INSECUREREDIRECT : HResultError = HResultError::from_constant(0x8018001A); // MENROLL_E_INSECUREREDIRECT

/// An invalid operation was attempted, such as trying to enroll the same device twice or unenroll an unknown device.
pub const E_PLATFORM_WRONG_STATE : HResultError = HResultError::from_constant(0x8018001B); // MENROLL_E_PLATFORM_WRONG_STATE

/// The version of Windows installed on the client does not support this enrollment type.
pub const E_PLATFORM_LICENSE_ERROR : HResultError = HResultError::from_constant(0x8018001C); // MENROLL_E_PLATFORM_LICENSE_ERROR

/// An error occurred on the client.
pub const E_PLATFORM_UNKNOWN_ERROR : HResultError = HResultError::from_constant(0x8018001D); // MENROLL_E_PLATFORM_UNKNOWN_ERROR

/// Provisioning failed in the certificate store CSP.
pub const E_PROV_CSP_CERTSTORE : HResultError = HResultError::from_constant(0x8018001E); // MENROLL_E_PROV_CSP_CERTSTORE

/// Provisioning failed in a W7/DMAcc CSP.
pub const E_PROV_CSP_W7 : HResultError = HResultError::from_constant(0x8018001F); // MENROLL_E_PROV_CSP_W7

/// Provisioning failed in the DM client CSP.
pub const E_PROV_CSP_DMCLIENT : HResultError = HResultError::from_constant(0x80180020); // MENROLL_E_PROV_CSP_DMCLIENT

/// Provisioning failed in the Passport for Work CSP.
pub const E_PROV_CSP_PFW : HResultError = HResultError::from_constant(0x80180021); // MENROLL_E_PROV_CSP_PFW

/// Provisioning failed in an unspecified CSP.
pub const E_PROV_CSP_MISC : HResultError = HResultError::from_constant(0x80180022); // MENROLL_E_PROV_CSP_MISC

/// Provisioning failed, but a specific CSP is not indicated.
pub const E_PROV_UNKNOWN : HResultError = HResultError::from_constant(0x80180023); // MENROLL_E_PROV_UNKNOWN

/// When attempting to bind the public cert/private key, the public cert was not found either: when attempting to bind the public cert/private key, or when looking into provisioning payload.
pub const E_PROV_SSLCERTNOTFOUND : HResultError = HResultError::from_constant(0x80180024); // MENROLL_E_PROV_SSLCERTNOTFOUND

/// Provisioning failed in the EnterpriseAppManagement CSP.
pub const E_PROV_CSP_APPMGMT : HResultError = HResultError::from_constant(0x80180025); // MENROLL_E_PROV_CSP_APPMGMT

/// Mobile Device Management (MDM) was blocked, possibly by Group Policy or the local management agent.
pub const E_DEVICE_MANAGEMENT_BLOCKED : HResultError = HResultError::from_constant(0x80180026); // MENROLL_E_DEVICE_MANAGEMENT_BLOCKED

/// Failed to create the private key.
pub const E_CERTPOLICY_PRIVATEKEYCREATION_FAILED : HResultError = HResultError::from_constant(0x80180027); // MENROLL_E_CERTPOLICY_PRIVATEKEYCREATION_FAILED

/// Certificate Authentication was requested, but failed to find a certificate to use.
pub const E_CERTAUTH_FAILED_TO_FIND_CERT : HResultError = HResultError::from_constant(0x80180028); // MENROLL_E_CERTAUTH_FAILED_TO_FIND_CERT

/// The server responded with HTTP 200, but the message was empty.
pub const E_EMPTY_MESSAGE : HResultError = HResultError::from_constant(0x80180029); // MENROLL_E_EMPTY_MESSAGE

/// The user canceled the operation.
pub const E_USER_CANCELLED : HResultError = HResultError::from_constant(0x80180030); // MENROLL_E_USER_CANCELLED

/// Mobile Device Management (MDM) is not configured.
pub const E_MDM_NOT_CONFIGURED : HResultError = HResultError::from_constant(0x80180031); // MENROLL_E_MDM_NOT_CONFIGURED