Compare commits

..

No commits in common. "master" and "tag1.0" have entirely different histories.

View File

@ -13,7 +13,6 @@ LRESULT CALLBACK MouseProc(int nCode, WPARAM wParam, LPARAM lParam);
Gdiplus::Graphics* graphics;
ULONG_PTR gdiplusToken;
HWND hwnd;
HHOOK hook;
mutex mtx;
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
@ -42,7 +41,8 @@ int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszA
}
CreateFullScreenTransparentWindow(L"報炎蒙丼", L"cursor_anim");
hook = SetWindowsHookEx(WH_MOUSE_LL, MouseProc, NULL, 0);
HHOOK hook = SetWindowsHookEx(WH_MOUSE_LL, MouseProc, NULL, 0);
// 幹秀<E5B9B9>
@ -122,7 +122,6 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
delete graphics;
UnregisterHotKey(hwnd, g_hotkeyId);
Gdiplus::GdiplusShutdown(gdiplusToken);
UnhookWindowsHookEx(hook);
PostQuitMessage(0);
break;
}