to fixup a bug when not initialize critical_section of st_Dinput8KeyMouseStateCS