Match new RTL API to fix build
This commit is contained in:
@@ -55,13 +55,13 @@ BlpUpdateGlobalConfiguration(IN PWCHAR Options)
|
||||
SIZE_T Length;
|
||||
|
||||
/* Tokenize provided options */
|
||||
Argument = RtlWideStringTokenize(Options, L" ", &LastArg);
|
||||
Argument = RtlTokenizeWideString(Options, L" ", &LastArg);
|
||||
|
||||
/* Iterate over all arguments passed to boot loader */
|
||||
while(Argument != NULL)
|
||||
{
|
||||
/* Check all provided parameters */
|
||||
if(RtlWideStringCompare(Argument, L"DEFAULT=", 8) == 0)
|
||||
if(RtlCompareWideString(Argument, L"DEFAULT=", 8) == 0)
|
||||
{
|
||||
/* Skip to the argument value and calculate argument length */
|
||||
Argument += 8;
|
||||
@@ -72,7 +72,7 @@ BlpUpdateGlobalConfiguration(IN PWCHAR Options)
|
||||
RtlCopyMemory(BlpConfiguration.Default, Argument, (Length * sizeof(WCHAR)) - 1);
|
||||
BlpConfiguration.Default[Length] = '\0';
|
||||
}
|
||||
else if(RtlWideStringCompare(Argument, L"DEBUG=", 6) == 0)
|
||||
else if(RtlCompareWideString(Argument, L"DEBUG=", 6) == 0)
|
||||
{
|
||||
/* Skip to the argument value */
|
||||
Argument += 6;
|
||||
@@ -87,12 +87,12 @@ BlpUpdateGlobalConfiguration(IN PWCHAR Options)
|
||||
BlpConfiguration.Debug[Length] = '\0';
|
||||
}
|
||||
}
|
||||
else if(RtlWideStringCompare(Argument, L"SHELL", 5) == 0)
|
||||
else if(RtlCompareWideString(Argument, L"SHELL", 5) == 0)
|
||||
{
|
||||
/* Force shell mode */
|
||||
BlpConfiguration.Shell = TRUE;
|
||||
}
|
||||
else if(RtlWideStringCompare(Argument, L"TIMEOUT=", 8) == 0)
|
||||
else if(RtlCompareWideString(Argument, L"TIMEOUT=", 8) == 0)
|
||||
{
|
||||
/* Skip to the argument value */
|
||||
Argument += 8;
|
||||
@@ -108,7 +108,7 @@ BlpUpdateGlobalConfiguration(IN PWCHAR Options)
|
||||
Argument++;
|
||||
}
|
||||
}
|
||||
else if(RtlWideStringCompare(Argument, L"TUNE=", 5) == 0)
|
||||
else if(RtlCompareWideString(Argument, L"TUNE=", 5) == 0)
|
||||
{
|
||||
/* Skip to the argument value */
|
||||
Argument += 5;
|
||||
@@ -121,6 +121,6 @@ BlpUpdateGlobalConfiguration(IN PWCHAR Options)
|
||||
}
|
||||
|
||||
/* Take next argument */
|
||||
Argument = RtlWideStringTokenize(NULL, L" ", &LastArg);
|
||||
Argument = RtlTokenizeWideString(NULL, L" ", &LastArg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user