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