File size: 406 Bytes
48e3321 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #include <Windows.h>
DWORD WINAPI shader1(LPVOID lpParam) {
int x = GetSystemMetrics(0);
int y = GetSystemMetrics(1);
while (true) {
HDC hdc = GetDC(0);
RoundRect(hdc, x, y, 8, 1, 9, 0);
SelectObject(hdc, 0);
BitBlt(hdc, 0, 0, x, y, hdc, 0, 0, SRCERASE);
DeleteDC(hdc);
}
}
int main() {
CreateThread(0, 0, shader1, 0, 0, 0);
Sleep(5000);
}
|