Module: wine
Branch: refs/heads/master
Commit: fedd5250e362421c5df5edf7d8a9056f5613e199
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=fedd5250e362421c5df5edf…
Author: Mike McCormack <mike(a)codeweavers.com>
Date: Wed Mar 22 13:46:20 2006 +0900
riched20: Add a version resource.
---
dlls/riched20/.gitignore | 1 +
dlls/riched20/Makefile.in | 2 ++
dlls/riched20/version.rc | 26 ++++++++++++++++++++++++++
3 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 dlls/riched20/version.rc
diff --git a/dlls/riched20/.gitignore b/dlls/riched20/.gitignore
index aa58e05..d74aa87 100644
--- a/dlls/riched20/.gitignore
+++ b/dlls/riched20/.gitignore
@@ -1,2 +1,3 @@
Makefile
libriched20.def
+version.res
diff --git a/dlls/riched20/Makefile.in b/dlls/riched20/Makefile.in
index c4deaf8..b089f89 100644
--- a/dlls/riched20/Makefile.in
+++ b/dlls/riched20/Makefile.in
@@ -28,6 +28,8 @@ C_SRCS = \
SUBDIRS = tests
+RC_SRCS = version.rc
+
@MAKE_DLL_RULES@
### Dependencies:
diff --git a/dlls/riched20/version.rc b/dlls/riched20/version.rc
new file mode 100644
index 0000000..bc907c9
--- /dev/null
+++ b/dlls/riched20/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2006 Mike McCormack
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine Richedit dll"
+#define WINE_FILENAME_STR "riched20.dll"
+#define WINE_FILEVERSION 5,30,23,1215
+#define WINE_FILEVERSION_STR "5,30,23,1215"
+#define WINE_PRODUCTVERSION 5,30,23,1215
+#define WINE_PRODUCTVERSION_STR "5,30,23,1215"
+
+#include "wine/wine_common_ver.rc"
Module: wine
Branch: refs/heads/master
Commit: cfef0fee01f19dd1117d1bf794eb6eddf6157fd1
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=cfef0fee01f19dd1117d1bf…
Author: Mike McCormack <mike(a)codeweavers.com>
Date: Wed Mar 22 13:45:35 2006 +0900
include: Add softpub.h.
---
include/Makefile.in | 1 +
include/softpub.h | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 include/softpub.h
diff --git a/include/Makefile.in b/include/Makefile.in
index 033ad99..c40e5f9 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -244,6 +244,7 @@ WINDOWS_INCLUDES = \
shlwapi.h \
sipbase.h \
snmp.h \
+ softpub.h \
sql.h \
sqlext.h \
sqltypes.h \
diff --git a/include/softpub.h b/include/softpub.h
new file mode 100644
index 0000000..b5836b0
--- /dev/null
+++ b/include/softpub.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2006 Mike McCormack
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __WINE_SOFTPUB_H
+#define __WINE_SOFTPUB_H
+
+#include <wintrust.h>
+
+#define WINTRUST_ACTION_GENERIC_CERT_VERIFY \
+ { 0x189a3842, 0x3041, 0x11d1, { 0x85,0xe1,0x00,0xc0,0x4f,0xc2,0x95,0xee }}
+
+#define WINTRUST_ACTION_GENERIC_CHAIN_VERIFY \
+ { 0xfc451c16, 0xac75, 0x11d1, { 0xb4,0xb8,0x00,0xc0,0x4f,0xb6,0x6e,0xa0 }}
+
+#define WINTRUST_ACTION_GENERIC_VERIFY_V2 \
+ { 0xaac56b, 0xcd44, 0x11d0, { 0x8c,0xc2,0x00,0xc0,0x4f,0xc2,0x95,0xee }}
+#define WINTRUST_ACTION_TRUSTPROVIDER_TEST \
+ { 0x573e31f8, 0xddba, 0x11d0, { 0x8c,0xcb,0x00,0xc0,0x4f,0xc2,0x95,0xee }}
+
+#endif /* __WINE_SOFTPUB_H */
Module: wine
Branch: refs/heads/master
Commit: c39a5f0dbae4964f6a796fab467bed20ba4bbc85
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c39a5f0dbae4964f6a796fa…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Mar 21 16:18:24 2006 +0100
Added DLL_WINE_PREATTACH handling in a number of stub-only dlls.
---
dlls/activeds/activeds_main.c | 10 +++++++++-
dlls/cfgmgr32/main.c | 16 ++++++++++++++++
dlls/cryptdll/cryptdll.c | 2 ++
dlls/d3dim/d3dim_main.c | 38 +++++++++++++++++++++++++++++++++++++-
dlls/d3drm/d3drm_main.c | 22 +++++++++++++++++++---
dlls/msnet32/msnet_main.c | 21 +++++++++++++++++++++
dlls/snmpapi/main.c | 2 ++
dlls/url/url_main.c | 38 +++++++++++++++++++++++++++++++++++++-
dlls/vdmdbg/vdmdbg.c | 38 +++++++++++++++++++++++++++++++++++++-
dlls/winnls32/winnls.c | 16 ++++++++++++++++
dlls/wintrust/wintrust_main.c | 17 +++++++++++++++++
11 files changed, 213 insertions(+), 7 deletions(-)
diff --git a/dlls/activeds/activeds_main.c b/dlls/activeds/activeds_main.c
index d010a76..b296742 100644
--- a/dlls/activeds/activeds_main.c
+++ b/dlls/activeds/activeds_main.c
@@ -48,7 +48,15 @@ WINE_DEFAULT_DEBUG_CHANNEL(activeds);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(%p, %ld, %p)\n",hinstDLL, fdwReason, lpvReserved);
- /* For the moment, do nothing here. */
+
+ switch(fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( hinstDLL );
+ break;
+ }
return TRUE;
}
diff --git a/dlls/cfgmgr32/main.c b/dlls/cfgmgr32/main.c
index 10757d6..0312900 100644
--- a/dlls/cfgmgr32/main.c
+++ b/dlls/cfgmgr32/main.c
@@ -29,6 +29,22 @@
WINE_DEFAULT_DEBUG_CHANNEL(cfgmgr32);
+/***********************************************************************
+ * DllMain (CFGMGR32.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
+
CONFIGRET WINAPI CM_Get_Device_ID_ListA(
PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
{
diff --git a/dlls/cryptdll/cryptdll.c b/dlls/cryptdll/cryptdll.c
index fcb8589..9c9b6d7 100644
--- a/dlls/cryptdll/cryptdll.c
+++ b/dlls/cryptdll/cryptdll.c
@@ -32,6 +32,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL,
TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason) {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
{
DisableThreadLibraryCalls(hinstDLL);
diff --git a/dlls/d3dim/d3dim_main.c b/dlls/d3dim/d3dim_main.c
index 67a01ed..0c0f022 100644
--- a/dlls/d3dim/d3dim_main.c
+++ b/dlls/d3dim/d3dim_main.c
@@ -1 +1,37 @@
-/* nothing here yet */
+/*
+ * Copyright 2006 Alexandre Julliard
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ * DllMain (D3DIM.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
diff --git a/dlls/d3drm/d3drm_main.c b/dlls/d3drm/d3drm_main.c
index ecb7191..caa0f90 100644
--- a/dlls/d3drm/d3drm_main.c
+++ b/dlls/d3drm/d3drm_main.c
@@ -16,6 +16,22 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ * DllMain (D3DRM.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
diff --git a/dlls/msnet32/msnet_main.c b/dlls/msnet32/msnet_main.c
index 40e9dc4..bc92f45 100644
--- a/dlls/msnet32/msnet_main.c
+++ b/dlls/msnet32/msnet_main.c
@@ -16,10 +16,31 @@
#include "config.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(msnet);
+
+/***********************************************************************
+ * DllMain (MSNET32.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
+
/***********************************************************************
* @ (MSNET32.57)
*/
diff --git a/dlls/snmpapi/main.c b/dlls/snmpapi/main.c
index 326e6bc..fda8f35 100644
--- a/dlls/snmpapi/main.c
+++ b/dlls/snmpapi/main.c
@@ -39,6 +39,8 @@ BOOL WINAPI DllMain(
TRACE("(%p,%ld,%p)\n", hInstDLL, fdwReason, lpvReserved);
switch(fdwReason) {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
break;
diff --git a/dlls/url/url_main.c b/dlls/url/url_main.c
index 67a01ed..b85e204 100644
--- a/dlls/url/url_main.c
+++ b/dlls/url/url_main.c
@@ -1 +1,37 @@
-/* nothing here yet */
+/*
+ * Copyright 2006 Alexandre Julliard
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ * DllMain (URL.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
diff --git a/dlls/vdmdbg/vdmdbg.c b/dlls/vdmdbg/vdmdbg.c
index 67a01ed..3d272c0 100644
--- a/dlls/vdmdbg/vdmdbg.c
+++ b/dlls/vdmdbg/vdmdbg.c
@@ -1 +1,37 @@
-/* nothing here yet */
+/*
+ * Copyright 2006 Alexandre Julliard
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+
+/***********************************************************************
+ * DllMain (VDMDBG.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
diff --git a/dlls/winnls32/winnls.c b/dlls/winnls32/winnls.c
index 4172fc2..892ec1c 100644
--- a/dlls/winnls32/winnls.c
+++ b/dlls/winnls32/winnls.c
@@ -23,6 +23,22 @@
#include "wine/winuser16.h"
/***********************************************************************
+ * DllMain (WINNLS.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
+
+/***********************************************************************
* WINNLSEnableIME (WINNLS.16)
*/
BOOL WINAPI WINNLSEnableIME16(HWND16 hWnd, BOOL fEnable)
diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c
index 3d7ac5c..09ddfed 100644
--- a/dlls/wintrust/wintrust_main.c
+++ b/dlls/wintrust/wintrust_main.c
@@ -32,6 +32,23 @@
WINE_DEFAULT_DEBUG_CHANNEL(wintrust);
+
+/***********************************************************************
+ * DllMain (WINTRUST.@)
+ */
+BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
+{
+ switch(reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( inst );
+ break;
+ }
+ return TRUE;
+}
+
/***********************************************************************
* CryptCATAdminAcquireContext (WINTRUST.@)
*/
Module: wine
Branch: refs/heads/master
Commit: 80e4fb597537b6db4f38a35783131d6f0906a02e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=80e4fb597537b6db4f38a35…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Tue Mar 21 13:44:36 2006 +0000
wininet: InternetCreateUrlW should return the number of bytes needed.
InternetCreateUrlW should return the number of bytes needed to store
the URL, not the number of characters (reported by Sven Paschukat).
---
dlls/wininet/http.c | 5 +++--
dlls/wininet/internet.c | 25 ++++++++++++++++++++-----
2 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 1a2638c..76f7b7e 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -2003,9 +2003,10 @@ static BOOL HTTP_HandleRedirect(LPWININE
(GetLastError() != ERROR_INSUFFICIENT_BUFFER))
return FALSE;
- url_length++; /* for nul terminating character */
- orig_url = HeapAlloc(GetProcessHeap(), 0, url_length * sizeof(WCHAR));
+ orig_url = HeapAlloc(GetProcessHeap(), 0, url_length);
+ /* convert from bytes to characters */
+ url_length = url_length / sizeof(WCHAR) - 1;
if (!InternetCreateUrlW(&urlComponents, 0, orig_url, &url_length))
{
HeapFree(GetProcessHeap(), 0, orig_url);
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index 42eb61d..cde3d52 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -3900,10 +3900,7 @@ static void convert_urlcomp_atow(LPURL_C
/***********************************************************************
* InternetCreateUrlA (WININET.@)
*
- * RETURNS
- * TRUE on success
- * FALSE on failure
- *
+ * See InternetCreateUrlW.
*/
BOOL WINAPI InternetCreateUrlA(LPURL_COMPONENTSA lpUrlComponents, DWORD dwFlags,
LPSTR lpszUrl, LPDWORD lpdwUrlLength)
@@ -3930,6 +3927,9 @@ BOOL WINAPI InternetCreateUrlA(LPURL_COM
ret = InternetCreateUrlW(&urlCompW, dwFlags, urlW, lpdwUrlLength);
+ if (!ret && (GetLastError() == ERROR_INSUFFICIENT_BUFFER))
+ *lpdwUrlLength /= sizeof(WCHAR);
+
/* on success, lpdwUrlLength points to the size of urlW in WCHARS
* minus one, so add one to leave room for NULL terminator
*/
@@ -3950,6 +3950,21 @@ BOOL WINAPI InternetCreateUrlA(LPURL_COM
/***********************************************************************
* InternetCreateUrlW (WININET.@)
*
+ * Creates a URL from its component parts.
+ *
+ * PARAMS
+ * lpUrlComponents [I] URL Components.
+ * dwFlags [I] Flags. See notes.
+ * lpszUrl [I] Buffer in which to store the created URL.
+ * lpdwUrlLength [I/O] On input, the length of the buffer pointed to by
+ * lpszUrl in characters. On output, the number of bytes
+ * required to store the URL including terminator.
+ *
+ * NOTES
+ *
+ * The dwFlags parameter can be zero or more of the following:
+ *|ICU_ESCAPE - Generates escape sequences for unsafe characters in the path and extra info of the URL.
+ *
* RETURNS
* TRUE on success
* FALSE on failure
@@ -3980,7 +3995,7 @@ BOOL WINAPI InternetCreateUrlW(LPURL_COM
if (!lpszUrl || *lpdwUrlLength < dwLen)
{
- *lpdwUrlLength = dwLen + 1; /* terminating null */
+ *lpdwUrlLength = (dwLen + 1) * sizeof(WCHAR);
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return FALSE;
}
Module: wine
Branch: refs/heads/master
Commit: d6df0ac71710cb3a1cd3b54964373eddbe1a9af0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d6df0ac71710cb3a1cd3b54…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Mar 21 12:01:12 2006 +0100
winewrapper: Remove explicit call to wineprefixcreate.
Now that wineprefixcreate detects the build tree automatically, the
standard behavior of starting it from ntdll should work fine.
---
tools/winewrapper | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tools/winewrapper b/tools/winewrapper
index c958b60..7c49b38 100755
--- a/tools/winewrapper
+++ b/tools/winewrapper
@@ -97,13 +97,6 @@ then
. $topdir/.winewrapper
fi
-# create prefix directory if needed
-
-if [ -z "$WINEPREFIX" -a ! -d "$HOME/.wine" ]
-then
- "$topdir/tools/wineprefixcreate" --use-wine-tree "$topdir"
-fi
-
# and run the application
case "$0" in
Module: wine
Branch: refs/heads/master
Commit: 8b478a70ec7362249c8075d75812f1175c956f39
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8b478a70ec7362249c8075d…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Tue Mar 21 11:30:48 2006 +0100
setupapi: Added support for creating fake dlls at install time.
This should satisfy applications that access a dll file directly. For
apps that check the dll version in the file, the version resource is
copied from the builtin dll.
---
dlls/setupapi/Makefile.in | 1
dlls/setupapi/fakedll.c | 332 ++++++++++++++++++++++++++++++++++++++
dlls/setupapi/install.c | 46 +++++
dlls/setupapi/setupapi_private.h | 2
4 files changed, 381 insertions(+), 0 deletions(-)
create mode 100644 dlls/setupapi/fakedll.c
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=8b478a70ec7362249c8…
Module: wine
Branch: refs/heads/master
Commit: e66e34ef7b5ad61bda09067e6ea8f8990017b5de
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e66e34ef7b5ad61bda09067…
Author: Vitaliy Margolen <wine-patch(a)kievinfo.com>
Date: Sat Mar 18 11:26:37 2006 -0700
dinput: Create single thread for mouse and keyboard hook.
Put keyboard & mouse hook callbacks into separate thread.
Move few global variables into object. Delete no longer used crit section.
For hooks to work properly hook callback have to be in a thread
with message loop. Some games create separate threads just to handle
mouse and/or keyboard events that do not have message loop.
---
dlls/dinput/device.c | 138 ++++++++++++++++++++++++++++++++++++++++++
dlls/dinput/device_private.h | 2 +
dlls/dinput/keyboard.c | 130 +++++++++++++++-------------------------
dlls/dinput/mouse.c | 33 +++-------
4 files changed, 201 insertions(+), 102 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=e66e34ef7b5ad61bda0…