IDebugSystemObjects2::GetCurrentProcessUpTime 方法 (dbgeng.h)

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

语法

HRESULT GetCurrentProcessUpTime(
  [out] PULONG UpTime
);

参数

[out] UpTime

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

返回值

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

返回代码 说明
S_OK
方法成功。

要求

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