Partilhar via


IDebugProperty2::GetMemoryContext

Gets the memory context of the property value.

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

Reference

IDebugProperty2

IDebugMemoryContext2