mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
rename
This commit is contained in:
parent
bffc16115d
commit
18109448bc
1 changed files with 13 additions and 16 deletions
|
@ -79,7 +79,7 @@ DrvLoadInitialiseDriverConfig(_In_ PDRIVER_OBJECT DriverObject,
|
|||
#endif
|
||||
|
||||
typedef struct _DRIVER_CONFIG {
|
||||
volatile LONG nmi_status;
|
||||
volatile UINT32 nmi_status;
|
||||
UNICODE_STRING unicode_driver_name;
|
||||
ANSI_STRING ansi_driver_name;
|
||||
PUNICODE_STRING device_name;
|
||||
|
@ -94,17 +94,13 @@ typedef struct _DRIVER_CONFIG {
|
|||
KGUARDED_MUTEX lock;
|
||||
SYS_MODULE_VAL_CONTEXT sys_val_context;
|
||||
IRP_QUEUE_HEAD irp_queue;
|
||||
|
||||
/* terrible name..lol what is tis timer for ?? */
|
||||
TIMER_OBJECT timer;
|
||||
|
||||
TIMER_OBJECT integrity_check_timer;
|
||||
ACTIVE_SESSION session_information;
|
||||
RB_TREE thread_tree;
|
||||
DRIVER_LIST_HEAD driver_list;
|
||||
RTL_HASHMAP process_hashmap;
|
||||
SHARED_MAPPING mapping;
|
||||
BOOLEAN has_driver_loaded;
|
||||
|
||||
BCRYPT_ALG_HANDLE aes_hash;
|
||||
BCRYPT_ALG_HANDLE sha256_hash;
|
||||
} DRIVER_CONFIG, *PDRIVER_CONFIG;
|
||||
|
@ -419,7 +415,8 @@ VOID
|
|||
DrvUnloadFreeTimerObject()
|
||||
{
|
||||
PAGED_CODE();
|
||||
CleanupDriverTimerObjects(&GetDecryptedDriverConfig()->timer);
|
||||
CleanupDriverTimerObjects(
|
||||
&GetDecryptedDriverConfig()->integrity_check_timer);
|
||||
}
|
||||
|
||||
STATIC
|
||||
|
@ -881,7 +878,7 @@ DrvLoadInitialiseDriverConfig(_In_ PDRIVER_OBJECT DriverObject,
|
|||
return status;
|
||||
}
|
||||
|
||||
status = InitialiseTimerObject(&cfg->timer);
|
||||
status = InitialiseTimerObject(&cfg->integrity_check_timer);
|
||||
|
||||
if (!NT_SUCCESS(status)) {
|
||||
DEBUG_ERROR("InitialiseTimerObject failed with status %x", status);
|
||||
|
|
Loading…
Reference in a new issue