lFlags

Flags that indicate how to handle peripherally exposed areas and areas exposed inside the surface. You can use a bit wise OR (|) to specify one flag from each group.

The following are the flags that indicate how to handle peripherally exposed areas:

Value

Meaning

FILL_CLR

[0x0000] Fill any exposed areas with crFill.

FILL_RPT

[0x0001] Stretch the image edges to fill the exposed area.

FILL_NOCHG

[0x0002] Leave the exposed area as is, without changing it.

The following are the flags that indicate how to handle exposed areas inside the surface:

Value

Meaning

FILL_ROT

[0x0000] Rotate the image inside the surface pattern.

FILL_WOUTROT

[0x0010] Fill the exposed center the same way the peripherally exposed areas are filled.