DismImageInfo structure

Describes the metadata of an image.

Syntax

typedef struct _DismImageInfo {
  DismImageType     ImageType;
  UINT              ImageIndex;
  PCWSTR            ImageName;
  PCWSTR            ImageDescription;
  UINT64            ImageSize;
  UINT              Architecture;
  PCWSTR            ProductName;
  PCWSTR            EditionId;
  PCWSTR            InstallationType;
  PCWSTR            Hal;
  PCWSTR            ProductType;
  PCWSTR            ProductSuite;
  UINT              MajorVersion;
  UINT              MinorVersion;
  UINT              Build;
  UINT              SpBuild;
  UINT              SpLevel;
  DismImageBootable Bootable;
  PCWSTR            SystemRoot;
  DismLanguage      *Language;
  UINT              LanguageCount;
  UINT              DefaultLanguageIndex;
  VOID              *CustomizedInfo;
} DismImageInfo;

Members

ImageType
A DismImageType enumeration value such as DismImageTypeWim.

ImageIndex
The index number, starting at 1, of the image.

ImageName
The name of the image.

ImageDescription
A description of the image.

ImageSize
The size of the image in bytes.

Architecture
The architecture of the image.

ProductName
The name of the product, for example, "Microsoft Windows Operating System".

EditionId
The edition of the product, for example, "Ultimate".

InstallationType
A string identifying whether the installation is a Client or Server type.

Hal
The hardware abstraction layer (HAL) type of the operating system.

ProductType
The product type, for example, "WinNT".

ProductSuite
The product suite, for example, "Terminal Server".

MajorVersion
The major version of the operating system.

MinorVersion
The minor version of the operating system.

Build
The build number, for example, "10240".

SpBuild
The service pack build.

SpLevel
The service pack number.

Bootable
A DismImageBootable enumeration value such as DismImageBootableYes.

SystemRoot
The Windows directory.

Language
An array of DismLanguage structures representing the languages in the image.

LanguageCount
The number of elements in the language array.

DefaultLanguageIndex
The index number of the default language.

CustomizedInfo
The customized information for the image file. A DismWimCustomizedInfo structure for a WIM file. NULL for a VHD image.

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 PE 3.0, Windows 8, Windows Server 2012, Windows Preinstallation Environment (Windows PE) 4.0, Windows 8.1, Windows Server 2012 R2, Windows 10, Windows Server 2016
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header DismAPI.h

See also

DismGetImageInfo