Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef BOOL (WINAPI *_AW)(HWND, DWORD, DWORD);
- _AW AnimateWin = 0;
- HWND hWindow = NULL;
- /* Anti OllyDbg */
- hWindow = FindWindowA("OLLYDBG", 0);
- hWindow = FindWindowExA(hWindow, 0, "MDIClient", 0);
- //hWindow = FindWindowExA(hWindow, 0, "ACPU", 0);
- if (hWindow != NULL)
- {
- AnimateWin = (_AW)GetProcAddress(
- LoadLibrary("user32.dll"),
- "AnimateWindow");
- if (AnimateWin != 0)
- AnimateWin(hWindow, 1000, 0x00000010 | 0x00010000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement