lFlags

Flags that indicate which type of plasma effect to create, and which color pattern to use. You can use a bitwise OR (|) to specify one flag from each group.

The following flags indicate which type of plasma effect to create:

Value

Meaning

PLSTYP_VERTICAL

[0x0000] Create vertical lines of plasma.

PLSTYP_HORIZONTAL

[0x0001] Create horizontal lines of plasma.

PLSTYP_DIAGONAL

[0x0002] Create diagonal lines of plasma.

PLSTYP_CROSS

[0x0003] Create crossed lines of plasma.

PLSTYP_CIRCULAR

[0x0004] Create circles of plasma.

PLSTYP_RANDOM1

[0x0005] Create randomly shaped plasma.

PLSTYP_RANDOM2

[0x0006] Create a different type of randomly shaped plasma

The following flags indicate which color pattern to use:

Value

Meaning

PLSCLR_HUE

[0x0000] Use the first predefined color pattern

PLSCLR_RGB1

[0x0010] Use the second predefined color pattern.

PLSCLR_RGB2

[0x0020] Use the third predefined color pattern.

PLSCLR_CUST

[0x0030] Use the frequency parameters (lRedFreq, lGreenFreq, lBlueFreq) to generate user-defined plasma colors.