Based on patch by Austin English. Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>