Module: wine
Branch: master
Commit: a149839631f06292ddb3507698c4db825cd94bf5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a149839631f06292ddb350769…
Author: Louis. Lenders <xerox_xerox2000(a)yahoo.co.uk>
Date: Sun Oct 15 10:30:22 2006 +0100
olepro32: Add version resource.
---
dlls/olepro32/Makefile.in | 2 ++
dlls/olepro32/version.rc | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/dlls/olepro32/Makefile.in b/dlls/olepro32/Makefile.in
index ad92f6b..dd8c5e6 100644
--- a/dlls/olepro32/Makefile.in
+++ b/dlls/olepro32/Makefile.in
@@ -8,6 +8,8 @@ IMPORTS = oleaut32 kernel32
C_SRCS = olepro32stubs.c
+RC_SRCS = version.rc
+
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
diff --git a/dlls/olepro32/version.rc b/dlls/olepro32/version.rc
new file mode 100644
index 0000000..a780976
--- /dev/null
+++ b/dlls/olepro32/version.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2006 Louis Lenders
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_OLESELFREGISTER
+#define WINE_FILEDESCRIPTION_STR "Wine olepro32.dll"
+#define WINE_FILENAME_STR "olepro32.dll"
+#define WINE_FILEVERSION 5,0,4522,0
+#define WINE_FILEVERSION_STR "5.0.4522"
+#define WINE_PRODUCTVERSION 2,40,4522,0
+#define WINE_PRODUCTVERSION_STR "2.40"
+
+#include "wine/wine_common_ver.rc"
Module: wine
Branch: master
Commit: ce2b767f6add6d2d7e0db8044d1de433a5ada349
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce2b767f6add6d2d7e0db8044…
Author: Mikołaj Zalewski <mikolaj(a)zalewski.pl>
Date: Sat Oct 14 20:16:30 2006 +0200
user32: When calling TrackMouseEvent with TME_LEAVE the dwHoverTime may be uninitialized.
---
dlls/user/input.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/user/input.c b/dlls/user/input.c
index ae64979..28930ee 100644
--- a/dlls/user/input.c
+++ b/dlls/user/input.c
@@ -921,8 +921,9 @@ TrackMouseEvent (TRACKMOUSEEVENT *ptme)
hover_time = ptme->dwHoverTime;
- /* if HOVER_DEFAULT was specified replace this with the systems current value */
- if (hover_time == HOVER_DEFAULT || hover_time == 0)
+ /* if HOVER_DEFAULT was specified replace this with the systems current value.
+ * TME_LEAVE doesn't need to specify hover time so use default */
+ if (hover_time == HOVER_DEFAULT || hover_time == 0 || !(ptme->dwHoverTime&TME_HOVER))
SystemParametersInfoW(SPI_GETMOUSEHOVERTIME, 0, &hover_time, 0);
GetCursorPos(&pos);