IDebugControl3::GetCurrentSystemUpTime method (dbgeng.h)

The GetCurrentSystemUpTime method returns the number of seconds the current target's computer has been running since it was last started.

Syntax

HRESULT GetCurrentSystemUpTime(
  [out] PULONG UpTime
);

Parameters

[out] UpTime

Receives the number of seconds the computer has been running, or 0 if the engine is unable to determine the running time.

Return value

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

Return code Description
S_OK
The value of the variable UpTime is either the desired information or is 0.

Remarks

For more information, see Target Information.

Requirements

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

See also

GetCurrentTimeDate

IDebugControl2

IDebugControl3