lFlags

Flags that specify how to apply the effect, and which layout pattern to use for the noise. You can use a bit wise OR (|) to specify one flag from each group.

The following flags specify how to apply the effect:

Value

Meaning

PRL_PURE

[0x0000] Produce noise as a new bitmap.

PRL_COMBINE

[0x0001] Combine the noise and the bitmap pixels using the lOpacity value.

PRL_DIFFERENCE

[0x0002] Apply the difference between the noise and the bitmap pixels.

The following flags indicate which layout pattern to use for the noise:

Value

Meaning

PRL_CIRCLE

[0x0000] Lay out the noise in concentric circles. Set the center for the circle using lxCircle and lyCircle.

PRL_LINE

[0x0010] Lay out the noise in lines at a 45 degree angle.

PRL_RANDOM

[0x0020] Lay out the noise randomly.