共用方式為


IDebugProperty2::GetMemoryBytes

Gets the memory bytes that compose the value of a property.

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

Reference

IDebugProperty2

IDebugMemoryBytes2