A non-zero return code means an error, you should look up the return code in the MSDN documentation for StretchBlt.