Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

timer.cpp File Reference

#include <os2wrap.h>
#include <os2sel.h>
#include <stdlib.h>
#include "win32type.h"
#include <winconst.h>
#include <misc.h>
#include <win32wbase.h>
#include "oslibutil.h"
#include "timer.h"
#include "dbglocal.h"

Include dependency graph for timer.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

struct  tagTIMER

Defines

#define INCL_WIN
#define INCL_DOSSEMAPHORES
#define INCL_DOSPROCESS
#define DBG_LOCALLOG   DBG_timer
#define OPEN32API   _System
#define WM_TIMER_W   0x0113
#define WM_SYSTIMER_W   0x0118
#define NB_TIMERS   34
#define NB_RESERVED_TIMERS   2
#define SYS_TIMER_RATE   54925

Typedefs

typedef tagTIMER TIMER

Functions

typedef VOID (WIN32API *TIMERPROC)(DWORD hwnd, UINT msg, UINT id, DWORD dwTime)
void EnterCriticalSection (void)
void LeaveCriticalSection (void)
BOOL TIMER_GetTimerInfo (DWORD PMhwnd, ULONG PMid, PBOOL sys, PULONG id)
BOOL TIMER_HandleTimer (PQMSG pMsg)
UINT TIMER_SetTimer (DWORD hwnd, UINT id, UINT timeout, TIMERPROC proc, BOOL sys)
BOOL TIMER_KillTimer (DWORD hwnd, UINT id, BOOL sys)
VOID TIMER_KillTimerFromWindow (DWORD hwnd)
UINT WIN32API SetTimer (DWORD hwnd, UINT id, UINT timeout, TIMERPROC proc)
UINT WIN32API SetSystemTimer (DWORD hwnd, UINT id, UINT timeout, TIMERPROC proc)
BOOL WIN32API KillTimer (DWORD hwnd, UINT id)
BOOL WIN32API KillSystemTimer (DWORD hwnd, UINT id)

Variables

TIMER TimersArray [34]
HMTX hSemTimer


Define Documentation

#define INCL_WIN
 

Definition at line 13 of file timer.cpp.

#define INCL_DOSSEMAPHORES
 

Definition at line 14 of file timer.cpp.

#define INCL_DOSPROCESS
 

Definition at line 15 of file timer.cpp.

#define DBG_LOCALLOG   DBG_timer
 

Definition at line 26 of file timer.cpp.

#define OPEN32API   _System
 

Definition at line 30 of file timer.cpp.

#define WM_TIMER_W   0x0113
 

Definition at line 33 of file timer.cpp.

#define WM_SYSTIMER_W   0x0118
 

Definition at line 34 of file timer.cpp.

#define NB_TIMERS   34
 

Definition at line 47 of file timer.cpp.

#define NB_RESERVED_TIMERS   2
 

Definition at line 48 of file timer.cpp.

#define SYS_TIMER_RATE   54925
 

Definition at line 50 of file timer.cpp.


Typedef Documentation

typedef struct tagTIMER TIMER
 


Function Documentation

typedef VOID WIN32API *    TIMERPROC
 

void EnterCriticalSection void    [inline]
 

Definition at line 56 of file timer.cpp.

Referenced by CURSORICON_AddSharedIcon(), CURSORICON_DelSharedIcon(), CURSORICON_FindCache(), CURSORICON_FindSharedIcon(), CURSORICON_FreeModuleIcons(), TIMER_KillTimer(), TIMER_KillTimerFromWindow(), TIMER_SetTimer(), and GenericObject::lock().

void LeaveCriticalSection void    [inline]
 

Definition at line 64 of file timer.cpp.

Referenced by CURSORICON_AddSharedIcon(), CURSORICON_DelSharedIcon(), CURSORICON_FindCache(), CURSORICON_FindSharedIcon(), CURSORICON_FreeModuleIcons(), TIMER_KillTimer(), TIMER_KillTimerFromWindow(), TIMER_SetTimer(), and GenericObject::unlock().

BOOL TIMER_GetTimerInfo DWORD    PMhwnd,
ULONG    PMid,
PBOOL    sys,
PULONG    id
 

Definition at line 69 of file timer.cpp.

BOOL TIMER_HandleTimer PQMSG    pMsg
 

Definition at line 87 of file timer.cpp.

UINT TIMER_SetTimer DWORD    hwnd,
UINT    id,
UINT    timeout,
TIMERPROC    proc,
BOOL    sys
[static]
 

Definition at line 112 of file timer.cpp.

Referenced by SetSystemTimer(), and SetTimer().

BOOL TIMER_KillTimer DWORD    hwnd,
UINT    id,
BOOL    sys
[static]
 

Definition at line 174 of file timer.cpp.

Referenced by KillSystemTimer(), and KillTimer().

VOID TIMER_KillTimerFromWindow DWORD    hwnd
 

Definition at line 209 of file timer.cpp.

UINT WIN32API SetTimer DWORD    hwnd,
UINT    id,
UINT    timeout,
TIMERPROC    proc
 

Definition at line 232 of file timer.cpp.

Referenced by EDIT_WM_LButtonDown(), and MENU_MouseMove().

UINT WIN32API SetSystemTimer DWORD    hwnd,
UINT    id,
UINT    timeout,
TIMERPROC    proc
 

Definition at line 245 of file timer.cpp.

Referenced by LISTBOX_HandleMouseMove(), and SCROLL_HandleScrollEvent().

BOOL WIN32API KillTimer DWORD    hwnd,
UINT    id
 

Definition at line 258 of file timer.cpp.

Referenced by EDIT_WM_CaptureChanged(), EDIT_WM_LButtonUp(), MENU_MouseMove(), and MENU_TrackMenu().

BOOL WIN32API KillSystemTimer DWORD    hwnd,
UINT    id
 

Definition at line 271 of file timer.cpp.

Referenced by LISTBOX_HandleLButtonUp(), LISTBOX_HandleMouseMove(), LISTBOX_HandleSystemTimer(), and SCROLL_HandleScrollEvent().


Variable Documentation

TIMER TimersArray[ 34 ] [static]
 

Definition at line 52 of file timer.cpp.

HMTX hSemTimer
 

Definition at line 54 of file timer.cpp.


Generated on Wed Jan 23 23:20:15 2002 for ODIN-user32 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001