IProgressDialog::Timer method
Resets the progress dialog box timer to zero.
Syntax
HRESULT Timer(
[in] DWORD dwTimerAction,
LPCVOID pvReserved
);
Parameters
- dwTimerAction [in]
-
Type: DWORD
Flags that indicate the action to be taken by the timer. One of the following values:
- pvReserved
-
Type: LPCVOID
Reserved. Set to NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The timer is used to estimate the remaining time. It is started when your application calls IProgressDialog::StartProgressDialog. Unless your application will start immediately, it should call Timer just before starting the operation. This practice ensures that the time estimates will be as accurate as possible. This method should not be called after the first call to IProgressDialog::SetProgress.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also