mirror of
https://github.com/reactos/wine.git
synced 2025-01-26 14:05:07 +00:00
quartz: Return increasing monitor GUID on VMR7 monitor enumeration.
This commit is contained in:
parent
95317c33a9
commit
6e373aa695
@ -1314,7 +1314,14 @@ static BOOL CALLBACK get_available_monitors_proc(HMONITOR hmon, HDC hdc, LPRECT
|
||||
VMRMONITORINFO *info = args->info7++;
|
||||
memset(info, 0, sizeof(*info));
|
||||
|
||||
info->guid.pGUID = NULL; /* FIXME */
|
||||
if (args->numdev > 0)
|
||||
{
|
||||
info->guid.pGUID = &info->guid.GUID;
|
||||
info->guid.GUID.Data4[7] = args->numdev;
|
||||
}
|
||||
else
|
||||
info->guid.pGUID = NULL;
|
||||
|
||||
CopyRect(&info->rcMonitor, &mi.rcMonitor);
|
||||
info->hMon = hmon;
|
||||
info->dwFlags = mi.dwFlags;
|
||||
|
Loading…
x
Reference in New Issue
Block a user