GetIndexValues method

Retrieves the component values for a specific index in the table.

Syntax

HRESULT retVal = object.GetIndexValues(Index, pSample);

Parameters

  • Index [in]
    Type: unsigned long

    Index into the lookup table from which to retrieve the translation values.

  • pSample [out]
    Type: DXBASESAMPLE

    Pointer to the location in which to store the translation values.

Remarks

An ARGB component value will be returned from the table at the given index.