http://bugs.winehq.org/show_bug.cgi?id=26044
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2011-03-02 16:14:44 CST --- I think this is because GetClientRect fails for a NULL hwnd in IOCS_Init, so rect is uninitialized. We don't check for a NULL hwnd even though tests suggest it's a valid case, nor do we check for failure of GetClientRect.
I don't know what the appropriate fix is.