This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.
Sets the values for the lookup table brightness curve.
HRESULT SetBrightness( ULONG ulCount, const float Weights );
- [in] Number of entries in the brightness curve. This value should be less than or equal to 256.
- [in] Array that holds the brightness curve values. These values should be greater than or equal to zero and are usually around 1.0.
Returns an HRESULT value that depends on the implementation of the interface.
For brightness adjustment, each color channel value is multiplied by the Weights value. The adjustment is applied in ulCount steps over the 256 values of the lookup table.