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

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

            NativeMethods.GetGUIThreadInfo(0, out guiInfo);

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