Could anyone help me in debugging this very very simple Direct Draw program?

Printable View