Debugging Tools for Windows

GetCurrentProcessUpTime

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

HRESULT
  IDebugSystemObjects2::GetCurrentProcessUpTime(
    OUT PULONG  UpTime
    );

Parameters

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

Return Value

S_OK
The method was successful.

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

Interface Version

GetCurrentProcessUpTime is available in IDebugSystemObjects2 and later versions.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD