Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <windows.h>
- int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrev,
- PSTR cmdLine, int cmdShow)
- {
- HWND desktop = GetDesktopWindow();
- HDC hdc = GetWindowDC(desktop);
- TCHAR label[] = TEXT("hoge");
- TextOut(hdc, 100, 100, label, lstrlen(label));
- UpdateWindow(desktop);
- }
Add Comment
Please, Sign In to add comment