Mmsystem API timeGetTime

2003-11-30 Thread Casper Hornstrup
How can this API be implemented so it does not have to use ReleaseThunkLock and RestoreThunkLock (at least the Win32 version)? DWORD WINAPI timeGetTime(void) { /* FIXME: releasing the win16 lock here is a temporary hack (I hope) * that lets mciavi.drv run correctly */ DWORD

Re: Mmsystem API timeGetTime

2003-11-30 Thread Eric Pouech
Casper Hornstrup wrote: How can this API be implemented so it does not have to use ReleaseThunkLock and RestoreThunkLock (at least the Win32 version)? DWORD WINAPI timeGetTime(void) { /* FIXME: releasing the win16 lock here is a temporary hack (I hope) * that lets mciavi.drv run correctly

Re: Mmsystem API timeGetTime

2003-11-30 Thread Casper Hornstrup
-Oprindelig meddelelse- Fra: Eric Pouech [mailto:[EMAIL PROTECTED] Sendt: 30. november 2003 16:39 Til: Casper Hornstrup Cc: [EMAIL PROTECTED] Emne: Re: Mmsystem API timeGetTime I see two ways of doing it: - either use a function pointer to ReleaseThunkLock RestoreThunkLock