Partager via


IDebugPointerObject::Dereference

Gets the object pointed to.

HRESULT DeReference( 
   DWORD          dwIndex,
   IDebugObject** ppObject
);
int Dereference(
   uint             dwIndex, 
   out IDebugObject ppObject
);

Parameters

  • dwIndex
    [in] A simple byte offset from the beginning of the object pointed to.

  • ppObject
    [out] Returns an IDebugObject object representing the object pointed to, plus offset, if any.

Return Value

If successful, returns S_OK; otherwise, returns an error code. Returns E_FAIL if this object does not point to another object.

Remarks

The object pointed to can be a primitive or a more complex type such as a class or structure.

See Also

Reference

IDebugPointerObject