libintrovirt
v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
SYSTEM_TIMEOFDAY_INFORMATION.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2021 Assured Information Security, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#pragma once
17
18
#include "
SYSTEM_INFORMATION.hh
"
19
20
#include <
introvirt/windows/util/WindowsTime.hh
>
21
22
namespace
introvirt
{
23
namespace
windows {
24
namespace
nt {
25
26
class
SYSTEM_TIMEOFDAY_INFORMATION
:
public
SYSTEM_INFORMATION
{
27
public
:
28
virtual
WindowsTime
BootTime
()
const
= 0;
29
virtual
void
BootTime
(
WindowsTime
BootTime
) = 0;
30
31
virtual
WindowsTime
CurrentTime
()
const
= 0;
32
virtual
void
CurrentTime
(
WindowsTime
CurrentTime
) = 0;
33
34
virtual
int64_t
TimeZoneBias
()
const
= 0;
35
virtual
void
TimeZoneBias
(int64_t
TimeZoneBias
) = 0;
36
37
virtual
uint32_t
TimeZoneId
()
const
= 0;
38
virtual
void
TimeZoneId
(uint32_t
TimeZoneId
) = 0;
39
40
virtual
uint32_t
Reserved
()
const
= 0;
41
virtual
void
Reserved
(uint32_t
Reserved
) = 0;
42
43
virtual
uint64_t
BootTimeBias
()
const
= 0;
44
virtual
void
BootTimeBias
(uint64_t
BootTimeBias
) = 0;
45
46
virtual
uint64_t
SleepTimeBias
()
const
= 0;
47
virtual
void
SleepTimeBias
(uint64_t
SleepTimeBias
) = 0;
48
};
49
50
}
// namespace nt
51
}
// namespace windows
52
}
// namespace introvirt
SYSTEM_INFORMATION.hh
WindowsTime.hh
introvirt::windows::WindowsTime
Helper class for the Windows time format.
Definition
WindowsTime.hh:33
introvirt::windows::nt::SYSTEM_INFORMATION
Definition
SYSTEM_INFORMATION.hh:32
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION
Definition
SYSTEM_TIMEOFDAY_INFORMATION.hh:26
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::SleepTimeBias
virtual void SleepTimeBias(uint64_t SleepTimeBias)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::BootTimeBias
virtual void BootTimeBias(uint64_t BootTimeBias)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::BootTimeBias
virtual uint64_t BootTimeBias() const =0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::BootTime
virtual WindowsTime BootTime() const =0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::Reserved
virtual void Reserved(uint32_t Reserved)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::TimeZoneId
virtual uint32_t TimeZoneId() const =0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::TimeZoneId
virtual void TimeZoneId(uint32_t TimeZoneId)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::CurrentTime
virtual WindowsTime CurrentTime() const =0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::CurrentTime
virtual void CurrentTime(WindowsTime CurrentTime)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::SleepTimeBias
virtual uint64_t SleepTimeBias() const =0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::TimeZoneBias
virtual int64_t TimeZoneBias() const =0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::BootTime
virtual void BootTime(WindowsTime BootTime)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::TimeZoneBias
virtual void TimeZoneBias(int64_t TimeZoneBias)=0
introvirt::windows::nt::SYSTEM_TIMEOFDAY_INFORMATION::Reserved
virtual uint32_t Reserved() const =0
introvirt
Core IntroVirt classes.
Definition
Cr0.hh:20