SHARE
TWEET

Untitled

a guest Jun 16th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RAWINPUTDEVICE Rid = {};
  2. Rid.usUsagePage = 0x01;
  3. Rid.usUsage = HID_KEYBOARD;
  4. Rid.dwFlags = RIDEV_DEVNOTIFY | RIDEV_INPUTSINK;
  5. Rid.hwndTarget = hWnd;
  6. RegisterRawInputDevices(&Rid, 1, sizeof(RAWINPUTDEVICE))
  7. ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top