IDebugPointerObject::Dereference

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the object pointed to.

Syntax

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