using System;
using System.Drawing;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Collections.Generic;
public static class Utilities
{
public static int SignedHiWord(IntPtr hiWord)
{
return (short)(((int)(long)hiWord >> 0x10) & 0xffff);
}
}