[PATCH 1/5] include: Add Wine-specific theming hook struct to winuser.h

Mark Harmstone hellas at burntcomma.com
Mon Mar 23 18:20:09 CDT 2015


These patches add theming hook support to uxtheme and user32. On Windows, user32
calls ThemeInitApiHook in uxtheme when a program is launched, and via an
undocumented interface exchanges the addresses of various functions. This is
needed because uxtheme is used to draw the non-client parts of windows - the
captions, the scrollbars, etc.

Because we're using our own interface here, as the official one is undocumented,
I've renamed the hook function WINE_ThemeInitApiHook, to avoid any problems if
anyone ever gets native uxtheme running.

---
 include/winuser.h | 9 +++++++++
 1 file changed, 9 insertions(+)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-include-Add-Wine-specific-theming-hook-struct-to-win.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150323/49ac5d6d/attachment.bin>


More information about the wine-patches mailing list