IPhotoAcquireItem::GetSubItemAt method (photoacquire.h)

The GetSubItemAt method retrieves a subitem of an item, given the index of the subitem.

Syntax

HRESULT GetSubItemAt(
  [in]  UINT              nItemIndex,
  [out] IPhotoAcquireItem **ppPhotoAcquireItem
);

Parameters

[in] nItemIndex

Integer containing the index of the item.

[out] ppPhotoAcquireItem

Returns the IPhotoAcquireItem object at the given index.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

If no item is found at the given index, ppPhotoAcquireItem is set to NULL.

Requirements

   
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireItem Interface