Jaa


IDebugProperty2::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 compose the value of a property.

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 property.

Return Value

If successful, returns S_OK; otherwise returns error code. Returns S_GETMEMORYBYTES_NO_MEMORY_BYTES if there are no memory bytes to retrieve.

See also