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