IActionProgress::QueryCancel method (shobjidl_core.h)
Provides information about whether the action is being canceled.
HRESULT QueryCancel( [out] BOOL *pfCancelled );
A reference to a BOOL value that specifies whether the action is being canceled.
Return S_OK if successful, or an error value otherwise.
Call this method when a process must know whether an action has been canceled. Implementing this method requires the implementing class to query either an internal or external flag to provide this information, and store the result in the value of pfCancelled.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|