http://bugs.winehq.org/show_bug.cgi?id=10343
Summary: SetTimer won't wait for specified time
Product: Wine
Version: 0.9.48.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: wine-user
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dmda(a)yandex.ru
Windows supports the following semantic for SetTimer():
hTimer = SetTimer(0, MY_ID, TIMEOUT, NULL);
note: hWnd is zero, callback is NULL.
In this case Windows sends WM_TIMER to the thread queue after specified TIMEOUT
milliseconds with wParam==hTimer returned by the function (not MY_ID! and this
is because of zero hWnd!)
When SetTimer is called this way it returns somewhat special in hTimer, for
example 0x7edc.
Under wine, it returns 1 and sends WM_TIMER immediately, regardless of TIMEOUT
(I tried with 6000ms==6s)
Reference: MSDN:
If the function succeeds and the hWnd parameter is NULL, the return value is an
integer identifying the new timer. An application can pass this value to the
KillTimer function to destroy the timer.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=7892
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed by SHA1| |ae8e8a0a57954f4091c147e91d9
| |fc78d206bbc79
CC| |focht(a)gmx.net
Component|-unknown |wintrust
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=5330
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |obfuscation
Fixed by SHA1| |c5134b77c67ea158394bb70bed7
| |9de2b83e04f5a
CC| |focht(a)gmx.net
Component|-unknown |ntdll
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=8306
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |obfuscation
CC| |focht(a)gmx.net
Severity|major |normal
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=6829
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed by SHA1| |7aa1b2e419976a14495227bfd45
| |b37cdae219207
CC| |focht(a)gmx.net
Component|comctl32 |comdlg32
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=7909
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed by SHA1| |c2ae970e6055f6d18a9166c4cd2
| |d760edfabf20d
CC| |focht(a)gmx.net
Component|-unknown |winex11.drv
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=6880
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |obfuscation
Fixed by SHA1| |3baf4dbe76c61cbeee0e0880c2e
| |3c56c2572d03a
CC| |focht(a)gmx.net
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=6088
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |obfuscation
Fixed by SHA1| |63ea015c65e517979b01c8de2e7
| |44517fe05c36b
CC| |focht(a)gmx.net
Component|ole |ole32
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=7885
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed by SHA1| |590bf1be88fc8516f5eb84051ce
| |a8ad9452b052d
CC| |focht(a)gmx.net
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=7448
Anastasius Focht <focht(a)gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed by SHA1| |0197c2c2928eb6d6f4833243b96
| |769f2151643ec
CC| |focht(a)gmx.net
Component|kernel32 |shdocvw
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.