Partager via


IDebugProperty2::GetMemoryBytes

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

IDebugProperty2
IDebugMemoryBytes2