IPhotoAcquireProgressCB::Cancelled method (photoacquire.h)

The Cancelled method provides extended functionality when a cancellation occurs during an acquisition session. The application provides the implementation of the Cancelled method.


HRESULT Cancelled(
  [out] BOOL *pfCancelled


[out] pfCancelled

Pointer to a flag that, when set to TRUE, indicates that the operation was canceled.

Return value

The method returns an HRESULT. Your implementation is not limited to the following return values. Any failing HRESULT other than E_NOTIMPL is fatal and will cause the transfer to abort.

Return code Description
The method succeeded.
The method is not implemented.


Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireProgressCB Interface