Update README.md

merge-requests/1/head
xerox 5 years ago
parent 6516da9325
commit a621be303c

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

Loading…
Cancel
Save