IPhotoAcquireProgressCB::FoundItem
Previous | Next |
IPhotoAcquireProgressCB::FoundItem
The FoundItem method provides extended functionality each time an item is found during enumeration of items from the device. This method can be used to exclude an item from the list of items to acquire. The application provides the implementation of the FoundItem method.
Syntax
HRESULT FoundItem( IPhotoAcquireItem* pPhotoAcquireItem );
Parameters
pPhotoAcquireItem
[in] Pointer to the found IPhotoAcquireItem object.
Return Values
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. |
S_FALSE | Exclude this item from the list of files to acquire. |
Remarks
Return S_FALSE to exclude the item from the results of the enumeration. This would allow the caller to exclude videos or camera raw files, for instance.
Requirements
Header: Defined in PhotoAcquire.h
Library: Use PhotoAcquireUID.lib
See Also
Previous | Next |