mmdevapi: Attempt to determine default devices from the registry.
commit66724f617ef8871c91619dbbf8ce12a0e90a6258
authorAndrew Eikum <aeikum@codeweavers.com>
Wed, 5 Oct 2011 18:39:53 +0000 (5 13:39 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 5 Oct 2011 21:50:29 +0000 (5 16:50 -0500)
treef5dda85f8b267fd251ce68057898fd409d55d4dc
parentb07a82c01dc0422719a98f20471f240b35d9e5db
mmdevapi: Attempt to determine default devices from the registry.

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
dlls/mmdevapi/main.c
dlls/mmdevapi/mmdevapi.h