diff --git a/README.md b/README.md index 5fd6d91..20e2054 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ bool unmap_phys( } ``` -# Other +# DriverEntry you can change the paremeters you pass to driver entry simply by changing this: @@ -151,3 +151,17 @@ right now your entry point should look like this: ```cpp NTSTATUS DriverEntry(PVOID lpBaseAddress, DWORD32 dwSize) ``` + +The source the hello-world.sys is the following: + +```cpp + +#include + +NTSTATUS DriverEntry(PVOID lpBaseAddress, DWORD32 dwSize) +{ + DbgPrint("> Base Address: 0x%p, Size: 0x%x", lpBaseAddress, dwSize); + return STATUS_SUCCESS; +} + +```