DismGetCapabilityInfo function
Gets DISM capabilities.
Syntax
HRESULT WINAPI DismGetCapabilityInfo(
_In_ DismSession Session,
_In_ PCWSTR Name,
_In_ DismCapabilityInfo** Info
);
Parameters
Session [in]
A valid DismSession. The DismSession must be associated with an image. You can associate a session with an image by using the DismOpenSession.
Name [in]
The name of the specified capability.
Info [in]
Pointer that will receive the info of capability.
Return value
Returns S_OK
on success.
Example
HRESULT hr = S_OK;
DismCapabilityInfo* CapabilityInfo;
hr = DismGetCapabilityInfo(Session, L”Language.Basic~~~en-US~0.0.1.0”, &CapabilityInfo);
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 10, Windows Server 2016 |
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | DismAPI.h |
Library | DismAPI.lib |
DLL | DismAPI.dll |