Ejemplo n.º 1
0
        public static User.Struct.GUITHREADINFO GetGUIThreadInfo(uint idThread)
        {
            User.Struct.GUITHREADINFO threadInfo = new User.Struct.GUITHREADINFO();
            threadInfo.cbSize = (uint)Marshal.SizeOf(threadInfo);

            User.GetGUIThreadInfo(idThread, out threadInfo);

            return(threadInfo);
        }
Ejemplo n.º 2
0
        public static User.Struct.GUITHREADINFO GetGUIThreadInfo(uint idThread)
        {
            User.Struct.GUITHREADINFO threadInfo = new User.Struct.GUITHREADINFO();
            threadInfo.cbSize = (uint)Marshal.SizeOf(threadInfo);

            User.GetGUIThreadInfo(idThread, out threadInfo);

            return threadInfo;
        }