winspool: [1/2] minimal load/unload printmonitors; use it to get a test working (v2)

Detlef Riekenberg wine.dev at web.de
Sat Sep 2 15:50:32 CDT 2006


A compiler-Warning slipped in the prev. version during a last-second
change.
Sorry for that.
----------------

 - add Functions to load/initialize and unload a Printmonitor
 - Use the Functions in AddMonitorW to get a test working
 - Remove the "todo_wine" from the test

Changelog:
  - winspool: minimal load/unload printmonitors; use it to get a test
working

As requested by Mike, I removed the critical section and the
list-handling.
The the remaining code is enough, to make the test working
(reduced Patch-Size).
The struct and the helper-Functions are cippled now and need to be
upgraded in the next Patch.

Some identions might look wired where I removed some code, but when I
change this also, the upgrade-Patch will be much larger.


-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimal_load_monitor_v2.diff
Type: text/x-patch
Size: 8716 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060902/d0beae0b/minimal_load_monitor_v2.bin


More information about the wine-patches mailing list