mirror of
https://github.com/ckaczor/Common.Native.git
synced 2026-01-14 01:25:44 -05:00
Extra window message support
This commit is contained in:
@@ -155,6 +155,9 @@ namespace Common.Native
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr SetWindowLongPtr(IntPtr hWnd, int nIndex, IntPtr dwNewLong);
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
||||
public static extern uint RegisterWindowMessage(string lpString);
|
||||
|
||||
public static IntPtr SetWindowLongPtrSmart(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
|
||||
{
|
||||
if (IntPtr.Size == 8)
|
||||
|
||||
Reference in New Issue
Block a user