Condividi tramite


Struttura DismImageInfo

Descrive i metadati di un'immagine.

Sintassi

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
Valore di enumerazione DismImageType, ad esempio DismImageTypeWim.

Imageindex
Numero di indice, a partire da 1, dell'immagine.

ImageName
Nome dell'immagine.

ImageDescription
Descrizione dell'immagine.

Imagesize
Dimensioni dell'immagine in byte.

Architettura
Architettura dell'immagine.

ProductName
Nome del prodotto, ad esempio "Sistema operativo Microsoft Windows".

EditionId
Edizione del prodotto, ad esempio "Ultimate".

InstallationType
Stringa che identifica se l'installazione è un Client tipo o Server .

Hal
Tipo di livello di astrazione hardware (HAL) del sistema operativo.

ProductType
Tipo di prodotto, ad esempio "WinNT".

ProductSuite
La suite di prodotti, ad esempio, "Terminal Server".

MajorVersion
Versione principale del sistema operativo.

MinorVersion
Versione secondaria del sistema operativo.

Build
Numero di compilazione, ad esempio "10240".

SpBuild
Compilazione del Service Pack.

SpLevel
Numero del Service Pack.

Avviabile
Valore di enumerazione DismImageBootable, ad esempio DismImageBootableYes.

Systemroot
La directory Windows.

Lingua
Matrice di strutture DismLanguage che rappresentano le lingue nell'immagine.

LanguageCount
Numero di elementi nella matrice del linguaggio .

DefaultLanguageIndex
Numero di indice della lingua predefinita.

CustomdInfo
Informazioni personalizzate per il file di immagine. Struttura DismWimCustomizedInfo per un file WIM. NULL per un'immagine VHD.

Requisiti

Requisito Descrizione
Piattaforme host supportate L'API DISM può essere usata in qualsiasi sistema operativo supportato da Windows Assessment and Deployment Kit (Windows ADK). Per altre informazioni, vedere Informazioni di riferimento tecnico su Windows ADK.
Piattaforme di immagini supportate 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
Client minimo supportato Windows 7 [solo app desktop]
Server minimo supportato Windows Server 2008 R2 [solo app desktop]
Intestazione DismAPI.h

Vedi anche

DismGetImageInfo