DismFeatureInfo structure

Describes advanced feature information, such as installed state and whether a restart is required after installation.

Syntax

typedef struct _DismFeatureInfo {
  PCWSTR                  FeatureName;
  DismPackageFeatureState FeatureState;
  PCWSTR                  DisplayName;
  PCWSTR                  Description;
  DismRestartType         RestartRequired;
  DismCustomProperty      *CustomProperty;
  UINT                    CustomPropertyCount;
} DismFeatureInfo;

Members

FeatureName
The name of the feature.

FeatureState
A valid DismPackageFeatureState enumeration value such as DismStateInstalled.

DisplayName
The display name of the feature. This is not always unique across all features.

Description
The description of the feature.

RestartRequired
A DismRestartType enumeration value such as DismRestartPossible.

CustomProperty
An array of DismCustomProperty structures.

CustomPropertyCount
The number of elements in the CustomProperty array.

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

DismGetFeatureInfo