Compartilhar via


IDebugProperty2::GetMemoryContext

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

Gets the memory context of the property value.

Syntax

HRESULT GetMemoryContext (   
   IDebugMemoryContext2** ppMemory  
);  
int GetMemoryContext(  
   out IDebugMemoryContext2 ppMemory  
);  

Parameters

ppMemory
[out] Returns the IDebugMemoryContext2 object that represents the memory associated with this property.

Return Value

If successful, returns S_OK; otherwise returns error code. Returns S_GETMEMORYCONTEXT_NO_MEMORY_CONTEXT if there is no memory context to retrieve.

See Also

IDebugProperty2
IDebugMemoryContext2