获取进程运行的端口。
HRESULT GetPort(
IDebugPort2** ppPort
);
int GetPort(
out IDebugPort2 ppPort
);
参数
- ppPort
[out] 返回表示端口处理生成的 IDebugPort2 对象。
返回值
如果成功,则返回; S_OK否则,返回错误代码。
获取进程运行的端口。
HRESULT GetPort(
IDebugPort2** ppPort
);
int GetPort(
out IDebugPort2 ppPort
);
如果成功,则返回; S_OK否则,返回错误代码。