Commit f9cdab4d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

Added (stubbed) SystemDriverInformation and

SystemInterruptInformation.
parent 55c1073b
......@@ -790,6 +790,21 @@ NTSTATUS WINAPI NtQuerySystemInformation(
else ret = STATUS_INFO_LENGTH_MISMATCH;
}
break;
case SystemDriverInformation:
{
SYSTEM_DRIVER_INFORMATION sdi;
memset(&sdi, 0, sizeof(sdi));
len = sizeof(sdi);
if ( Length >= len)
{
if (!SystemInformation) ret = STATUS_ACCESS_VIOLATION;
else memcpy( SystemInformation, &sdi, len);
}
else ret = STATUS_INFO_LENGTH_MISMATCH;
}
break;
case SystemHandleInformation:
{
SYSTEM_HANDLE_INFORMATION shi;
......@@ -816,6 +831,21 @@ NTSTATUS WINAPI NtQuerySystemInformation(
else ret = STATUS_INFO_LENGTH_MISMATCH;
}
break;
case SystemInterruptInformation:
{
SYSTEM_INTERRUPT_INFORMATION sii;
memset(&sii, 0, sizeof(sii));
len = sizeof(sii);
if ( Length >= len)
{
if (!SystemInformation) ret = STATUS_ACCESS_VIOLATION;
else memcpy( SystemInformation, &sii, len);
}
else ret = STATUS_INFO_LENGTH_MISMATCH;
}
break;
case SystemKernelDebuggerInformation:
{
PSYSTEM_KERNEL_DEBUGGER_INFORMATION pkdi;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment