http://bugs.winehq.org/show_bug.cgi?id=21099
Summary: Please fix unimplemented GetGuiResources (dont return 0) Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: sbastig@gmx.net
Created an attachment (id=25320) --> (http://bugs.winehq.org/attachment.cgi?id=25320) Patch to return 1 instead of 0
Remarks A process without a graphical user interface does not use GUI resources, therefore, GetGuiResources will return zero.
GR_GDIOBJECTS 0 -- Return the count of GDI objects. GR_GDIOBJECTS_PEAK 2 -- Return the peak count of GDI objects. (Win 7 Only) ...
http://msdn.microsoft.com/en-us/library/ms683192%28VS.85%29.aspx
As this function is not implemented for the time being it might be usefull to return 1 or a value greater than 0.