comparison src/win32/IdleTracker/idletrack.c @ 7242:59ffe137176d

[gaim-migrate @ 7817] Update to mingw 3.0 and higher (gcc 3.2) committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Sun, 12 Oct 2003 21:00:26 +0000
parents 33ceba0dfd9b
children 9f6a28af7164
comparison
equal deleted inserted replaced
7241:04e80607aff2 7242:59ffe137176d
7 * Description: Track user inactivity. 7 * Description: Track user inactivity.
8 */ 8 */
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #define EXPORT __declspec(dllexport) 11 #define EXPORT __declspec(dllexport)
12
13 /* from msdn docs */
14 typedef struct tagMOUSEHOOKSTRUCT {
15 POINT pt;
16 HWND hwnd;
17 UINT wHitTestCode;
18 DWORD dwExtraInfo;
19 } MOUSEHOOKSTRUCT;
20 12
21 static HANDLE hMapObject = NULL; 13 static HANDLE hMapObject = NULL;
22 static DWORD *lastTime = NULL; 14 static DWORD *lastTime = NULL;
23 static HHOOK keyHook = NULL; 15 static HHOOK keyHook = NULL;
24 static HHOOK mouseHook = NULL; 16 static HHOOK mouseHook = NULL;