Interjection
what the Devil? (idiomatic) Used to add emphasis to “what” when beginning a question. What the Devil have you done to the horse?