IPhotoAcquireItem::GetSubItemCount method (photoacquire.h)

The GetSubItemCount method retrieves the number of subitems contained in an item.

Syntax

HRESULT GetSubItemCount(
  [out] UINT *pnCount
);

Parameters

[out] pnCount

Pointer to an integer containing the count of subitems.

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 an error occurs, pnCount will be set to NULL.

Requirements

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

See also

IPhotoAcquireItem Interface