Microsoft DirectX 8.1 (C++)

ICAComponents::get_Item

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_Item method retrieves a specified component from the collection.

Syntax

HRESULT get_Item(
  VARIANT  Index,
  ICAComponent**  ppDenial
);

Parameters

  Index

[in]  VARIANT that specifies the component to retrieve. See Remarks for more information.

  ppDenial

[out]  Pointer to a variable that receives an ICAComponent interface pointer.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_FALSE The item was not found.
S_OK Success.
E_FAIL Index out of range.

Remarks

The Index parameter supports the following VARIANT types:

If the method returns S_OK, the ICAComponent interface has an outstanding reference count. The caller must release the interface.

See Also