winresult 0.1.3

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

use super::*;


/// This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
pub const PACKAGE_OPEN_FAILED : ErrorCode = ErrorCode::from_constant(1635); // ERROR_PATCH_PACKAGE_OPEN_FAILED

/// This update package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer update package.
pub const PACKAGE_INVALID : ErrorCode = ErrorCode::from_constant(1636); // ERROR_PATCH_PACKAGE_INVALID

/// This update package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
pub const PACKAGE_UNSUPPORTED : ErrorCode = ErrorCode::from_constant(1637); // ERROR_PATCH_PACKAGE_UNSUPPORTED

/// The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
pub const TARGET_NOT_FOUND : ErrorCode = ErrorCode::from_constant(1642); // ERROR_PATCH_TARGET_NOT_FOUND

/// The update package is not permitted by software restriction policy.
pub const PACKAGE_REJECTED : ErrorCode = ErrorCode::from_constant(1643); // ERROR_PATCH_PACKAGE_REJECTED

/// Uninstallation of the update package is not supported.
pub const REMOVAL_UNSUPPORTED : ErrorCode = ErrorCode::from_constant(1646); // ERROR_PATCH_REMOVAL_UNSUPPORTED

/// No valid sequence could be found for the set of updates.
pub const NO_SEQUENCE : ErrorCode = ErrorCode::from_constant(1648); // ERROR_PATCH_NO_SEQUENCE

/// Update removal was disallowed by policy.
pub const REMOVAL_DISALLOWED : ErrorCode = ErrorCode::from_constant(1649); // ERROR_PATCH_REMOVAL_DISALLOWED

/// Windows Installer does not permit updating of managed advertised products. At least one feature of the product must be installed before applying the update.
pub const MANAGED_ADVERTISED_PRODUCT : ErrorCode = ErrorCode::from_constant(1651); // ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT

pub const ENCODE_FAILURE : HResultError = HResultError::from_constant(0xC00E3101); // ERROR_PATCH_ENCODE_FAILURE
pub const INVALID_OPTIONS : HResultError = HResultError::from_constant(0xC00E3102); // ERROR_PATCH_INVALID_OPTIONS
pub const SAME_FILE : HResultError = HResultError::from_constant(0xC00E3103); // ERROR_PATCH_SAME_FILE
pub const RETAIN_RANGES_DIFFER : HResultError = HResultError::from_constant(0xC00E3104); // ERROR_PATCH_RETAIN_RANGES_DIFFER
pub const BIGGER_THAN_COMPRESSED : HResultError = HResultError::from_constant(0xC00E3105); // ERROR_PATCH_BIGGER_THAN_COMPRESSED
pub const IMAGEHLP_FAILURE : HResultError = HResultError::from_constant(0xC00E3106); // ERROR_PATCH_IMAGEHLP_FAILURE
pub const DECODE_FAILURE : HResultError = HResultError::from_constant(0xC00E4101); // ERROR_PATCH_DECODE_FAILURE
pub const CORRUPT : HResultError = HResultError::from_constant(0xC00E4102); // ERROR_PATCH_CORRUPT
pub const NEWER_FORMAT : HResultError = HResultError::from_constant(0xC00E4103); // ERROR_PATCH_NEWER_FORMAT
pub const WRONG_FILE : HResultError = HResultError::from_constant(0xC00E4104); // ERROR_PATCH_WRONG_FILE
pub const NOT_NECESSARY : HResultError = HResultError::from_constant(0xC00E4105); // ERROR_PATCH_NOT_NECESSARY
pub const NOT_AVAILABLE : HResultError = HResultError::from_constant(0xC00E4106); // ERROR_PATCH_NOT_AVAILABLE