Adm1n_0v3rride

Blocks mouse input

Mar 13th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3. #include <winable.h>
  4. // Blocks mouse input
  5. using namespace std;
  6.  
  7. int main() {
  8.    
  9.     {
  10.         Freeconsole();
  11.     }
  12.     Sleep(5000);
  13.    
  14.     {
  15.         BlockInput(true);
  16.         Sleep(15000);
  17.         BlockInput(false);
  18.     }
  19.     // Completed.
  20. }
Advertisement
Add Comment
Please, Sign In to add comment