DismImageType Enumeration

Specifies the file type of the Windows image container.

Syntax

enum DismImageType
{
    DismImageTypeUnsupported = -1,
    DismImageTypeWim = 0,
    DismImageTypeVhd = 1
};

Constants

Constant Value Description
DismImageTypeUnsupported -1 The file type is unsupported. The image must be in a .wim, .vhd, or .vhdx file.
DismImageTypeWim 0 The image is in a .wim file.
DismImageTypeVhd 1 The image is in a .vhd or .vhdx file.

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

DismImageInfo Structure