to emulation function RegisterRawInputClass