IDebugSystemObjects2::GetCurrentProcessUpTime method (dbgeng.h)

The GetCurrentProcessUpTime method returns the length of time the current process has been running.

Syntax

HRESULT GetCurrentProcessUpTime(
  [out] PULONG UpTime
);

Parameters

[out] UpTime

Receives the number of seconds the current process has been running.

Return value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)