Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Message.cs
Go to the documentation of this file.
1using System;
2
3namespace ReLogic.OS.Windows;
4
5public struct Message
6{
7 public IntPtr HWnd;
8
9 public int Msg;
10
11 public IntPtr WParam;
12
13 public IntPtr LParam;
14
15 public IntPtr Result;
16
17 public static Message Create(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam)
18 {
19 Message result = default(Message);
20 result.HWnd = hWnd;
21 result.Msg = msg;
22 result.WParam = wparam;
23 result.LParam = lparam;
24 result.Result = IntPtr.Zero;
25 return result;
26 }
27}
static Message Create(IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam)
Definition Message.cs:17
static readonly IntPtr Zero
Definition IntPtr.cs:18