Can't get past tutorial 2

I'm on the second tutorial. It wants me to draw a line.
The drawline function won't work. It doesn't do anything. Instead of returning S_OK, its returning: INVALID_RECT. What does that mean?
The drawline function won't work. It doesn't do anything. Instead of returning S_OK, its returning: INVALID_RECT. What does that mean?