ddraw/tests: Check deviceGUID of enumerated devices.

Stefan Dösinger stefandoesinger at gmx.at
Fri Sep 7 03:56:05 CDT 2007


Am Freitag, 7. September 2007 02:44:32 schrieb David Hedberg:
> Ah, I thought this was going a bit too well ;) I'll fix the issues and
> send it in again. Regarding a fix, would something as simple as the
> following be acceptable?
>
> (in dlls/ddraw/direct3d.c)
>
> @@ -263,6 +263,12 @@ IDirect3DImpl_7_EnumDevices(IDirect3D7 *iface,
>          return hr;
>      }
>      Callback(interface_name, device_name, &ddesc, Context);
> +
> +    ddesc.deviceGUID = IID_IDirect3DHALDevice;
> +    Callback(interface_name, device_name, &ddesc, Context);
> +
> +    ddesc.deviceGUID = IID_IDirect3DRGBDevice;
> +    Callback(interface_name, device_name, &ddesc, Context);
You should set the right interface and device name string too.



More information about the wine-devel mailing list