共用方式為


IDebugObject::GetMemoryContext

Gets the memory context that represents the address of the value of the object.

HRESULT GetMemoryContext( 
   IDebugMemoryContext2** pContext
);
int GetMemoryContext(
   ref IDebugMemoryContext2 pContext
);

Parameters

  • pContext
    [out] Returns an IDebugMemoryContext2 object representing the address of the value of the object.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The returned memory context specifies the address of the value as represented by this IDebugObject object.

See Also

Reference

IDebugMemoryContext2