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. +