IDebugSystemObjects3::GetCurrentProcessUpTime 方法 (dbgeng.h)

GetCurrentProcessUpTime 方法返回当前进程正在运行的时间长度。

语法

HRESULT GetCurrentProcessUpTime(
  [out] PULONG UpTime
);

参数

[out] UpTime

接收当前进程正在运行的秒数。

返回值

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

返回代码 描述
S_OK
该方法成功。

要求

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