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.
Syntax
HRESULT Cancelled(
[out] BOOL *pfCancelled
);
Parameters
[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. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |