Skip to content

code neatpick: ExAllocatePoolWithTag deprecated, page 44 #7

Description

@profnandaa

image

  1. UNREFERENCED_PARAMETER not needed since DriverObject is referenced?
  2. Did we need to cast RegistryPath since it was already PUNICODE_STRING from the DriverEntry function definition?
  3. 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:

image

==
Developing on Windows 11.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions