open-insight/SYSPROG/STPROCINS/MSWIN_LASTINPUTINFO_EQUATES.txt
2024-03-25 15:17:34 -07:00

47 lines
1.7 KiB
Plaintext

compile insert msWin_LastInputInfo_Equates
/*
** Copyright (C) 2012-2023 Revelation Software Inc. All Rights Reserved **
Author Mr C
Date August 2023
Purpose Equates for use with Windows LASTINPUTINFO Structure
Comments
========
Amended Date Reason
======= ==== ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_LASTINPUTINFO_EQUATES_
#define _MSWIN_LASTINPUTINFO_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
declare function msWin_GetLastInputInfo
$uses @APPID*DLLSTRUCT**MSWIN_LASTINPUTINFO
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// LASTINPUTINFO Structure equates - this structure is defined in the
// Windows API as:
//
// typedef struct tagLASTINPUTINFO {
// UINT cbSize;
// DWORD dwTime;
// } LASTINPUTINFO, *PLASTINPUTINFO;
equ LASTINPUTINFO$ to "MSWIN_LASTINPUTINFO"
equ LII_POS_CBSIZE$ to 1
equ LII_POS_DWTIME$ to 2
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////