IDebugBinder3::GetMemoryObject

Note

This article applies to Visual Studio 2015. 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

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

Syntax

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

IDebugBinder3
IDebugField
IDebugObject