http://bugs.winehq.org/show_bug.cgi?id=32654
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2013-03-02 19:07:12 CST --- My test case did call SetSize before passing the empty rect to WriteSource. The call to WriteSource failed. The same code succeeds with a NULL rect.