[PATCH 3/4] mmdevapi: Attempt to determine default devices from the registry

Andrew Eikum aeikum at codeweavers.com
Tue Oct 4 16:05:02 CDT 2011


This uses a new, Wine-specific registry key
<HKCU\Software\Wine\Drivers\wine<driver>.drv> to determine the correct
device to use for the various defaults. The drivers still supply their
own, preferred defaults, which will be chosen if no registry entry is
defined. For portability, we use a driver-specific key in order to
support different default devices for different driver backends.
---
 dlls/mmdevapi/devenum.c  |   67 +++++++++++++++++++++++++++++++++++++++++----
 dlls/mmdevapi/main.c     |    7 +++--
 dlls/mmdevapi/mmdevapi.h |    2 +
 3 files changed, 67 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-mmdevapi-Attempt-to-determine-default-devices-from-t.patch
Type: text/x-patch
Size: 4676 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111004/6d6bffa6/attachment.bin>


More information about the wine-patches mailing list