Ejemplo n.º 1
0
        private static GUITHREADINFO GetCaretPosition()
        {
            var guiInfo = new GUITHREADINFO();

            guiInfo.cbSize = (uint)Marshal.SizeOf(guiInfo);

            NativeMethods.GetGUIThreadInfo(0, out guiInfo);

            return(guiInfo);
        }
Ejemplo n.º 2
0
 public static extern bool GetGUIThreadInfo(uint tId, out GUITHREADINFO threadInfo);