Microsoft DirectX 8.1 (C++)

ICADenials::get_Item

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

The get_Item method retrieves a denial from the collection.

Syntax

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

Parameters

  Index

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

  ppDenial

[out]  Pointer to a variable that receives an ICADenial 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 ICADenial interface has an outstanding reference count. The caller must release the interface.

See Also