IPhotoAcquireSource::GetItemCount method (photoacquire.h)
The GetItemCount
method retrieves the number of items found by the InitializeItemList method.
Syntax
HRESULT GetItemCount(
[out] UINT *pnItemCount
);
Parameters
[out] pnItemCount
Pointer to an integer value containing the item count.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
NULL was passed where a non-NULL pointer was expected. |
Remarks
Before calling this method, call InitializeItemList to initialize the item list.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for