IDebugHostMemory2 接口 (dbgmodel.h)
基礎調試程式的記憶體存取介面。
這個第 2 版的 介面支援所有具有相同簽章的先前方法,並包含其他提供新增功能的新方法。 新方法會列在該介面區段結尾的標頭中。
遺產
IDebugHostMemory2 繼承自 IDebugHostMemory。
方法
IDebugHostMemory2 介面具有這些方法。
IDebugHostMemory2::AddRef IDebugHostMemory2::AddRef 方法會遞增 物件上介面的參考計數。 |
IDebugHostMemory2::GetDisplayStringForLocation 針對內容和位置所定義之目標位址空間內的指定位置,將位置轉換為可顯示的字串(根據主機選擇的格式而定)。 |
IDebugHostMemory2::LinearizeLocation 取得可能代表虛擬記憶體位址以外的位置,並嘗試將位置線性化為指定內容內的虛擬記憶體位址。 |
IDebugHostMemory2::QueryInterface IDebugHostMemory2::QueryInterface 方法會擷取對象上支援介面的指標。 |
IDebugHostMemory2::ReadBytes IDebugHostMemory2::ReadBytes 方法會從指定內容和位置的目標位址空間讀取一些位元組。 |
IDebugHostMemory2::ReadPointers IDebugHostMemory2::ReadPointers 方法會從目標地址空間讀取指定內容和位置的一些指標。 |
IDebugHostMemory2::Release IDebugHostMemory2::Release 方法會遞減 物件上介面的參考計數。 |
IDebugHostMemory2::WriteBytes IDebugHostMemory2::WriteBytes 方法會將一些位元組寫入指定內容和位置的目標地址空間。 |
IDebugHostMemory2::WritePointers 接受以未帶正負號的64位值保留的指標數目,將它們截斷為目標的原生指標大小,並將其寫入目標地址空間,如傳入的內容和位置所定義。 |
要求
要求 | 價值 |
---|---|
標頭 | dbgmodel.h |