DismImageHealthState Enumeration

Specifies whether an image is corrupted.

Syntax

enum DismImageHealthState
{
    DismImageHealthy = 0,
    DismImageRepairable = 1,
    DismImageNonRepairable = 2
};

Constants

Constant Value Description
DismImageHealthy 0 The image is not corrupted.
DismImageRepairable 1 The image is corrupted but can be repaired.
DismImageNonRepairable 2 The image is corrupted and cannot be repaired. Discard the image and start again.

Requirements

Requirement Description
Supported host platforms DISM API can be used on any operating system supported by the Windows Assessment and Deployment Kit (Windows ADK). For more information, see the Windows ADK Technical Reference.
Supported image platforms Windows 7, Windows Server 2008 R2, Windows Preinstallation Environment 3.0, Windows 8, Windows Server 2012, Windows Preinstallation Environment (Windows PE) 4.0

DismCheckImageHealth Function

DismRestoreImageHealth Function