GetLastInputInfo
C# Signature:
[DllImport("user32.dll")]
static extern bool GetLastInputInfo(ref LASTINPUTINFO plii);VB Signature:
<DllImport("user32.dll")>
Shared Function GetLastInputInfo(ByRef plii As LASTINPUTINFO) As Boolean
End FunctionC++ Signature:
[DllImport("user32.dll")]
static bool GetLastInputInfo(LASTINPUTINFO* plii);F# Signature
[<Struct; CLIMutable; StructLayout(LayoutKind.Sequential)>]
type LastInputInfo = {
size : int
dwTime : uint32
}
[<DllImport("user32")>]
extern int GetLastInputInfo(LastInputInfo& lpi);Sample Code:
Sample Code vb.net:
Sample Code C++ .net:
Sample code F#
Sample code gcc Cygwin:
Última actualización