@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The LASTINPUTINFO structure contains the time of the last input. !!!!C# Signature: [StructLayout( LayoutKind.Sequential )] struct LASTINPUTINFO { public static readonly int SizeOf = Marshal.SizeOf(typeof(LASTINPUTINFO)); [MarshalAs(UnmanagedType.U4)] public UInt32 cbSize; [MarshalAs(UnmanagedType.U4)] public UInt32 dwTime; } !!!!VB .NET Signature: <StructLayout(LayoutKind.Sequential)> _ Structure LASTINPUTINFO <MarshalAs(UnmanagedType.U4)> _ Public cbSize As Integer <MarshalAs(UnmanagedType.U4)> _ Public dwTime As Integer End Structure !!!!F# 4.1 Signature [<Struct; CLIMutable; StructLayout(LayoutKind.Sequential)>] type LastInputInfo = { size : int dwTime : uint32 } !!!!Notes: dwTime does wrap around. Watch out for that, and beware of casting to a signed. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: LASTINPUTINFO@msdn on MSDN
Edit Structures.LASTIN...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.