Commit 6e373aa6 authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

quartz: Return increasing monitor GUID on VMR7 monitor enumeration.

parent 95317c33
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment