public static extern int GetWindowText(IntPtr hWnd, out STRINGBUFFER text, int maxCount);
public static extern int GetClassName(IntPtr hWnd, out STRINGBUFFER ClassName, int nMaxCount);