IDebugHostContextControl 介面 (dbgmodel.h)
此介面允許變更調試程式的「目前」內容(內部狀態)(IDebugHostContext)。
內容變更可以是完整變更/參數(例如變更目前的進程/線程/etx。正在偵錯)或暫時切換。 調試程式內部狀態的暫時變更/切換可能會以不一致的狀態改變調試程式,而且除非還原變更/切換,否則所有調試程式功能都無法使用。
遺產
IDebugHostContextControl 繼承自 IUnknown。
方法
IDebugHostContextControl 介面具有這些方法。
IDebugHostContextControl::AddRef IDebugHostContextControl::AddRef 方法會遞增物件上介面的參考計數。 |
IDebugHostContextControl::GetContextAlternator GetContextAlternator 方法會擷取內容替代器,以允許暫時的內容變更/切換。 |
IDebugHostContextControl::QueryInterface QueryInterface 方法會查詢內容物件上指定介面的指標。 |
IDebugHostContextControl::Release Release 方法會遞減內容對象的參考計數。 |
IDebugHostContextControl::SwitchTo SwitchTo 方法會將內容切換至指定的內容。 |
要求
要求 | 價值 |
---|---|
標頭 | dbgmodel.h |