Yes quite weird as you need to have QUOTES for this.

C:\Temp\*.*

So you should get an error alright.

I just ran this code and it deleted all files and gave an error of 0

Code:
Del 'C:\Temp\*.*' /c /f /h
'ERROR: ' + @ERROR + ' - ' + @SERROR ?