quartz: Return increasing monitor GUID on VMR7 monitor enumeration.

oldstable
Michael Müller 2013-12-31 03:23:19 +01:00 committed by Alexandre Julliard
parent 95317c33a9
commit 6e373aa695
1 changed files with 8 additions and 1 deletions

View File

@ -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;