DismGetReservedStorageState function
Syntax
HRESULT WINAPI DismGetReservedStorageState(
_In_ DismSession Session,
_Out_ PDWORD State
);
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.
State [out]
The reserved storage state of the image. For more information, see DISM API Constants.
Return value
Returns S_OK
on success.
Remarks
Use this function to get the reserved storage state of an image.
Example
HRESULT hr = S_OK;
DWORD State;
hr = DismGetReservedStorageState(Session, &State);
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, version 2004 |
Header | DismAPI.h |
Library | DismAPI.lib |
DLL | DismAPI.dll |