Share via


ErrorWarningCollection::GetItem method

Gets an item from the collection.

Syntax

virtual HRESULT GetItem(
  [in]  INT          index,
  [out] ErrorWarning **errorWarning
) = 0;

Parameters

index [in]

The item identifier.

errorWarning [out]

A double pointer to receive a pointer to the item.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

index ranges from 0 to one less than the count of items in the collection.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

ErrorWarningCollection