Wiktionary
what the devil
interj. (context idiomatic English) used to add emphasis to "what" when beginning question.