[UNIATA] DriverEntry(): Fix 'Paramaters' typo, in reg key names

CORE-17524
This commit is contained in:
Serge Gautherie 2020-11-12 01:22:46 +01:00 committed by Stanislav Motylkov
parent d3fc345730
commit 29c061e499

View file

@ -10754,11 +10754,19 @@ DriverEntry(
}
if(WinVer_Id() >= WinVer_2k) {
#ifndef __REACTOS__
if(AtapiRegCheckParameterValue(NULL, L"Paramaters\\PnpInterface", L"1", 0)) {
#else
if(AtapiRegCheckParameterValue(NULL, L"Parameters\\PnpInterface", L"1", 0)) {
#endif
KdPrint(("UniATA: Behave as WDM, mlia (1)\n"));
WinVer_WDM_Model = TRUE;
}
#ifndef __REACTOS__
if(AtapiRegCheckParameterValue(NULL, L"Paramaters\\PnpInterface", L"5", 0)) {
#else
if(AtapiRegCheckParameterValue(NULL, L"Parameters\\PnpInterface", L"5", 0)) {
#endif
KdPrint(("UniATA: Behave as WDM, mlia (5)\n"));
WinVer_WDM_Model = TRUE;
}