IProgressDialog::SetProgress method (shlobj_core.h)
Updates the progress dialog box with the current state of the operation.
HRESULT SetProgress( [in] DWORD dwCompleted, [in] DWORD dwTotal );
An application-defined value that indicates what proportion of the operation has been completed at the time the method was called.
An application-defined value that specifies what value dwCompleted will have when the operation is complete.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Use any convenient numerical measure of the progress of the operation. To use values larger than 4 gigabytes (GB), you can instead call IProgressDialog::SetProgress64.
|Minimum supported client||Windows 2000 Professional, Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|DLL||Shell32.dll (version 5.0 or later)|