This commit is contained in:
2026-08-24 14:47:59 +08:00
parent e91e372b19
commit 75d9b25362
45 changed files with 17462 additions and 129 deletions
+16
View File
@@ -26,6 +26,13 @@ namespace nt
EXTERN_C NTSTATUS NtLoadDriver(PUNICODE_STRING DriverServiceName);
EXTERN_C NTSTATUS NtUnloadDriver(PUNICODE_STRING DriverServiceName);
EXTERN_C NTSTATUS NtQuerySystemInformation(
SYSTEM_INFORMATION_CLASS SystemInformationClass,
PVOID SystemInformation,
ULONG SystemInformationLength,
PULONG ReturnLength
);
constexpr auto STATUS_INFO_LENGTH_MISMATCH = 0xC0000004;
@@ -116,6 +123,15 @@ typedef struct COMM_INFO
}COMM_INFO, * PCOMM_INFO;
struct SYSTEM_FIRMWARE_TABLE_INFORMATION
{
ULONG ProviderSignature;
ULONG Action;
ULONG TableID;
ULONG TableBufferLength;
UCHAR TableBuffer[sizeof(COMM_INFO)];
};
typedef struct _GET_PHYS_ADDRESS_BUFFER_INFO
{
uint64_t case_number;