摘要: [StructLayout(LayoutKind.Sequential)] public struct LASTINPUTINFO { [MarshalAs(UnmanagedType.U4)] public int cbSize; [MarshalAs(UnmanagedType.U4)] public uint dwTime; } [DllImport("user32.dll")] public static extern bool GetLastInputInfo(ref LASTINPUTINFO plii); public long getIdleTick() { 阅读全文
posted @ 2012-09-25 15:12 禹过天晴 阅读(199) 评论(0) 推荐(0) 编辑