Sdílet prostřednictvím


DkmReadMemoryFlags Enum

Definition

Flags controlling the behavior of DkmProcess.ReadMemory and DkmProcess.ReadMemoryString.

This enumeration supports a bitwise combination of its member values.

public enum class DkmReadMemoryFlags
public enum class DkmReadMemoryFlags
enum DkmReadMemoryFlags
[System.Flags]
public enum DkmReadMemoryFlags
[<System.Flags>]
type DkmReadMemoryFlags = 
Public Enum DkmReadMemoryFlags
Inheritance
DkmReadMemoryFlags
Attributes

Fields

Name Value Description
None 0

Indicates that the caller wants the default behavior for ReadMemory.

AllowPartialRead 1

Indicates that the caller wants the read operation to succeed if only part of the memory read succeeded. If this is set, an E_INVALID_MEMORY_ADDRESS error will only be raised if 'Address' is invalid. If this flag is clear, a E_INVALID_MEMORY_ADDRESS error will be raised if any portion of the requested memory was unreadable.

ExecutableOnly 2

Indicates that the read should only succeed if the memory pages in question have one of the the execute flags set (PAGE_EXECUTE, PAGE_EXECUTE_READONLY, etc.). If combined with AllowPartialRead, this will return all memory between the starting address and the end of the executable region. If no executable code is found, the read fails with E_INVALID_MEMORY_PROTECT.

ReadGPUPointer 4

Indicates that the read is a GPU C++ AMP pointer and that the high bits should be read from the tag memory.

Applies to