mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
Merge branch 'master' of https://github.com/donnaskiez/ac
This commit is contained in:
commit
6d0d9ea796
4 changed files with 5 additions and 5 deletions
|
@ -21,7 +21,7 @@ DispatchApcOperation(_In_ PAPC_OPERATION_ID Operation);
|
|||
# pragma alloc_text(PAGE, DeviceCreate)
|
||||
#endif
|
||||
|
||||
#define IOCCTL_RUN_NMI_CALLBACKS \
|
||||
#define IOCTL_RUN_NMI_CALLBACKS \
|
||||
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x20001, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_VALIDATE_DRIVER_OBJECTS \
|
||||
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x20002, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
@ -175,7 +175,7 @@ DeviceControl(_In_ PDRIVER_OBJECT DriverObject, _Inout_ PIRP Irp)
|
|||
|
||||
switch (stack_location->Parameters.DeviceIoControl.IoControlCode)
|
||||
{
|
||||
case IOCCTL_RUN_NMI_CALLBACKS:
|
||||
case IOCTL_RUN_NMI_CALLBACKS:
|
||||
|
||||
DEBUG_INFO("IOCTL_RUN_NMI_CALLBACKS Received.");
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
UNICODE_STRING DRIVER_NAME = RTL_CONSTANT_STRING(L"donna-ac-test");
|
||||
UNICODE_STRING DRIVER_LINK = RTL_CONSTANT_STRING(L"donna-ac-test-link");
|
||||
|
||||
#define IOCCTL_RUN_NMI_CALLBACKS CTL_CODE(FILE_DEVICE_UNKNOWN, 0x20001, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_RUN_NMI_CALLBACKS CTL_CODE(FILE_DEVICE_UNKNOWN, 0x20001, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
NTSTATUS
|
||||
DeviceControl(
|
||||
|
|
|
@ -46,7 +46,7 @@ kernelmode::Driver::RunNmiCallbacks()
|
|||
NMI_CALLBACK_FAILURE report = {0};
|
||||
|
||||
status = DeviceIoControl(this->driver_handle,
|
||||
IOCCTL_RUN_NMI_CALLBACKS,
|
||||
IOCTL_RUN_NMI_CALLBACKS,
|
||||
NULL,
|
||||
NULL,
|
||||
&report,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "../threadpool.h"
|
||||
#include "../client.h"
|
||||
|
||||
#define IOCCTL_RUN_NMI_CALLBACKS \
|
||||
#define IOCTL_RUN_NMI_CALLBACKS \
|
||||
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x20001, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define IOCTL_VALIDATE_DRIVER_OBJECTS \
|
||||
CTL_CODE(FILE_DEVICE_UNKNOWN, 0x20002, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
|
Loading…
Reference in a new issue