共用方式為


IDebugBinder3::GetMemoryObject

This method retrieves a memory object that represents the memory that this object is bound to.

HRESULT GetMemoryObject(
   IDebugField*   pField,
   UINT64         uConstant,
   IDebugObject** ppObject
);
int GetMemoryObject(
   IDebugField      pField,
   long             uConstant,
   out IDebugObject ppObject
);

Parameters

  • pField
    [in] Specifies which field to get the memory object for.

  • uConstant
    [in] Represents a memory address or value for a constant value.

  • ppObject
    [out] An IDebugObject representing the memory that this object is bound to.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugBinder3

IDebugField

IDebugObject