int get_foreground_mix(handle device)
This function obtains the foreground mix of a device context.
The handle of the device context whose mix is being queried.
|An error occurred.
|The current foreground mix of the device context.
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.