SetTextColor function gdi32

COLORREF SetTextColor(
  1. HDC hdc,
  2. COLORREF color
)

Sets the text color for the specified device context to the specified color.

To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-settextcolor.

Implementation

@pragma('vm:prefer-inline')
COLORREF SetTextColor(HDC hdc, COLORREF color) =>
    COLORREF(_SetTextColor(hdc, color));