-----Oprindelig meddelelse----- Fra: Eric Pouech [mailto:pouech-eric@wanadoo.fr] Sendt: 30. november 2003 16:39 Til: Casper Hornstrup Cc: wine-devel@winehq.com Emne: Re: Mmsystem API timeGetTime
I see two ways of doing it:
- either use a function pointer to ReleaseThunkLock &
RestoreThunkLock which will be initialized if mmsystem is loaded (as we do for most of the 16 bit functions we need)
- or load by hand these two function with GetProcAddress, and
handle the case where they are not defined. I'd vote for the first one.
ReleaseThunkLock and RestoreThunkLock need only be called in mmsystem.dll? How about this patch?