Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
---|---|
|
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) |