DismImageInfo 結構
描述影像的中繼資料。
語法
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;
成員
ImageType
DismImageType列舉值,例如DismImageTypeWim。
ImageIndex
影像的索引編號,從 1 開始。
ImageName
影像的名稱。
ImageDescription
影像的描述。
ImageSize
影像的大小,以位元組為單位。
架構
映射的架構。
ProductName
產品名稱,例如「Microsoft Windows 作業系統」。
EditionId
產品的版本,例如 「Ultimate」。
InstallationType
字串,識別安裝是否為 Client
或 Server
類型。
哈爾
硬體抽象層 (作業系統的 HAL) 類型。
ProductType
例如,產品類型「WinNT」。
ProductSuite
例如,產品套件「終端伺服器」。
MajorVersion
作業系統的主要版本。
MinorVersion
作業系統的次要版本。
建置
組建編號,例如 「10240」。
SpBuild
Service Pack 組建。
SpLevel
Service Pack 編號。
啟動
DismImageBootable列舉值,例如DismImageBootableYes。
SystemRoot
Windows 目錄。
語言
DismLanguage結構的陣列,代表影像中的語言。
LanguageCount
語言陣列中的專案數目。
DefaultLanguageIndex
預設語言的索引編號。
CustomizedInfo
影像檔案的自訂資訊。 WIM 檔案的 DismWimCustomizedInfo 結構。 VHD 映射的Null。
規格需求
需求 | 描述 |
---|---|
支援的主機平臺 | DISM API 可用於 Windows 評定與部署套件所支援的任何作業系統, (Windows ADK) 。 如需詳細資訊,請參閱 Windows ADK 技術參考。 |
支援的映射平臺 | Windows 7、Windows Server 2008 R2、Windows PE 3.0、Windows 8、Windows Server 2012、Windows 預先安裝環境 (Windows PE) 4.0、Windows 8.1、Windows Server 2012 R2、Windows 10、Windows Server 2016 |
最低支援的用戶端 | Windows 7 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2008 R2 [僅限桌面應用程式] |
標頭 | DismAPI.h |