Hello world! Here's a implementation for Set/GetWindowRgn. Notice that it modifies configure.in and make_X11wrappers, so a few additional steps are needed to apply the patch. Here is the procedure cd <your_wine_sandbox_here> patch -p0 < WindowRgn.diff autoconf configure.in > configure ; chmod u+x configure cd include autoheader ../configure.in > config.h.in cd .. ./configure ./tools/make_X11wrappers make depend ; make --- Adds non-rectangular windows support to WINE. Functionality permits support for skin-enabled applications such as WinAMP, RealJukebox and any type of non-rectangular window you can think of. Changelog : - implementations of SetWindowsRgn and GetWindowRgn - GetDCEx updated with a fixme that shows up when applying a window region to a non-native window - X11DRV and TTYDRV updated with new API SetWindowRgn Modified file(s): - configure.in - tools/make_X11wrappers - tsx11/Makefile.in - tsx11/X11_calls - dlls/x11drv/x11drv_main.c - include/acconfig.h - include/ttydrv.h - include/x11drv.h - include/win.h - windows/winpos.c - windows/dce.c - windows/x11drv/init.c - windows/x11drv/wnd.c - windows/ttydrv/init.c - windows/ttydrv/wnd.c François Jacques Macadamian Technologies Inc.