IDebugControl2::SetEffectiveProcessorType 方法 (dbgeng.h)

SetEffectiveProcessorType 方法會設定執行目標之計算機之處理器的有效處理器類型。

語法

HRESULT SetEffectiveProcessorType(
  [in] ULONG Type
);

參數

[in] Type

指定處理器的類型。 如需可能的值,請參閱 GetActualProcessorType 中的 Type 參數。

傳回值

這個方法也可能傳回錯誤值。 如需詳細資訊,請參閱 傳回值

傳回碼 描述
S_OK
此方法成功。

備註

如需詳細資訊,請參閱 目標資訊

規格需求

需求
目標平台 桌面
標頭 dbgeng.h (包含 Dbgeng.h)

另請參閱

GetEffectiveProcessorType

IDebugControl

IDebugControl2

IDebugControl3