Mmsystem API timeGetTime

Casper Hornstrup chorns at users.sourceforge.net
Sun Nov 30 13:09:16 CST 2003



> -----Oprindelig meddelelse-----
> Fra: Eric Pouech [mailto:pouech-eric at wanadoo.fr] 
> Sendt: 30. november 2003 16:39
> Til: Casper Hornstrup
> Cc: wine-devel at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeGetTime.diff
Type: application/octet-stream
Size: 2934 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20031130/f1350728/timeGetTime.obj


More information about the wine-devel mailing list