libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
NtUserPostMessage.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 uint64_t hWnd() const = 0;
47 virtual WindowMessage Msg() const = 0;
53 virtual uint64_t wParam() const = 0;
59 virtual uint64_t lParam() const = 0;
60
61 /* Direct parameter setters */
62
68 virtual void hWnd(uint64_t hWnd) = 0;
74 virtual void Msg(WindowMessage Msg) = 0;
80 virtual void wParam(uint64_t wParam) = 0;
86 virtual void lParam(uint64_t lParam) = 0;
92 virtual bool result() const = 0;
93
99 virtual void result(bool value) = 0;
100
101 /*
102 * System call injection support. You probably want to use
103 * inject::system_call<NtUserPostMessage>.
104 */
105 static bool inject(uint64_t hWnd, WindowMessage Msg, uint64_t wParam, uint64_t lParam);
106};
107
108} /* namespace win32k */
109} /* namespace windows */
110} /* namespace introvirt */
Handler class for the NtUserPostMessage system call.
Definition NtUserPostMessage.hh:32
virtual void result(bool value)=0
Set the result of the calls.
virtual void hWnd(uint64_t hWnd)=0
Setter for hWnd.
virtual void Msg(WindowMessage Msg)=0
Setter for Msg.
virtual bool result() const =0
Get the result of the call.
virtual uint64_t wParam() const =0
Getter for wParam.
virtual WindowMessage Msg() const =0
Getter for Msg.
virtual void lParam(uint64_t lParam)=0
Setter for lParam.
virtual uint64_t lParam() const =0
Getter for lParam.
virtual uint64_t hWnd() const =0
Getter for hWnd.
static bool inject(uint64_t hWnd, WindowMessage Msg, uint64_t wParam, uint64_t lParam)
virtual void wParam(uint64_t wParam)=0
Setter for wParam.
Base class for Win32k related system calls.
Definition Win32kSystemCall.hh:28
WindowMessage
Definition WindowMessage.hh:27
Core IntroVirt classes.
Definition Cr0.hh:20