IDebugControl2::SetEffectiveProcessorType 方法 (dbgeng.h)

SetEffectiveProcessorType 方法设置运行目标的计算机的处理器的有效处理器类型。

语法

HRESULT SetEffectiveProcessorType(
  [in] ULONG Type
);

参数

[in] Type

指定处理器的类型。 有关可能的值,请参阅 GetActualProcessorType 中的 Type 参数。

返回值

此方法也可能返回错误值。 有关更多详细信息 ,请参阅返回值

返回代码 说明
S_OK
方法成功。

注解

有关详细信息,请参阅 目标信息

要求

要求
目标平台 桌面
标头 dbgeng.h (包括 Dbgeng.h)

另请参阅

GetEffectiveProcessorType

IDebugControl

IDebugControl2

IDebugControl3