mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
24 lines
437 B
C++
24 lines
437 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <Windows.h>
|
|
|
|
namespace Forms
|
|
{
|
|
// Implements a Windows message.
|
|
struct Message
|
|
{
|
|
uintptr_t HWnd;
|
|
uint32_t Msg;
|
|
|
|
uintptr_t WParam;
|
|
uintptr_t LParam;
|
|
uintptr_t Result;
|
|
|
|
// Construct a new Message instance from the parameters
|
|
Message(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|
: HWnd((uintptr_t)hWnd), Msg(msg), WParam(wParam), LParam(lParam), Result(NULL)
|
|
{
|
|
}
|
|
};
|
|
} |