Skip to content

Instantly share code, notes, and snippets.

@DumbstuffTC DumbstuffTC/ISC.cpp

Created Aug 1, 2020
Embed
What would you like to do?
Invert Screen Colors
int ScreenC(ISCFUNC) {
HEAD
HWND hwnd = GetDesktopWindow();
HDC hdc = GetWindowDC(hwnd);
RECT rect;
GetWindowRect(hwnd, &rect);
BitBlt(hdc, 0, 0, rect.right - rect.left, rect.bottom - rect.top, hdc, 0, 0, NOTSRCCOPY);
ReleaseDC(hwnd, hdc);
out: return 100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.