Extra window message support

This commit is contained in:
2014-05-06 10:17:35 -04:00
parent 4320110fb7
commit 9e4660774d
2 changed files with 6 additions and 0 deletions

View File

@@ -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)