[PATCH v2] winebus.sys: Allow mapping of SDL controllers
Aric Stewart
aric at codeweavers.com
Fri Mar 15 14:49:13 CDT 2019
On 3/15/19 2:45 PM, Zebediah Figura wrote:
> On 03/15/2019 02:35 PM, Aric Stewart wrote:
>>
>> It is easier for me here as I am being passed a UNICODE_STRING with the full path for the driver registry path in an NT API format.
>>
>> -aric
>>
>
> For opening the key, yes, better to use NtOpenKey(). But there's no need
> to use NtEnumerateValueKey(); you can pass the same handle to
> RegEnumValue(). This would also let you use RegEnumValueA() instead of
> doing the conversion yourself.
>
I had not thought about mixing the NT registry functions and the advapi32 ones... That feels like crossing the streams bad. :)
-aric
More information about the wine-devel
mailing list