IProgressDialog::SetProgress64 method

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

Syntax


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

Parameters

ullCompleted [in]

Type: ULONGLONG

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

ullTotal [in]

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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 5.0 or later)

See also

IProgressDialog

 

 

Show: