UserNotes: Add default priority values
@@ -462,6 +462,10 @@ BOOLEAN FindIfeoObject(
{
*CpuPriorityClass = value;
}
+ else
+ {
+ *CpuPriorityClass = ULONG_MAX;
+ }
}
if (IoPriorityClass)
@@ -470,6 +474,10 @@ BOOLEAN FindIfeoObject(
{
*IoPriorityClass = value;
}
+ else
+ {
+ *IoPriorityClass = ULONG_MAX;
+ }
}
if (PagePriorityClass)
@@ -478,6 +486,10 @@ BOOLEAN FindIfeoObject(
{
*PagePriorityClass = value;
}
+ else
+ {
+ *PagePriorityClass = ULONG_MAX;
+ }
}
NtClose(keyHandle);
