Επεξεργασία

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


IActionProgress::ResetCancel method (shobjidl_core.h)

Resets progress dialog after a cancellation has been completed.

Syntax

HRESULT ResetCancel();

Return value

Type: HRESULT

Return S_OK if successful, or an error value otherwise.

Remarks

This method is called when a cancellation has been completed. User input should typically be limited for cancellations of actions that involve large calculations or file operations. This method may be used by calling applications to notify a progress UI that the cancellation has been completed and the UI should return control to the user.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shobjidl.idl

See also

IActionProgress

IActionProgress::QueryCancel