Jaa


DismProgressCallback

A client-defined callback function that DISM API uses to report progress on time-consuming operations. API functions that report progress accept a pointer to a DismProgressCallback function. DISM_PROGRESS_CALLBACK is a typedef to this function type.

Syntax

void
DismProgressCallback(
    _In_ UINT Current,
    _In_ UINT Total,
    _In_ PVOID UserData
    )

typedef void (*DISM_PROGRESS_CALLBACK)(UINT, UINT, PVOID)

Parameters

Parameter Name Description
Current The current progress value
Total The total progress value
UserData User defined custom data. This parameter can be passed to another DISM function that accepts a progress callback and that function will then pass it through to DismProgressCallback.

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 8, Windows Server 2012

DISM API Functions