to make RegisterMioSocDevice UnRegisterMioSocDevice compile ok but not test ok