IPhotoAcquireProgressCB::UpdateTransferPercent method (photoacquire.h)
The UpdateTransferPercent
method provides extended functionality when the percentage of items transferred changes. The application provides the implementation of the UpdateTransferPercent
method.
Syntax
HRESULT UpdateTransferPercent(
[in] BOOL fOverall,
[in] UINT nPercent
);
Parameters
[in] fOverall
Flag that, when set to TRUE, indicates that the value contained in nPercent is a percentage of the overall transfer progress, rather than a percentage of an individual item's progress.
[in] nPercent
Integer value containing the percentage of items transferred.
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 |