IPhotoAcquireProgressCB::StartTransfer method (photoacquire.h)

The StartTransfer method provides additional processing when transfer of items from the device begins. The application provides the implementation of the StartTransfer method.

Syntax

HRESULT StartTransfer(
  [in] IPhotoAcquireSource *pPhotoAcquireSource
);

Parameters

[in] pPhotoAcquireSource

Pointer to the IPhotoAcquireSource from which items are being retrieved.

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.

Remarks

Returning an error HRESULT other than E_NOTIMPL will cause acquisition to be aborted.

Requirements

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

See also

IPhotoAcquireProgressCB Interface