I\'m unsure of the syntax for this. I\'m trying to translate this C# code into F#.
struct LASTINPUTINFO
{
public uint cbSize;
public uint dwTime;
}
Honestly I haven't tried to run or use this, but this compiles, and hopefully will steer you in the right direction.
open System
open System.Runtime.InteropServices
[]
type LASTINPUTINFO =
val cbSize : UInt32
val dwTime : UInt32
module IdleTimer =
[]
extern [] bool GetLastInputInfo([][] LASTINPUTINFO plii)