winspool: Implement EnumMonitorsAW

Detlef Riekenberg wine.dev at web.de
Wed Feb 22 17:31:07 CST 2006


Alexandre thinks, the lasterror-handling is a bit wired:

- Added some comments and synced to CVS.


The variable "lasterror" is used to hold the returned lasterror
and also as a Flag to avoid "goto":

lasterror == NO_ERROR: everything is ok, do the work
lasterror != NO_ERROR: something failed. skip most code


Changelog:
 - winspool: Implement EnumMonitorsA/W

-- 
By By ...
      ... Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement_EnumMonitors.diff
Type: text/x-patch
Size: 12799 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060223/1367fcd6/implement_EnumMonitors-0001.diff


More information about the wine-patches mailing list