Get windows class and name