IOperationsProgressDialog::UpdateProgress method (shobjidl_core.h)

Updates the current progress dialog, as specified.

Syntax

HRESULT UpdateProgress(
  [in] ULONGLONG ullPointsCurrent,
  [in] ULONGLONG ullPointsTotal,
  [in] ULONGLONG ullSizeCurrent,
  [in] ULONGLONG ullSizeTotal,
  [in] ULONGLONG ullItemsCurrent,
  [in] ULONGLONG ullItemsTotal
);

Parameters

[in] ullPointsCurrent

Type: ULONGLONG

Current points, used for showing progress in points.

[in] ullPointsTotal

Type: ULONGLONG

Total points, used for showing progress in points.

[in] ullSizeCurrent

Type: ULONGLONG

Current size in bytes, used for showing progress in bytes.

[in] ullSizeTotal

Type: ULONGLONG

Total size in bytes, used for showing progress in bytes.

[in] ullItemsCurrent

Type: ULONGLONG

Current items, used for showing progress in items.

[in] ullItemsTotal

Type: ULONGLONG

Specifies total items, used for showing progress in items.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)