Skip to content

NtSetInformationVirtualMemory returns with ntstatus 0xC00000F4 (STATUS_INVALID_PARAMETER_6) #2

Description

@11philip22

Hi, When running your code it fails on calling NtSetInformationVirtualMemory it returns with ntstatus 0xC00000F4 which means parameters 6 is invalid. Which is the lenght of VmInformation according to this: https://processhacker.sourceforge.io/doc/ntmmapi_8h.html#acca2104ed60d4521b444d8cd6ff40ce4. I tried replacing it with 0x20 because sizeof shows that VmInformation is 32 bytes long. But it didnt help and i got the same results. Any idea how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions