Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ReadPhysical method reads the target's memory from the specified physical address.
Syntax
HRESULT ReadPhysical(
[in] ULONG64 Offset,
[out] PVOID Buffer,
[in] ULONG BufferSize,
[out, optional] PULONG BytesRead
);
Parameters
[in] Offset
Specifies the physical address of the memory to read.
[out] Buffer
Receives the memory that is read.
[in] BufferSize
Specifies the size in bytes of the buffer Buffer. This is the maximum number of bytes that will be read.
[out, optional] BytesRead
Receives the number of bytes read from the target's memory. If BytesRead is NULL, this information is not returned.
Return value
Return code | Description |
---|---|
|
The method was successful. |
This method can also return error values. See Return Values for more details.
Remarks
This method is only available in kernel-mode debugging.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |