GetCurrentSystemUpTime
Collapse the table of content
Expand the table of content

IDebugControl2::GetCurrentSystemUpTime method

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

UpTime [out]

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 codeDescription
S_OK

The value of the variable UpTime is either the desired information or is 0.

 

Remarks

For more information, see Target Information.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl2
IDebugControl3
GetCurrentTimeDate

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft