https://bugs.winehq.org/show_bug.cgi?id=51590
--- Comment #2 from François Gouget fgouget@codeweavers.com --- The NULLDRV_DEFAULT_HMONITOR issue is probably the cause of the services.exe:service failures on debiant2:
service.c:422: Test failed: service: Unexpected monitor rcMonitor values: {1024,0,2048,735} service.c:422: Test failed: service: Unexpected monitor rcWork values: {1024,0,2048,735} service.c:422: Test failed: service: Unexpected szDevice received: \.\DISPLAY2 service.c:422: Test failed: service: Unexpected secondary monitor info. service.c:422: Test failed: service: Callback got called less or more than once. 2
Again these are real values coming from the multi-monitor configuration, particularly \.\DISPLAY2, when they should instead be some sort of generic values, and like the \.\DISPLAY1 returned in the NULLDRV_DEFAULT_HMONITOR case.
On Windows[1] we always get 1024x768 + WinDisc for dual-screen configurations, even when the monitor sizes are 1280x1024 and 800x600 respectively. This does mean Windows returns fake monitor information (but not 640x480!).
[1] Actually this is true starting with Windows Vista. Windows XP / 2003 returned the real monitor information.