init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include "ob_reg_callback.h"
|
||||
#include "anit_screen_grap.h"
|
||||
#include "create_thread_callback.h"
|
||||
|
||||
EXTERN_C NTSTATUS DriverEntry(PDRIVER_OBJECT drv_obj, PUNICODE_STRING)
|
||||
{
|
||||
drv_obj->DriverUnload = [](PDRIVER_OBJECT)
|
||||
{
|
||||
ob_call_back::uninstall_ob_callback();
|
||||
thread_notify_routine::unload_thread_routine();
|
||||
};
|
||||
|
||||
kernel_api::kernel_api_init();
|
||||
thread_notify_routine::create_thread_routine();
|
||||
ob_call_back::register_ob_reg_callback();
|
||||
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user