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

Andrew Eikum aeikum at codeweavers.com
Wed Oct 5 13:39:53 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 defaults which will be chosen if no registry entry is defined. For
portability we use a driver-specific key in order to support default
devices for each of the driver backends.
---
 dlls/mmdevapi/devenum.c  |   70 ++++++++++++++++++++++++++++++++++++++++++----
 dlls/mmdevapi/main.c     |    7 ++--
 dlls/mmdevapi/mmdevapi.h |    2 +
 3 files changed, 70 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: 4736 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111005/d4adfe4c/attachment.bin>


More information about the wine-patches mailing list