libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
SECURITY_QUALITY_OF_SERVICE.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
20
22
23#include <cstdint>
24#include <memory>
25
26namespace introvirt {
27namespace windows {
28namespace nt {
29
31
33 public:
34 virtual uint32_t Length() const = 0;
35 virtual void Length(uint32_t Length) = 0;
36
39
42
43 virtual bool EffectiveOnly() const = 0;
44 virtual void EffectiveOnly(bool EffectiveOnly) = 0;
45
46 static std::unique_ptr<SECURITY_QUALITY_OF_SERVICE> make_unique(const guest_ptr<void>& ptr);
47
48 virtual ~SECURITY_QUALITY_OF_SERVICE() = default;
49};
50
51} /* namespace nt */
52} /* namespace windows */
53} /* namespace introvirt */
Definition guest_ptr.hh:88
Definition SECURITY_QUALITY_OF_SERVICE.hh:32
virtual void ContextTrackingMode(SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode)=0
virtual void EffectiveOnly(bool EffectiveOnly)=0
virtual void ImpersonationLevel(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)=0
static std::unique_ptr< SECURITY_QUALITY_OF_SERVICE > make_unique(const guest_ptr< void > &ptr)
virtual SECURITY_IMPERSONATION_LEVEL ImpersonationLevel() const =0
virtual SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode() const =0
Type-safe guest virtual address pointer and guest_ptr template.
SECURITY_IMPERSONATION_LEVEL
Definition SECURITY_IMPERSONATION_LEVEL.hh:25
uint8_t SECURITY_CONTEXT_TRACKING_MODE
Definition SECURITY_QUALITY_OF_SERVICE.hh:30
Core IntroVirt classes.
Definition Cr0.hh:20