IDebugBoundBreakpoint2:: SetCondition

设置或更改该条件与此绑定断点。

HRESULT SetCondition( 
   BP_CONDITION bpCondition
);
int SetCondition( 
   enum_BP_CONDITION bpCondition
);

参数

  • bpCondition
    [in] 从描述条件的 BP_CONDITION 枚举的值。

返回值

如果成功,则返回; S_OK否则,返回错误代码。 返回 E_BP_DELETED ,如果绑定断点对象的状态设置为 BPS_DELETED (的一部分 BP_STATE 枚举)。

备注

以前与该断点的任何条件丢失。

请参见

参考

IDebugBoundBreakpoint2

BP_CONDITION

BP_STATE