获取 (如果有) 以前用于创建端口端口的说明。
HRESULT GetPortRequest(
IDebugPortRequest2** ppRequest
);
int GetPortRequest(
out IDebugPortRequest2 ppRequest
);
参数
- ppRequest
[out] 返回表示用于创建端口的请求的 IDebugPortRequest2 对象。
返回值
如果成功,则返回; S_OK否则,返回错误代码。 使用 IDebugPortRequest2 端口,请求,因此,如果端口尚未创建返回 E_PORT_NO_REQUEST 。