共用方式為


IDebugHostMemory4 介面 (dbgmodel.h)

基礎調試程式的記憶體存取介面第 4 版。

這個第 4 版的 介面支援所有具有相同簽章的先前方法,並包含提供新增功能的其他新方法。 新方法會列在該介面區段結尾的標頭中。

遺產

IDebugHostMemory4 介面繼承自 IDebugHostMemory3 介面。

方法

IDebugHostMemory4 介面具有這些方法。

 
IDebugHostMemory4::AddRef

AddRef 方法會遞增 對象的參考計數。
IDebugHostMemory4::CanonicalizeLocation

CanonicalizeLocation 方法會將指定位置轉換成其「標準表示法」,這是選擇的標準形式。
IDebugHostMemory4::GetDisplayStringForLocation

針對內容和位置所定義之目標位址空間內的指定位置,將位置轉換為可顯示的字串(根據主機選擇的格式而定)。
IDebugHostMemory4::GetPhysicalAddressLocation

GetPhysicalAddressLocation 方法會建立位置結構,以實體記憶體位址表示位移。
IDebugHostMemory4::IsPhysicalAddressLocation

IsPhysicalAddressLocation 方法會傳回指定位置是否代表實體位址。
IDebugHostMemory4::LinearizeLocation

取得可能代表虛擬記憶體位址以外的位置,並嘗試將位置線性化為指定內容內的虛擬記憶體位址。
IDebugHostMemory4::QueryInterface

QueryInterface 方法會擷取對象上支援介面的指標。
IDebugHostMemory4::ReadBytes

ReadBytes 方法會從目標地址空間讀取指定內容和位置的位元元組數。
IDebugHostMemory4::ReadPointers

ReadPointers 方法會從指定內容和位置的目標位址空間讀取一些指標。
IDebugHostMemory4::Release

IDebugHostMemory4::Release 方法會釋放記憶體對象的參考。
IDebugHostMemory4::WriteBytes

IDebugHostMemory4::WriteBytes 方法會將一些位元組寫入指定內容和位置的目標地址空間。
IDebugHostMemory4::WritePointers

IDebugHostMemory4::WritePointers 方法會將許多指標寫入目標地址空間。

要求

要求 價值
標頭 dbgmodel.h

另請參閱

調試程序數據模型C++概觀