IDebugDataSpaces4::GetValidRegionVirtual method (dbgeng.h)

The GetValidRegionVirtual method locates the first valid region of memory in a specified memory range.

Syntax

HRESULT GetValidRegionVirtual(
  [in]  ULONG64  Base,
  [in]  ULONG    Size,
  [out] PULONG64 ValidBase,
  [out] PULONG   ValidSize
);

Parameters

[in] Base

Specifies the address of the beginning of the memory range to search for valid memory.

[in] Size

Specifies the size, in bytes, of the memory range to search.

[out] ValidBase

Receives the address of the beginning of the found valid memory.

[out] ValidSize

Receives the size, in bytes, of the valid memory.

Return value

This method can also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

GetNextDifferentlyValidOffsetVirtual

IDebugDataSpaces4