Though it seems to me that calling NtUserGetPrimaryMonitorRect returns the current monitor size, which is initialized to whatever is configured in winecfg, but may change if the mode is changed? Shouldn't we always report a mode with the winecfg resolution instead?
Right, querying from the registry seems more robust.