IPhotoProgressDialog::IsCancelled method (photoacquire.h)

The IsCancelled method indicates whether the operation has been canceled via the progress dialog box.

Syntax

HRESULT IsCancelled(
  [out] BOOL *pfCancelled
);

Parameters

[out] pfCancelled

Pointer to a flag that, if set to TRUE, indicates the action has been canceled.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
A NULL pointer was passed

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoProgressDialog Interface