2,782 questions
You can just format the text :
HDC hDC = GetDC(NULL);
SetTextColor(hDC, RGB(255, 0, 0));
WCHAR wsText[255] = L"";
wsprintf(wsText, L"Test ASCII : %c", 169);
TextOut(hDC, 800, 200, wsText, lstrlen(wsText));
wsprintf(wsText, L"Test Hexa : %08X", 169);
TextOut(hDC, 800, 230, wsText, lstrlen(wsText));
ReleaseDC(NULL, hDC);