Оказалось, что это была ошибка в документации. Её поправили и посмотрите, что получилось . Было: puiNumDevices [in, out] Pointer to a variable. If pRawInputDeviceList is NULL, it specifies the number of devices attached to the system. Otherwise, it contains