http://bugs.winehq.org/show_bug.cgi?id=23772
--- Comment #8 from Ivan Permyakov info@vmpsoft.com 2010-07-26 05:53:44 --- Regardless of parameter's zeroing, the returned status is essential. You may leave memset() if you wish, just return the correct status instead of 0.