I am sure you will need GDI + to do this, but it should be there with GDI:
using namespace Gdiplus;
Graphics g (hdc);
SolidBrush brush (Color (127 , 0 , 0 , 255 ));
g.FillRectangle (&brush, 0, 0, width, height);
GDI +, , -, , SelectObject DeleteObject.
, / GDI + Gdiplus -lgdiplus.
GDI, , , AlphaBlend, , . GDI +, , , GDI.