From a621be303c85260f2bc7083312b664ccaaafc0ae Mon Sep 17 00:00:00 2001 From: xerox Date: Sun, 19 Apr 2020 10:29:48 +0000 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index b956b74..31d8c6f 100644 --- a/README.md +++ b/README.md @@ -128,3 +128,20 @@ bool unmap_phys( return unmap_phys_ptr ? unmap_phys_ptr(addr, size) : false; } ``` + +# Other + +you can change the paremeters you pass to driver entry simply by changing this: + +```cpp +using DRIVER_INITIALIZE = NTSTATUS(__stdcall*)(std::uintptr_t, std::size_t); +``` + +right now your entry point should look like this: + +```cpp +NTSTATUS DriverEntry(PVOID lpBaseAddress, DWORD32 dwSize) +``` + +You can change this as you see fit. +