VOID APIENTRY drawText( HWND hwnd, wchar_t text[128], int x, int y )
{ HDC hdc;
PAINTSTRUCT ps;
hdc = GetDC(hwnd);
ExtTextOut( hdc, x, y, NULL, NULL,
text, _tcslen(text), NULL);
ReleaseDC(hwnd, hdc);
}
VOID APIENTRY initializeBackground( HWND hwnd )
{ HDC hdc;
PAINTSTRUCT ps;
hdc = BeginPaint(hwnd, &ps);
EndPaint(hwnd, &ps);
}