移除端口。
HRESULT RemovePort(
IDebugPort2* pPort
);
int RemovePort(
IDebugPort2 pPort
);
参数
- pPort
[in] 表示要移除的端口的 IDebugPort2 对象。
返回值
如果成功,则返回; S_OK否则,返回错误代码。
备注
此方法从内部端口的提供程序的取消端口列表有效的端口。
移除端口。
HRESULT RemovePort(
IDebugPort2* pPort
);
int RemovePort(
IDebugPort2 pPort
);
如果成功,则返回; S_OK否则,返回错误代码。
此方法从内部端口的提供程序的取消端口列表有效的端口。