windowskernelprogrammingbook2e
windowskernelprogrammingbook2e copied to clipboard
code neatpick: ExAllocatePoolWithTag deprecated, page 44
-
UNREFERENCED_PARAMETER
not needed sinceDriverObject
is referenced? - Did we need to cast
RegistryPath
since it was already PUNICODE_STRING from theDriverEntry
function definition? - Lastly I get warning that
ExAllocatePoolWithTag
is deprecated:
Warning C4996 'ExAllocatePoolWithTag': ExAllocatePoolWithTag is deprecated, use ExAllocatePool2.
This might require update of table 3-4 too on page 42:
== Developing on Windows 11.