Does the enum_device_entry structure have to be in ddraw_private.h? I think you can just declare it in ddraw.c because it is used only there.
At some point we'll want to get rid of the ddraw device type strings and call wined3d_get_adapter_identifier - but that needs more work and some more tests.
Am 31.05.2011 um 12:50 schrieb Andrew Nguyen:
---
dlls/ddraw/ddraw.c | 43 +++++++++++++------
dlls/ddraw/ddraw_private.h | 8 ++++
dlls/ddraw/tests/d3d.c | 98 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 136 insertions(+), 13 deletions(-)
<0004-ddraw-Extend-the-lifetime-of-the-EnumDevices-strings-b.txt>