Επεξεργασία

Κοινή χρήση μέσω


IProgressDialog::SetProgress64 method (shlobj_core.h)

Updates the progress dialog box with the current state of the operation.

Syntax

HRESULT SetProgress64(
  [in] ULONGLONG ullCompleted,
  [in] ULONGLONG ullTotal
);

Parameters

[in] ullCompleted

Type: ULONGLONG

An application-defined value that indicates what proportion of the operation has been completed at the time the method was called.

[in] ullTotal

Type: ULONGLONG

An application-defined value that specifies what value ullCompleted will have when the operation is complete.

Return value

Type: HRESULT

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

Remarks

This method has exactly the same function as IProgressDialog::SetProgress but allows you to use values larger than one DWORD (4 GB).

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h
DLL Shell32.dll (version 5.0 or later)

See also

IProgressDialog