共用方式為


IDebugSystemObjects3::GetCurrentProcessUpTime 方法 (dbgeng.h)

GetCurrentProcessUpTime 方法會傳回目前進程執行的時間長度。

語法

HRESULT GetCurrentProcessUpTime(
  [out] PULONG UpTime
);

參數

[out] UpTime

接收目前進程執行中的秒數。

傳回值

這個方法也可能傳回錯誤值。 如需詳細資訊,請參閱 傳回值

傳回碼 描述
S_OK
方法成功。

要求

要求 價值
目標平臺 桌面
標頭 dbgeng.h (include Dbgeng.h)