Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
895 B

/* timers.h -- External definitions for multiplexed timer routines.
*
* Copyright 1994 by Hilgraeve Inc. -- Monroe, MI
*
* $Revision: 1.2 $
* $Date: 1994/03/29 15:34:19 $
*/
#if !defined(TIMERS_H)
#define TIMERS_H 1
// Function return values
#define TIMER_OK 0
#define TIMER_ERROR 1
#define TIMER_NOMEM 2
#define TIMER_NOWINTIMER 3
// Defined types
typedef void (CALLBACK *TIMERCALLBACK)(void *, long);
// Function protocols
extern int TimerMuxCreate(const HWND hWnd, const UINT uiID, HTIMERMUX * const pHTM);
extern int TimerMuxDestroy(HTIMERMUX * const phTM);
extern void TimerMuxProc(const HTIMERMUX hTM);
extern int TimerCreate(const HTIMERMUX hTM,
HTIMER * const phTimer,
long lInterval,
const TIMERCALLBACK pfCallback,
void *pvData);
extern int TimerDestroy(HTIMER * const phTimer);
#endif // !defined(TIMERS_H)
// End of timers.h