libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
NtUserGetMessage.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
20#include "Win32kSystemCall.hh"
22
23#include <memory>
24
25namespace introvirt {
26namespace windows {
27namespace win32k {
28
33 public:
34 /* Direct parameter getters */
35
41 virtual guest_ptr<void> MsgPtr() const = 0;
47 virtual uint64_t hWnd() const = 0;
53 virtual uint32_t MsgFilterMin() const = 0;
59 virtual uint32_t MsgFilterMax() const = 0;
60
61 /* Direct parameter setters */
62
68 virtual void MsgPtr(const guest_ptr<void>& pMsg) = 0;
74 virtual void hWnd(uint64_t hWnd) = 0;
80 virtual void MsgFilterMin(uint32_t MsgFilterMin) = 0;
86 virtual void MsgFilterMax(uint32_t MsgFilterMax) = 0;
92 virtual bool result() const = 0;
93
99 virtual void result(bool value) = 0;
100
101 /* Helper methods */
102 virtual WindowMessage Msg() const = 0;
103 virtual void Msg(WindowMessage Msg) = 0;
104
105 /*
106 * System call injection support. You probably want to use
107 * inject::system_call<NtUserGetMessage>.
108 */
109 static bool inject(WindowMessage& Msg, uint64_t hWnd, uint32_t MsgFilterMin,
110 uint32_t MsgFilterMax);
111};
112
113} /* namespace win32k */
114} /* namespace windows */
115} /* namespace introvirt */
Definition guest_ptr.hh:88
Handler class for the NtUserGetMessage system call.
Definition NtUserGetMessage.hh:32
virtual void hWnd(uint64_t hWnd)=0
Setter for hWnd.
virtual void MsgFilterMin(uint32_t MsgFilterMin)=0
Setter for MsgFilterMin.
static bool inject(WindowMessage &Msg, uint64_t hWnd, uint32_t MsgFilterMin, uint32_t MsgFilterMax)
virtual WindowMessage Msg() const =0
virtual guest_ptr< void > MsgPtr() const =0
Getter for MsgPtr.
virtual void Msg(WindowMessage Msg)=0
virtual uint32_t MsgFilterMin() const =0
Getter for MsgFilterMin.
virtual void MsgFilterMax(uint32_t MsgFilterMax)=0
Setter for MsgFilterMax.
virtual bool result() const =0
Get the result of the call.
virtual void result(bool value)=0
Set the result of the calls.
virtual uint64_t hWnd() const =0
Getter for hWnd.
virtual uint32_t MsgFilterMax() const =0
Getter for MsgFilterMax.
virtual void MsgPtr(const guest_ptr< void > &pMsg)=0
Setter for MsgPtr.
Base class for Win32k related system calls.
Definition Win32kSystemCall.hh:28
WindowMessage
Definition WindowMessage.hh:27
Core IntroVirt classes.
Definition Cr0.hh:20