lFlags

Flags that indicates the channel for which to shift the color and how to remap the other values for that channel. You can use a bit wise OR (|) to specify one flag from each group.

The following are the flags that indicate the channel:

Value

Meaning

SAMP_RED

[0x0001] Shift the color in the red channel.

SAMP_GREEN

[0x0002] Shift the color in the green channel.

SAMP_BLUE

[0x0003] Shift the color in the blue channel.

SAMP_RGB

[0x0004] Shift the color in the red, green, and blue channels.

The following are the flags that indicate how other pixel values in the set channel will be affected:

Value

Meaning

SAMP_LOW

[0x0010] Remap the shadow values for the channel set in uFlags.

SAMP_MID

[0x0020] Remap the midtone values for the channel set in uFlags.

SAMP_HIGH

[0x0030] Remap the highlight values for the channel set in uFlags.