Ignore:
Timestamp:
Mar 3, 2001, 11:58:48 AM (24 years ago)
Author:
umoeller
Message:

Updated timers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/timer.h

    r14 r41  
    3131    #define TIMER_HEADER_INCLUDED
    3232
    33     USHORT APIENTRY tmrStartTimer(HWND hwnd, USHORT usTimerID, ULONG ulTimeout);
    34     typedef USHORT APIENTRY TMRSTARTTIMER(HWND hwnd, USHORT usTimerID, ULONG ulTimeout);
    35     typedef TMRSTARTTIMER *PTMRSTARTTIMER;
     33    /*
     34     *@@ XTIMERSET:
     35     *
     36     *@@added V0.9.9 (2001-02-28) [umoeller]
     37     */
    3638
    37     BOOL APIENTRY tmrStopTimer(HWND hwnd, USHORT usTimerID);
    38     typedef BOOL APIENTRY TMRSTOPTIMER(HWND hwnd, USHORT usTimerID);
    39     typedef TMRSTOPTIMER *PTMRSTOPTIMER;
     39    typedef struct _XTIMERSET
     40    {
     41        HAB         hab;
     42        HWND        hwndOwner;          // owner of XTimers (who has the PM timer)
     43        USHORT      idPMTimer;          // ID of main PM timer
     44        USHORT      idPMTimerRunning;   // if != 0, PM timer is running
     45        PVOID       pvllXTimers;        // linked list of current XTIMER structures, auto-free
     46    } XTIMERSET, *PXTIMERSET;
    4047
    41     VOID tmrStopAllTimers(HWND hwnd);
    42     typedef VOID TMRSTOPALLTIMERS(HWND hwnd);
    43     typedef TMRSTOPALLTIMERS *PTMRSTOPALLTIMERS;
     48    PXTIMERSET XWPENTRY tmrCreateSet(HWND hwndOwner, USHORT usPMTimerID);
     49    typedef PXTIMERSET XWPENTRY TMRCREATESET(HWND hwndOwner, USHORT usPMTimerID);
     50    typedef TMRCREATESET *PTMRCREATESET;
     51
     52    VOID XWPENTRY tmrDestroySet(PXTIMERSET pSet);
     53    typedef VOID XWPENTRY TMRDESTROYSET(PXTIMERSET pSet);
     54    typedef TMRDESTROYSET *PTMRDESTROYSET;
     55
     56    USHORT XWPENTRY tmrStartXTimer(PXTIMERSET pSet, HWND hwnd, USHORT usTimerID, ULONG ulTimeout);
     57    typedef USHORT XWPENTRY TMRSTARTXTIMER(PXTIMERSET pSet, HWND hwnd, USHORT usTimerID, ULONG ulTimeout);
     58    typedef TMRSTARTXTIMER *PTMRSTARTXTIMER;
     59
     60    BOOL XWPENTRY tmrStopXTimer(PXTIMERSET pSet, HWND hwnd, USHORT usTimerID);
     61    typedef BOOL XWPENTRY TMRSTOPXTIMER(PXTIMERSET pSet, HWND hwnd, USHORT usTimerID);
     62    typedef TMRSTOPXTIMER *PTMRSTOPXTIMER;
     63
     64    VOID XWPENTRY tmrTimerTick(PXTIMERSET pSet);
     65    typedef VOID XWPENTRY TMRTIMERTICK(PXTIMERSET pSet);
     66    typedef TMRTIMERTICK *PTMRTIMERTICK;
    4467
    4568#endif
Note: See TracChangeset for help on using the changeset viewer.