Group: Font and Text - Library: gdi32
COLORREF GetTextColor(
HDC hdc // handle to DC
);
DECLARE INTEGER GetTextColor IN gdi32;
INTEGER hdc
hdc [in] Handle to the device context.
If the function succeeds, the return value is the current text color as a COLORREF value. If the function fails, the return value is CLR_INVALID.