winresult 0.1.3

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

use super::*;


/// The DHCP client has obtained an IP address that is already in use on the network. The local interface will be disabled until the DHCP client can obtain a new address.
pub const ADDRESS_CONFLICT : ErrorCode = ErrorCode::from_constant(4100); // ERROR_DHCP_ADDRESS_CONFLICT

pub const REGISTRY_INIT_FAILED : ErrorCode = ErrorCode::from_constant(20000); // ERROR_DHCP_REGISTRY_INIT_FAILED
pub const DATABASE_INIT_FAILED : ErrorCode = ErrorCode::from_constant(20001); // ERROR_DHCP_DATABASE_INIT_FAILED
pub const RPC_INIT_FAILED : ErrorCode = ErrorCode::from_constant(20002); // ERROR_DHCP_RPC_INIT_FAILED
pub const NETWORK_INIT_FAILED : ErrorCode = ErrorCode::from_constant(20003); // ERROR_DHCP_NETWORK_INIT_FAILED
pub const SUBNET_EXITS : ErrorCode = ErrorCode::from_constant(20004); // ERROR_DHCP_SUBNET_EXITS
pub const SUBNET_NOT_PRESENT : ErrorCode = ErrorCode::from_constant(20005); // ERROR_DHCP_SUBNET_NOT_PRESENT
pub const PRIMARY_NOT_FOUND : ErrorCode = ErrorCode::from_constant(20006); // ERROR_DHCP_PRIMARY_NOT_FOUND
pub const ELEMENT_CANT_REMOVE : ErrorCode = ErrorCode::from_constant(20007); // ERROR_DHCP_ELEMENT_CANT_REMOVE
pub const OPTION_EXITS : ErrorCode = ErrorCode::from_constant(20009); // ERROR_DHCP_OPTION_EXITS
pub const OPTION_NOT_PRESENT : ErrorCode = ErrorCode::from_constant(20010); // ERROR_DHCP_OPTION_NOT_PRESENT
pub const ADDRESS_NOT_AVAILABLE : ErrorCode = ErrorCode::from_constant(20011); // ERROR_DHCP_ADDRESS_NOT_AVAILABLE
pub const RANGE_FULL : ErrorCode = ErrorCode::from_constant(20012); // ERROR_DHCP_RANGE_FULL
pub const JET_ERROR : ErrorCode = ErrorCode::from_constant(20013); // ERROR_DHCP_JET_ERROR
pub const CLIENT_EXISTS : ErrorCode = ErrorCode::from_constant(20014); // ERROR_DHCP_CLIENT_EXISTS
pub const INVALID_DHCP_MESSAGE : ErrorCode = ErrorCode::from_constant(20015); // ERROR_DHCP_INVALID_DHCP_MESSAGE
pub const INVALID_DHCP_CLIENT : ErrorCode = ErrorCode::from_constant(20016); // ERROR_DHCP_INVALID_DHCP_CLIENT
pub const SERVICE_PAUSED : ErrorCode = ErrorCode::from_constant(20017); // ERROR_DHCP_SERVICE_PAUSED
pub const NOT_RESERVED_CLIENT : ErrorCode = ErrorCode::from_constant(20018); // ERROR_DHCP_NOT_RESERVED_CLIENT
pub const RESERVED_CLIENT : ErrorCode = ErrorCode::from_constant(20019); // ERROR_DHCP_RESERVED_CLIENT
pub const RANGE_TOO_SMALL : ErrorCode = ErrorCode::from_constant(20020); // ERROR_DHCP_RANGE_TOO_SMALL
pub const IPRANGE_EXITS : ErrorCode = ErrorCode::from_constant(20021); // ERROR_DHCP_IPRANGE_EXITS
pub const RESERVEDIP_EXITS : ErrorCode = ErrorCode::from_constant(20022); // ERROR_DHCP_RESERVEDIP_EXITS
pub const INVALID_RANGE : ErrorCode = ErrorCode::from_constant(20023); // ERROR_DHCP_INVALID_RANGE
pub const RANGE_EXTENDED : ErrorCode = ErrorCode::from_constant(20024); // ERROR_DHCP_RANGE_EXTENDED
pub const JET_CONV_REQUIRED : ErrorCode = ErrorCode::from_constant(20027); // ERROR_DHCP_JET_CONV_REQUIRED
pub const SUPER_SCOPE_NAME_TOO_LONG : ErrorCode = ErrorCode::from_constant(20030); // ERROR_DHCP_SUPER_SCOPE_NAME_TOO_LONG
pub const IP_ADDRESS_IN_USE : ErrorCode = ErrorCode::from_constant(20032); // ERROR_DHCP_IP_ADDRESS_IN_USE
pub const LOG_FILE_PATH_TOO_LONG : ErrorCode = ErrorCode::from_constant(20033); // ERROR_DHCP_LOG_FILE_PATH_TOO_LONG
pub const UNSUPPORTED_CLIENT : ErrorCode = ErrorCode::from_constant(20034); // ERROR_DHCP_UNSUPPORTED_CLIENT
pub const JET97_CONV_REQUIRED : ErrorCode = ErrorCode::from_constant(20036); // ERROR_DHCP_JET97_CONV_REQUIRED
pub const ROGUE_INIT_FAILED : ErrorCode = ErrorCode::from_constant(20037); // ERROR_DHCP_ROGUE_INIT_FAILED
pub const ROGUE_SAMSHUTDOWN : ErrorCode = ErrorCode::from_constant(20038); // ERROR_DHCP_ROGUE_SAMSHUTDOWN
pub const ROGUE_NOT_AUTHORIZED : ErrorCode = ErrorCode::from_constant(20039); // ERROR_DHCP_ROGUE_NOT_AUTHORIZED
pub const ROGUE_DS_UNREACHABLE : ErrorCode = ErrorCode::from_constant(20040); // ERROR_DHCP_ROGUE_DS_UNREACHABLE
pub const ROGUE_DS_CONFLICT : ErrorCode = ErrorCode::from_constant(20041); // ERROR_DHCP_ROGUE_DS_CONFLICT
pub const ROGUE_NOT_OUR_ENTERPRISE : ErrorCode = ErrorCode::from_constant(20042); // ERROR_DHCP_ROGUE_NOT_OUR_ENTERPRISE
pub const ROGUE_STANDALONE_IN_DS : ErrorCode = ErrorCode::from_constant(20043); // ERROR_DHCP_ROGUE_STANDALONE_IN_DS
pub const CLASS_NOT_FOUND : ErrorCode = ErrorCode::from_constant(20044); // ERROR_DHCP_CLASS_NOT_FOUND
pub const CLASS_ALREADY_EXISTS : ErrorCode = ErrorCode::from_constant(20045); // ERROR_DHCP_CLASS_ALREADY_EXISTS
pub const SCOPE_NAME_TOO_LONG : ErrorCode = ErrorCode::from_constant(20046); // ERROR_DHCP_SCOPE_NAME_TOO_LONG
pub const DEFAULT_SCOPE_EXITS : ErrorCode = ErrorCode::from_constant(20047); // ERROR_DHCP_DEFAULT_SCOPE_EXITS
pub const CANT_CHANGE_ATTRIBUTE : ErrorCode = ErrorCode::from_constant(20048); // ERROR_DHCP_CANT_CHANGE_ATTRIBUTE
pub const IPRANGE_CONV_ILLEGAL : ErrorCode = ErrorCode::from_constant(20049); // ERROR_DHCP_IPRANGE_CONV_ILLEGAL
pub const NETWORK_CHANGED : ErrorCode = ErrorCode::from_constant(20050); // ERROR_DHCP_NETWORK_CHANGED
pub const CANNOT_MODIFY_BINDINGS : ErrorCode = ErrorCode::from_constant(20051); // ERROR_DHCP_CANNOT_MODIFY_BINDINGS
pub const SUBNET_EXISTS : ErrorCode = ErrorCode::from_constant(20052); // ERROR_DHCP_SUBNET_EXISTS
pub const MSCOPE_EXISTS : ErrorCode = ErrorCode::from_constant(20053); // ERROR_DHCP_MSCOPE_EXISTS
pub const EXEMPTION_EXISTS : ErrorCode = ErrorCode::from_constant(20055); // ERROR_DHCP_EXEMPTION_EXISTS
pub const EXEMPTION_NOT_PRESENT : ErrorCode = ErrorCode::from_constant(20056); // ERROR_DHCP_EXEMPTION_NOT_PRESENT
pub const INVALID_PARAMETER_OPTION32 : ErrorCode = ErrorCode::from_constant(20057); // ERROR_DHCP_INVALID_PARAMETER_OPTION32
pub const DELETE_BUILTIN_CLASS : ErrorCode = ErrorCode::from_constant(20089); // ERROR_DHCP_DELETE_BUILTIN_CLASS
pub const INVALID_SUBNET_PREFIX : ErrorCode = ErrorCode::from_constant(20091); // ERROR_DHCP_INVALID_SUBNET_PREFIX
pub const INVALID_DELAY : ErrorCode = ErrorCode::from_constant(20092); // ERROR_DHCP_INVALID_DELAY
pub const LINKLAYER_ADDRESS_EXISTS : ErrorCode = ErrorCode::from_constant(20093); // ERROR_DHCP_LINKLAYER_ADDRESS_EXISTS
pub const LINKLAYER_ADDRESS_RESERVATION_EXISTS : ErrorCode = ErrorCode::from_constant(20094); // ERROR_DHCP_LINKLAYER_ADDRESS_RESERVATION_EXISTS
pub const LINKLAYER_ADDRESS_DOES_NOT_EXIST : ErrorCode = ErrorCode::from_constant(20095); // ERROR_DHCP_LINKLAYER_ADDRESS_DOES_NOT_EXIST
pub const HARDWARE_ADDRESS_TYPE_ALREADY_EXEMPT : ErrorCode = ErrorCode::from_constant(20101); // ERROR_DHCP_HARDWARE_ADDRESS_TYPE_ALREADY_EXEMPT
pub const UNDEFINED_HARDWARE_ADDRESS_TYPE : ErrorCode = ErrorCode::from_constant(20102); // ERROR_DHCP_UNDEFINED_HARDWARE_ADDRESS_TYPE
pub const OPTION_TYPE_MISMATCH : ErrorCode = ErrorCode::from_constant(20103); // ERROR_DHCP_OPTION_TYPE_MISMATCH
pub const POLICY_BAD_PARENT_EXPR : ErrorCode = ErrorCode::from_constant(20104); // ERROR_DHCP_POLICY_BAD_PARENT_EXPR
pub const POLICY_EXISTS : ErrorCode = ErrorCode::from_constant(20105); // ERROR_DHCP_POLICY_EXISTS
pub const POLICY_RANGE_EXISTS : ErrorCode = ErrorCode::from_constant(20106); // ERROR_DHCP_POLICY_RANGE_EXISTS
pub const POLICY_RANGE_BAD : ErrorCode = ErrorCode::from_constant(20107); // ERROR_DHCP_POLICY_RANGE_BAD
pub const RANGE_INVALID_IN_SERVER_POLICY : ErrorCode = ErrorCode::from_constant(20108); // ERROR_DHCP_RANGE_INVALID_IN_SERVER_POLICY
pub const INVALID_POLICY_EXPRESSION : ErrorCode = ErrorCode::from_constant(20109); // ERROR_DHCP_INVALID_POLICY_EXPRESSION
pub const INVALID_PROCESSING_ORDER : ErrorCode = ErrorCode::from_constant(20110); // ERROR_DHCP_INVALID_PROCESSING_ORDER
pub const POLICY_NOT_FOUND : ErrorCode = ErrorCode::from_constant(20111); // ERROR_DHCP_POLICY_NOT_FOUND

/// DHCP failover error codes
pub const FO_SCOPE_ALREADY_IN_RELATIONSHIP : ErrorCode = ErrorCode::from_constant(20113); // ERROR_DHCP_FO_SCOPE_ALREADY_IN_RELATIONSHIP

/// DHCP failover error codes
pub const FO_RELATIONSHIP_EXISTS : ErrorCode = ErrorCode::from_constant(20114); // ERROR_DHCP_FO_RELATIONSHIP_EXISTS

pub const FO_RELATIONSHIP_DOES_NOT_EXIST : ErrorCode = ErrorCode::from_constant(20115); // ERROR_DHCP_FO_RELATIONSHIP_DOES_NOT_EXIST
pub const FO_SCOPE_NOT_IN_RELATIONSHIP : ErrorCode = ErrorCode::from_constant(20116); // ERROR_DHCP_FO_SCOPE_NOT_IN_RELATIONSHIP
pub const FO_RELATION_IS_SECONDARY : ErrorCode = ErrorCode::from_constant(20117); // ERROR_DHCP_FO_RELATION_IS_SECONDARY
pub const FO_NOT_SUPPORTED : ErrorCode = ErrorCode::from_constant(20118); // ERROR_DHCP_FO_NOT_SUPPORTED
pub const FO_TIME_OUT_OF_SYNC : ErrorCode = ErrorCode::from_constant(20119); // ERROR_DHCP_FO_TIME_OUT_OF_SYNC
pub const FO_STATE_NOT_NORMAL : ErrorCode = ErrorCode::from_constant(20120); // ERROR_DHCP_FO_STATE_NOT_NORMAL
pub const NO_ADMIN_PERMISSION : ErrorCode = ErrorCode::from_constant(20121); // ERROR_DHCP_NO_ADMIN_PERMISSION
pub const SERVER_NOT_REACHABLE : ErrorCode = ErrorCode::from_constant(20122); // ERROR_DHCP_SERVER_NOT_REACHABLE
pub const SERVER_NOT_RUNNING : ErrorCode = ErrorCode::from_constant(20123); // ERROR_DHCP_SERVER_NOT_RUNNING
pub const SERVER_NAME_NOT_RESOLVED : ErrorCode = ErrorCode::from_constant(20124); // ERROR_DHCP_SERVER_NAME_NOT_RESOLVED
pub const FO_RELATIONSHIP_NAME_TOO_LONG : ErrorCode = ErrorCode::from_constant(20125); // ERROR_DHCP_FO_RELATIONSHIP_NAME_TOO_LONG
pub const REACHED_END_OF_SELECTION : ErrorCode = ErrorCode::from_constant(20126); // ERROR_DHCP_REACHED_END_OF_SELECTION
pub const FO_ADDSCOPE_LEASES_NOT_SYNCED : ErrorCode = ErrorCode::from_constant(20127); // ERROR_DHCP_FO_ADDSCOPE_LEASES_NOT_SYNCED
pub const FO_MAX_RELATIONSHIPS : ErrorCode = ErrorCode::from_constant(20128); // ERROR_DHCP_FO_MAX_RELATIONSHIPS
pub const FO_IPRANGE_TYPE_CONV_ILLEGAL : ErrorCode = ErrorCode::from_constant(20129); // ERROR_DHCP_FO_IPRANGE_TYPE_CONV_ILLEGAL
pub const FO_MAX_ADD_SCOPES : ErrorCode = ErrorCode::from_constant(20130); // ERROR_DHCP_FO_MAX_ADD_SCOPES
pub const FO_BOOT_NOT_SUPPORTED : ErrorCode = ErrorCode::from_constant(20131); // ERROR_DHCP_FO_BOOT_NOT_SUPPORTED
pub const FO_RANGE_PART_OF_REL : ErrorCode = ErrorCode::from_constant(20132); // ERROR_DHCP_FO_RANGE_PART_OF_REL
pub const FO_SCOPE_SYNC_IN_PROGRESS : ErrorCode = ErrorCode::from_constant(20133); // ERROR_DHCP_FO_SCOPE_SYNC_IN_PROGRESS
pub const FO_FEATURE_NOT_SUPPORTED : ErrorCode = ErrorCode::from_constant(20134); // ERROR_DHCP_FO_FEATURE_NOT_SUPPORTED
pub const POLICY_FQDN_RANGE_UNSUPPORTED : ErrorCode = ErrorCode::from_constant(20135); // ERROR_DHCP_POLICY_FQDN_RANGE_UNSUPPORTED
pub const POLICY_FQDN_OPTION_UNSUPPORTED : ErrorCode = ErrorCode::from_constant(20136); // ERROR_DHCP_POLICY_FQDN_OPTION_UNSUPPORTED
pub const POLICY_EDIT_FQDN_UNSUPPORTED : ErrorCode = ErrorCode::from_constant(20137); // ERROR_DHCP_POLICY_EDIT_FQDN_UNSUPPORTED
pub const NAP_NOT_SUPPORTED : ErrorCode = ErrorCode::from_constant(20138); // ERROR_DHCP_NAP_NOT_SUPPORTED