winmm: Rewrite time.c using windows timer queues
Alexandre Julliard
julliard at winehq.org
Mon Apr 19 09:07:19 CDT 2010
Maarten Lankhorst <m.b.lankhorst at gmail.com> writes:
> @@ -50,16 +33,14 @@
>
> WINE_DEFAULT_DEBUG_CHANNEL(mmtime);
>
> -typedef struct tagWINE_TIMERENTRY {
> - struct list entry;
> - UINT wDelay;
> - UINT wResol;
> - LPTIMECALLBACK lpFunc; /* can be lots of things */
> - DWORD_PTR dwUser;
> - UINT16 wFlags;
> - UINT16 wTimerID;
> - DWORD dwTriggerTime;
> -} WINE_TIMERENTRY, *LPWINE_TIMERENTRY;
> +typedef struct {
> + struct list entry; /* must be first item */
There's no reason that it needs to be the first item if you use the list
macros correctly.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list