IDebugControl2::GetCurrentTimeDate method (dbgeng.h)
The GetCurrentTimeDate method returns the time of the current target.
Syntax
HRESULT GetCurrentTimeDate(
[out] PULONG TimeDate
);
Parameters
[out] TimeDate
Receives the time and date. This is the number of seconds since the beginning of 1970, or 0 if the current time could not be determined.
Return value
This method may also return error values. See Return Values for more details.
Return code | Description |
---|---|
|
The value of the variable TimeDate is either the desired information or is 0. |
Remarks
For live debugging sessions, this will be the current time as reported by the target's computer. For static debugging sessions, such as crash dump files, this will be the time the crash dump file was created.
For more information, see Target Information.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |