GetROP2

  int GetROP2(hdc)    
  HDC hdc; /* device-context handle */

The GetROP2 function retrieves the foreground mix mode. The mix mode specifies how the pen or interior color and the color already on the surface are combined to yield a new color.

Parameters

hdc

Identifies the device context.

Return Value

The return value specifies the foreground mix mode. The return value is 0 if an error occurred.

See Also

SetROP2