How can I unregister from RegisterRawInputDevices ()?
A quick look at the documentation shows that you can make some progress by calling RegisterRawInputDeviceswith a flag RIDEV_REMOVEin the RAWINPUTDEVICEstructure. At least where I start.
RegisterRawInputDevices
RIDEV_REMOVE
RAWINPUTDEVICE