次の方法で共有


IDebugReference2::GetMemoryBytes

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 memory bytes that physically contain the value of a reference. Reserved for future use.

Syntax

HRESULT GetMemoryBytes ( 
   IDebugMemoryBytes2** ppMemoryBytes
);
int GetMemoryBytes ( 
   out IDebugMemoryBytes2 ppMemoryBytes
);

Parameters

ppMemoryBytes
[out] Returns an IDebugMemoryBytes2 object that can be used to retrieve the memory that contains the value of the reference.

Return Value

Always returns E_NOTIMPL.

See also