IPhotoAcquireProgressCB::StartItemTransfer method (photoacquire.h)

The StartItemTransfer method provides extended functionality each time the transfer of an item begins. The application provides the implementation of the StartItemTransfer method.

Syntax

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

Parameters

[in] nItemIndex

Integer value containing the item index in the list of items to transfer.

[in] pPhotoAcquireItem

Pointer to the IPhotoAcquireItem object that is to be 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
S_OK
The method succeeded.
E_NOTIMPL
The method is not implemented.

Requirements

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

See also

IPhotoAcquireProgressCB Interface