init
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user