IEnumWiaItem::GetCount method (wia_xp.h)

The IEnumWiaItem::GetCount method returns the number of elements stored by this enumerator.

Syntax

HRESULT GetCount(
  [out] ULONG *celt
);

Parameters

[out] celt

Type: ULONG*

Pointer to a ULONG that receives the number of elements in the enumeration.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wia_xp.h (include Wia.h)
Library Wiaguid.lib