Partager via


GetLookup method

Retrieves the interface to the selected color lookup table.

Syntax

HRESULT retVal = object.GetLookup(ppLookupTable);

Parameters

  • ppLookupTable [out]
    Type: IDXLookupTable

    Address of a pointer that is initialized to the current lookup table object of the Surface Modifier.

Remarks

If there is currently no lookup table operator, this function returns S_OK, but ppLookupTable is set to NULL. Otherwise, the returned pointer points to an IDXLookupTable interface. When the method is implemented, it automatically calls AddRef on the interface. The client is responsible for calling Release on the interface when it is no longer needed.

The lookup table is applied to the foreground surface only.

See also

IDXSurfaceModifier::SetLookup