Debugging Tools for Windows |
The GetOffsetInformation method provides general information about an address in a process's data space.
HRESULT
IDebugDataSpaces4::GetOffsetInformation(
IN ULONG Space,
IN ULONG Which,
IN ULONG64 Offset,
OUT OPTIONAL PVOID Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG InfoSize
);
Value | Description |
---|---|
DEBUG_VSOURCE_INVALID | The Offset offset is not available in the process's virtual address space. This could mean that the address is invalid, or that the memory is unavailable — for example, a crash-dump file might not contain all of the memory for the process or for the kernel. |
DEBUG_VSOURCE_DEBUGGEE | The virtual memory at the Offset offset is provided by the target. |
DEBUG_VSOURCE_MAPPED_IMAGE | The debugger engine reads the target's virtual memory at Offset offset from a local image file. This is often the case in minidump files where the module images are not included in the dump file and are instead loaded by the debugger engine. |
This method can also return error values. See Return Values for more details.
GetOffsetInformation is available in IDebugDataSpaces4 and later versions.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.