Share via


IPhotoAcquireProgressCB::Cancelled 

Previous Next

IPhotoAcquireProgressCB::Cancelled

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

Syntax

  HRESULT Cancelled(
  BOOL*  pfCancelled
);

Parameters

pfCancelled

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

Return Values

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
S_OK The method succeeded.
E_NOTIMPL The method is not implemented.

Requirements

Header: Defined in PhotoAcquire.h

Library: Use PhotoAcquireUID.lib

See Also

Previous Next