IPhotoAcquireProgressCB::EndItemTransfer method (photoacquire.h)

The EndItemTransfer method provides extended functionality each time a file is transferred from the image source. The application provides the implementation of the EndItemTransfer method.

Syntax

HRESULT EndItemTransfer(
  [in] UINT              nItemIndex,
  [in] IPhotoAcquireItem *pPhotoAcquireItem,
  [in] HRESULT           hr
);

Parameters

[in] nItemIndex

Integer value containing the item index.

[in] pPhotoAcquireItem

Pointer to a photo acquire item object.

[in] hr

Specifies the result of the transfer operation.

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

Requirements

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

See also

IPhotoAcquireProgressCB Interface