libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
NtWaitForMultipleObjects.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
17/* This file is automatically generated. Do not edit. */
18#pragma once
19
22
23#include <memory>
24
25namespace introvirt {
26namespace windows {
27namespace nt {
28
33 public:
34 /* Direct parameter getters */
35
41 virtual uint32_t HandleCount() const = 0;
47 virtual guest_ptr<void> HandleArrayPtr() const = 0;
53 virtual OBJECT_WAIT_TYPE WaitType() const = 0;
54
55 /* Direct parameter setters */
56
62 virtual void HandleCount(uint32_t HandleCount) = 0;
68 virtual void HandleArrayPtr(const guest_ptr<void>& pHandleArray) = 0;
75
79 virtual const std::vector<uint64_t>& Handles() const = 0;
80
87 virtual uint64_t CompletedHandle() const = 0;
88
89 /*
90 * System call injection support. You probably want to use
91 * inject::system_call<NtWaitForMultipleObjects>.
92 */
93 static NTSTATUS inject(uint32_t HandleCount, const guest_ptr<void>& pHandleArray,
94 OBJECT_WAIT_TYPE WaitType, bool Alertable, const int64_t* Timeout);
95};
96
97} /* namespace nt */
98} /* namespace windows */
99} /* namespace introvirt */
Definition guest_ptr.hh:88
Status codes returned by Windows NT system calls.
Definition NTSTATUS.hh:34
Handler class for the NtWaitForMultipleObjects system call.
Definition NtWaitForMultipleObjects.hh:32
virtual void HandleCount(uint32_t HandleCount)=0
Setter for HandleCount.
virtual uint32_t HandleCount() const =0
Getter for HandleCount.
virtual OBJECT_WAIT_TYPE WaitType() const =0
Getter for WaitType.
virtual void HandleArrayPtr(const guest_ptr< void > &pHandleArray)=0
Setter for HandleArrayPtr.
virtual void WaitType(OBJECT_WAIT_TYPE WaitType)=0
Setter for WaitType.
virtual guest_ptr< void > HandleArrayPtr() const =0
Getter for HandleArrayPtr.
virtual const std::vector< uint64_t > & Handles() const =0
Get the handles that are being waited on.
static NTSTATUS inject(uint32_t HandleCount, const guest_ptr< void > &pHandleArray, OBJECT_WAIT_TYPE WaitType, bool Alertable, const int64_t *Timeout)
Handler class for the NtWaitForObjectsBase system call.
Definition NtWaitForObjectsBase.hh:31
virtual bool Alertable() const =0
Getter for Alertable.
OBJECT_WAIT_TYPE
Definition OBJECT_WAIT_TYPE.hh:24
Core IntroVirt classes.
Definition Cr0.hh:20