get_foreground_mix


int get_foreground_mix(handle device)

This function obtains the foreground mix of a device context.

Parameters

handle device

The handle of the device context whose mix is being queried.

Return

int

Zero An error occurred.
Other The current foreground mix of the device context.

Notes

The foreground mix mode determines how the pen or interior color is combined with the color on the screen.

Foreground mix modes may be found in the enumeration mix.