winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
February 2009
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
2 participants
965 discussions
Start a n
N
ew thread
Paul Vriens : fusion/tests: Fix some test failures on systems with .NET 1.1 .
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: a89bd3f562276d6f938bffef30f28fb35171fa5b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=a89bd3f562276d6f938bffef3…
Author: Paul Vriens <Paul.Vriens.Wine(a)gmail.com> Date: Fri Feb 6 08:27:08 2009 +0100 fusion/tests: Fix some test failures on systems with .NET 1.1. --- dlls/fusion/tests/fusion.c | 41 +++++++++++++++++++++++++++-------------- 1 files changed, 27 insertions(+), 14 deletions(-) diff --git a/dlls/fusion/tests/fusion.c b/dlls/fusion/tests/fusion.c index ecdf87c..d2ed0f9 100644 --- a/dlls/fusion/tests/fusion.c +++ b/dlls/fusion/tests/fusion.c @@ -144,13 +144,37 @@ static void test_GetCachePath(void) "Expected HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), got %08x\n", hr); ok_w2("Expected \"%s\", got \"%s\"\n", nochange, path); + lstrcpyW(cachepath, windir); + lstrcatW(cachepath, backslash); + lstrcatW(cachepath, assembly); + + /* ASM_CACHE_ROOT */ + lstrcpyW(path, nochange); + size = MAX_PATH; + hr = pGetCachePath(ASM_CACHE_ROOT, path, &size); + ok(hr == S_OK || + broken(hr == E_INVALIDARG), /* .NET 1.1 */ + "Expected S_OK, got %08x\n", hr); + if (hr == S_OK) + ok_w2("Expected \"%s\", got \"%s\"\n", cachepath, path); + if (pGetCORVersion) { CHAR versionA[MAX_PATH]; CHAR cachepathA[MAX_PATH]; - - static const CHAR nativeimgA[] = "NativeImages_"; - static const CHAR zapfmtA[] = "%s\\%s\\%s%s_32"; + CHAR nativeimgA[MAX_PATH]; + CHAR zapfmtA[MAX_PATH]; + + if (hr == S_OK) + { + lstrcpyA(nativeimgA, "NativeImages_"); + lstrcpyA(zapfmtA, "%s\\%s\\%s%s_32"); + } + else + { + lstrcpyA(nativeimgA, "NativeImages1_"); + lstrcpyA(zapfmtA, "%s\\%s\\%s%s"); + } pGetCORVersion(version, MAX_PATH, &size); WideCharToMultiByte(CP_ACP, 0, version, -1, versionA, MAX_PATH, 0, 0); @@ -166,17 +190,6 @@ static void test_GetCachePath(void) ok_w2("Expected \"%s\", got \"%s\"\n", cachepath, path); } - lstrcpyW(cachepath, windir); - lstrcatW(cachepath, backslash); - lstrcatW(cachepath, assembly); - - /* ASM_CACHE_ROOT */ - lstrcpyW(path, nochange); - size = MAX_PATH; - hr = pGetCachePath(ASM_CACHE_ROOT, path, &size); - ok(hr == S_OK, "Expected S_OK, got %08x\n", hr); - ok_w2("Expected \"%s\", got \"%s\"\n", cachepath, path); - /* two flags at once */ lstrcpyW(path, nochange); size = MAX_PATH;
1
0
0
0
Paul Vriens : fusion/tests: Run tests correctly on Win98.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: cf9f4dfa2a772b75091fe81cccadf3e031d71cc8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cf9f4dfa2a772b75091fe81cc…
Author: Paul Vriens <Paul.Vriens.Wine(a)gmail.com> Date: Fri Feb 6 08:11:49 2009 +0100 fusion/tests: Run tests correctly on Win98. --- dlls/fusion/tests/fusion.c | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/dlls/fusion/tests/fusion.c b/dlls/fusion/tests/fusion.c index b285ba0..ecdf87c 100644 --- a/dlls/fusion/tests/fusion.c +++ b/dlls/fusion/tests/fusion.c @@ -76,6 +76,8 @@ static BOOL init_functionpointers(void) static void test_GetCachePath(void) { + CHAR windirA[MAX_PATH]; + WCHAR windir[MAX_PATH]; WCHAR cachepath[MAX_PATH]; WCHAR version[MAX_PATH]; WCHAR path[MAX_PATH]; @@ -86,10 +88,6 @@ static void test_GetCachePath(void) static const WCHAR nochange[] = {'n','o','c','h','a','n','g','e',0}; static const WCHAR assembly[] = {'a','s','s','e','m','b','l','y',0}; static const WCHAR gac[] = {'G','A','C',0}; - static const WCHAR nativeimg[] = { - 'N','a','t','i','v','e','I','m','a','g','e','s','_',0}; - static const WCHAR zapfmt[] = { - '%','s','\\','%','s','\\','%','s','%','s','_','3','2',0}; if (!pGetCachePath) { @@ -97,7 +95,9 @@ static void test_GetCachePath(void) return; } - GetWindowsDirectoryW(cachepath, MAX_PATH); + GetWindowsDirectoryA(windirA, MAX_PATH); + MultiByteToWideChar(CP_ACP, 0, windirA, -1, windir, MAX_PATH); + lstrcpyW(cachepath, windir); lstrcatW(cachepath, backslash); lstrcatW(cachepath, assembly); lstrcatW(cachepath, backslash); @@ -146,9 +146,17 @@ static void test_GetCachePath(void) if (pGetCORVersion) { + CHAR versionA[MAX_PATH]; + CHAR cachepathA[MAX_PATH]; + + static const CHAR nativeimgA[] = "NativeImages_"; + static const CHAR zapfmtA[] = "%s\\%s\\%s%s_32"; + pGetCORVersion(version, MAX_PATH, &size); - GetWindowsDirectoryW(path, MAX_PATH); - wsprintfW(cachepath, zapfmt, path, assembly, nativeimg, version); + WideCharToMultiByte(CP_ACP, 0, version, -1, versionA, MAX_PATH, 0, 0); + + wsprintfA(cachepathA, zapfmtA, windirA, "assembly", nativeimgA, versionA); + MultiByteToWideChar(CP_ACP, 0, cachepathA, -1, cachepath, MAX_PATH); /* ASM_CACHE_ZAP */ lstrcpyW(path, nochange); @@ -158,7 +166,7 @@ static void test_GetCachePath(void) ok_w2("Expected \"%s\", got \"%s\"\n", cachepath, path); } - GetWindowsDirectoryW(cachepath, MAX_PATH); + lstrcpyW(cachepath, windir); lstrcatW(cachepath, backslash); lstrcatW(cachepath, assembly);
1
0
0
0
Michael Stefaniuc : winejack.drv: The dwParam1/ dwParam2 function arguments are DWORD_PTR.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: 2c11f3a5a53fa7101e4ee67ea13e8c74a58b1d10 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=2c11f3a5a53fa7101e4ee67ea…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Feb 6 01:12:14 2009 +0100 winejack.drv: The dwParam1/dwParam2 function arguments are DWORD_PTR. --- dlls/winejack.drv/audio.c | 64 +++++++++++++++++++++++--------------------- 1 files changed, 33 insertions(+), 31 deletions(-) diff --git a/dlls/winejack.drv/audio.c b/dlls/winejack.drv/audio.c index 2c44ed4..8bcb5bb 100644 --- a/dlls/winejack.drv/audio.c +++ b/dlls/winejack.drv/audio.c @@ -1005,10 +1005,11 @@ sym_not_found: /************************************************************************** * wodNotifyClient [internal] */ -static DWORD wodNotifyClient(WINE_WAVEOUT* wwo, WORD wMsg, DWORD dwParam1, DWORD dwParam2) +static DWORD wodNotifyClient(WINE_WAVEOUT* wwo, WORD wMsg, DWORD_PTR dwParam1, + DWORD_PTR dwParam2) { - TRACE("wMsg = 0x%04x dwParm1 = %04X dwParam2 = %04X\n", wMsg, dwParam1, dwParam2); - + TRACE("wMsg = %04X dwParm1 = %08lX dwParam2 = %08lX\n", wMsg, dwParam1, dwParam2); + switch (wMsg) { case WOM_OPEN: case WOM_CLOSE: @@ -1144,7 +1145,7 @@ static DWORD wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force) TRACE("notifying client: lpWaveHdr=(%p) lpPlayPtr=(%p) dwFlags=(%d)\n", lpWaveHdr, wwo->lpPlayPtr, lpWaveHdr->dwFlags); - wodNotifyClient(wwo, WOM_DONE, (DWORD)lpWaveHdr, 0); + wodNotifyClient(wwo, WOM_DONE, (DWORD_PTR)lpWaveHdr, 0); } TRACE("Not notifying client: lpWaveHdr=(%p) lpPlayPtr=(%p) lpLoopPtr=(%p)\n", lpWaveHdr, wwo->lpPlayPtr, wwo->lpLoopPtr); @@ -1356,7 +1357,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags) } EnterCriticalSection(&wwo->access_crst); - retval = wodNotifyClient(wwo, WOM_OPEN, 0L, 0L); + retval = wodNotifyClient(wwo, WOM_OPEN, 0, 0); LeaveCriticalSection(&wwo->access_crst); return retval; @@ -1397,7 +1398,7 @@ static DWORD wodClose(WORD wDevID) #endif DeleteCriticalSection(&wwo->access_crst); /* delete the critical section so we can initialize it again from wodOpen() */ - ret = wodNotifyClient(wwo, WOM_CLOSE, 0L, 0L); + ret = wodNotifyClient(wwo, WOM_CLOSE, 0, 0); } return ret; @@ -1657,12 +1658,11 @@ static DWORD wodDevInterface(UINT wDevID, PWCHAR dwParam1, DWORD dwParam2) /************************************************************************** * wodMessage (WINEJACK.7) */ -DWORD WINAPI JACK_wodMessage(UINT wDevID, UINT wMsg, DWORD dwUser, - DWORD dwParam1, DWORD dwParam2) +DWORD WINAPI JACK_wodMessage(UINT wDevID, UINT wMsg, DWORD dwUser, + DWORD_PTR dwParam1, DWORD_PTR dwParam2) { - TRACE("(%u, %04X, %08X, %08X, %08X);\n", - wDevID, wMsg, dwUser, dwParam1, dwParam2); - + TRACE("(%u, %04X, %08X, %08lX, %08lX);\n", wDevID, wMsg, dwUser, dwParam1, dwParam2); + switch (wMsg) { case DRVM_INIT: case DRVM_EXIT: @@ -1750,10 +1750,11 @@ static DWORD wodDsDesc(UINT wDevID, PDSDRIVERDESC desc) /************************************************************************** * widNotifyClient [internal] */ -static DWORD widNotifyClient(WINE_WAVEIN* wwi, WORD wMsg, DWORD dwParam1, DWORD dwParam2) +static DWORD widNotifyClient(WINE_WAVEIN* wwi, WORD wMsg, DWORD_PTR dwParam1, + DWORD_PTR dwParam2) { - TRACE("wMsg = 0x%04x dwParm1 = %04X dwParam2 = %04X\n", wMsg, dwParam1, dwParam2); - + TRACE("wMsg = %04X dwParm1 = %08lX dwParam2 = %08lX\n", wMsg, dwParam1, dwParam2); + switch (wMsg) { case WIM_OPEN: case WIM_CLOSE: @@ -1847,7 +1848,7 @@ static int JACK_callback_wwi (nframes_t nframes, void *arg) TRACE("WaveHdr full. dwBytesRecorded=(%u) dwFlags=(0x%x)\n",lpWaveHdr->dwBytesRecorded,lpWaveHdr->dwFlags); - widNotifyClient(wwi, WIM_DATA, (DWORD)lpWaveHdr, 0); + widNotifyClient(wwi, WIM_DATA, (DWORD_PTR)lpWaveHdr, 0); lpWaveHdr = wwi->lpQueuePtr = lpNext; } @@ -2151,7 +2152,7 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags) TRACE("notify client.\n"); EnterCriticalSection(&wwi->access_crst); - retval = widNotifyClient(wwi, WIM_OPEN, 0L, 0L); + retval = widNotifyClient(wwi, WIM_OPEN, 0, 0); LeaveCriticalSection(&wwi->access_crst); return retval; @@ -2190,8 +2191,8 @@ static DWORD widClose(WORD wDevID) JACK_CloseWaveInDevice(wwi); /* close the jack device */ #endif DeleteCriticalSection(&wwi->access_crst); /* delete the critical section so we can initialize it again from wodOpen() */ - - ret = widNotifyClient(wwi, WIM_CLOSE, 0L, 0L); + + ret = widNotifyClient(wwi, WIM_CLOSE, 0, 0); } return ret; @@ -2277,7 +2278,7 @@ static DWORD widStop(WORD wDevID) TRACE("stop %p %p\n", lpWaveHdr, lpWaveHdr->lpNext); lpWaveHdr->dwFlags &= ~WHDR_INQUEUE; lpWaveHdr->dwFlags |= WHDR_DONE; - widNotifyClient(wwi, WIM_DATA, (DWORD)lpWaveHdr, 0); + widNotifyClient(wwi, WIM_DATA, (DWORD_PTR)lpWaveHdr, 0); wwi->lpQueuePtr = lpNext; } } @@ -2307,8 +2308,8 @@ static DWORD widReset(WORD wDevID) TRACE("reset %p %p\n", lpWaveHdr, lpWaveHdr->lpNext); lpWaveHdr->dwFlags &= ~WHDR_INQUEUE; lpWaveHdr->dwFlags |= WHDR_DONE; - - widNotifyClient(wwi, WIM_DATA, (DWORD)lpWaveHdr, 0); + + widNotifyClient(wwi, WIM_DATA, (DWORD_PTR)lpWaveHdr, 0); } wwi->lpQueuePtr = NULL; @@ -2354,11 +2355,10 @@ static DWORD widDevInterface(UINT wDevID, PWCHAR dwParam1, DWORD dwParam2) /************************************************************************** * widMessage (WINEJACK.6) */ -DWORD WINAPI JACK_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser, - DWORD dwParam1, DWORD dwParam2) +DWORD WINAPI JACK_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser, + DWORD_PTR dwParam1, DWORD_PTR dwParam2) { - TRACE("(%u, %04X, %08X, %08X, %08X);\n", - wDevID, wMsg, dwUser, dwParam1, dwParam2); + TRACE("(%u, %04X, %08X, %08lX, %08lX);\n", wDevID, wMsg, dwUser, dwParam1, dwParam2); switch (wMsg) { case DRVM_INIT: @@ -2391,20 +2391,22 @@ DWORD WINAPI JACK_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser, /************************************************************************** * widMessage (WINEJACK.6) */ -DWORD WINAPI JACK_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser, - DWORD dwParam1, DWORD dwParam2) +DWORD WINAPI JACK_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser, + DWORD_PTR dwParam1, DWORD_PTR dwParam2) { - FIXME("(%u, %04X, %08X, %08X, %08X):jack support not compiled into wine\n", wDevID, wMsg, dwUser, dwParam1, dwParam2); + FIXME("(%u, %04X, %08X, %08lX, %08lX):jack support not compiled into wine\n", + wDevID, wMsg, dwUser, dwParam1, dwParam2); return MMSYSERR_NOTENABLED; } /************************************************************************** * wodMessage (WINEJACK.7) */ -DWORD WINAPI JACK_wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser, - DWORD dwParam1, DWORD dwParam2) +DWORD WINAPI JACK_wodMessage(WORD wDevID, WORD wMsg, DWORD dwUser, + DWORD_PTR dwParam1, DWORD_PTR dwParam2) { - FIXME("(%u, %04X, %08X, %08X, %08X):jack support not compiled into wine\n", wDevID, wMsg, dwUser, dwParam1, dwParam2); + FIXME("(%u, %04X, %08X, %08lX, %08lX):jack support not compiled into wine\n", + wDevID, wMsg, dwUser, dwParam1, dwParam2); return MMSYSERR_NOTENABLED; }
1
0
0
0
Michael Stefaniuc : winmm: SendDriverMessage takes LPARAM as 3rd and 4th argument.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: b8a5ab2924014fe681bd08d4a35c00ec02bdfc80 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b8a5ab2924014fe681bd08d4a…
Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Feb 6 01:11:18 2009 +0100 winmm: SendDriverMessage takes LPARAM as 3rd and 4th argument. --- dlls/winmm/joystick.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/winmm/joystick.c b/dlls/winmm/joystick.c index 0173926..996a4fa 100644 --- a/dlls/winmm/joystick.c +++ b/dlls/winmm/joystick.c @@ -143,7 +143,7 @@ UINT WINAPI joyGetNumDevs(void) for (i = 0; i < MAXJOYSTICK; i++) { if (JOY_LoadDriver(i)) { - ret += SendDriverMessage(JOY_Sticks[i].hDriver, JDD_GETNUMDEVS, 0L, 0L); + ret += SendDriverMessage(JOY_Sticks[i].hDriver, JDD_GETNUMDEVS, 0, 0); } } return ret; @@ -160,7 +160,7 @@ MMRESULT WINAPI joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize) lpCaps->wPeriodMin = JOY_PERIOD_MIN; /* FIXME */ lpCaps->wPeriodMax = JOY_PERIOD_MAX; /* FIXME (same as MS Joystick Driver) */ - return SendDriverMessage(JOY_Sticks[wID].hDriver, JDD_GETDEVCAPS, (DWORD)lpCaps, wSize); + return SendDriverMessage(JOY_Sticks[wID].hDriver, JDD_GETDEVCAPS, (LPARAM)lpCaps, wSize); } /************************************************************************** @@ -234,7 +234,7 @@ MMRESULT WINAPI joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo) lpInfo->dwReserved1 = 0; lpInfo->dwReserved2 = 0; - return SendDriverMessage(JOY_Sticks[wID].hDriver, JDD_GETPOSEX, (DWORD)lpInfo, 0L); + return SendDriverMessage(JOY_Sticks[wID].hDriver, JDD_GETPOSEX, (LPARAM)lpInfo, 0); } /************************************************************************** @@ -252,7 +252,7 @@ MMRESULT WINAPI joyGetPos(UINT wID, LPJOYINFO lpInfo) lpInfo->wZpos = 0; lpInfo->wButtons = 0; - return SendDriverMessage(JOY_Sticks[wID].hDriver, JDD_GETPOS, (DWORD)lpInfo, 0L); + return SendDriverMessage(JOY_Sticks[wID].hDriver, JDD_GETPOS, (LPARAM)lpInfo, 0); } /**************************************************************************
1
0
0
0
Andre Wisplinghoff : comdlg32: Update German and French translation.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: 6c96347121be5953f075f6ffd04d720f64f55323 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=6c96347121be5953f075f6ffd…
Author: Andre Wisplinghoff <andre.wisplinghoff(a)gmail.com> Date: Fri Feb 6 00:19:57 2009 +0100 comdlg32: Update German and French translation. --- dlls/comdlg32/cdlg_De.rc | 2 +- dlls/comdlg32/cdlg_Fr.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comdlg32/cdlg_De.rc b/dlls/comdlg32/cdlg_De.rc index 5f86e0c..46c4291 100644 --- a/dlls/comdlg32/cdlg_De.rc +++ b/dlls/comdlg32/cdlg_De.rc @@ -409,7 +409,7 @@ Bitte geben sie einen Wert zwischen %d und %d an." PD32_MARGINS_IN_MILLIMETERS "R�nder [mm]" PD32_MILLIMETERS "mm" - PD32_PRINTER_STATUS_READY "Bereit; " + PD32_PRINTER_STATUS_READY "Bereit" PD32_PRINTER_STATUS_PAUSED "Gestoppt; " PD32_PRINTER_STATUS_ERROR "Fehler; " PD32_PRINTER_STATUS_PENDING_DELETION "Wartet auf L�schung; " diff --git a/dlls/comdlg32/cdlg_Fr.rc b/dlls/comdlg32/cdlg_Fr.rc index b8f90f9..bd93a10 100644 --- a/dlls/comdlg32/cdlg_Fr.rc +++ b/dlls/comdlg32/cdlg_Fr.rc @@ -419,7 +419,7 @@ Veuillez en installer une et r PD32_MARGINS_IN_MILLIMETERS "Marges [mm]" PD32_MILLIMETERS "mm" - PD32_PRINTER_STATUS_READY "Pr�t�; " + PD32_PRINTER_STATUS_READY "Pr�t" PD32_PRINTER_STATUS_PAUSED "Suspendu�; " PD32_PRINTER_STATUS_ERROR "Erreur�; " PD32_PRINTER_STATUS_PENDING_DELETION "En attente de suppression�; "
1
0
0
0
Ken Thomases : winecoreaudio.drv: Add support for waveOutBreakLoop/ WODM_BREAKLOOP.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: 4cfa5b875ce4d6844a1a6417b8d0dcf0914cb42a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4cfa5b875ce4d6844a1a6417b…
Author: Ken Thomases <ken(a)codeweavers.com> Date: Thu Feb 5 15:49:04 2009 -0600 winecoreaudio.drv: Add support for waveOutBreakLoop/WODM_BREAKLOOP. --- dlls/winecoreaudio.drv/audio.c | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) diff --git a/dlls/winecoreaudio.drv/audio.c b/dlls/winecoreaudio.drv/audio.c index 1d5df02..43f2451 100644 --- a/dlls/winecoreaudio.drv/audio.c +++ b/dlls/winecoreaudio.drv/audio.c @@ -1329,6 +1329,36 @@ static DWORD wodReset(WORD wDevID) } /************************************************************************** +* wodBreakLoop [internal] +*/ +static DWORD wodBreakLoop(WORD wDevID) +{ + WINE_WAVEOUT* wwo; + + TRACE("(%u);\n", wDevID); + + if (wDevID >= MAX_WAVEOUTDRV) + { + WARN("bad device ID !\n"); + return MMSYSERR_BADDEVICEID; + } + + wwo = &WOutDev[wDevID]; + + OSSpinLockLock(&wwo->lock); + + if (wwo->lpLoopPtr != NULL) + { + /* ensure exit at end of current loop */ + wwo->dwLoops = 1; + } + + OSSpinLockUnlock(&wwo->lock); + + return MMSYSERR_NOERROR; +} + +/************************************************************************** * wodGetPosition [internal] */ static DWORD wodGetPosition(WORD wDevID, LPMMTIME lpTime, DWORD uSize) @@ -1488,7 +1518,7 @@ DWORD WINAPI CoreAudio_wodMessage(UINT wDevID, UINT wMsg, DWORD dwUser, case WODM_WRITE: return wodWrite(wDevID, (LPWAVEHDR) dwParam1, dwParam2); case WODM_PAUSE: return wodPause(wDevID); case WODM_GETPOS: return wodGetPosition(wDevID, (LPMMTIME) dwParam1, dwParam2); - case WODM_BREAKLOOP: return MMSYSERR_NOTSUPPORTED; + case WODM_BREAKLOOP: return wodBreakLoop(wDevID); case WODM_PREPARE: return wodPrepare(wDevID, (LPWAVEHDR)dwParam1, dwParam2); case WODM_UNPREPARE: return wodUnprepare(wDevID, (LPWAVEHDR)dwParam1, dwParam2);
1
0
0
0
Marcus Meissner : mshtml: Fixed size passed to MultiByteToWideChar.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: ad0a5f1bd25be48a84e587acdce5cad4bbb96c13 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ad0a5f1bd25be48a84e587acd…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Thu Feb 5 22:03:59 2009 +0100 mshtml: Fixed size passed to MultiByteToWideChar. --- dlls/mshtml/install.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c index df8c8be..15f6d93 100644 --- a/dlls/mshtml/install.c +++ b/dlls/mshtml/install.c @@ -447,7 +447,7 @@ static LPWSTR get_url(void) if(size > sizeof(httpW) && !memcmp(url, httpW, sizeof(httpW))) { strcatW(url, v_formatW); - MultiByteToWideChar(CP_ACP, 0, GECKO_VERSION, -1, url+strlenW(url), (size-strlenW(url))/sizeof(WCHAR)); + MultiByteToWideChar(CP_ACP, 0, GECKO_VERSION, -1, url+strlenW(url), size/sizeof(WCHAR)-strlenW(url)); } TRACE("Got URL %s\n", debugstr_w(url));
1
0
0
0
Marcus Meissner : advapi32: Fixed size of userName.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: fb3d3d020d1082a918df04033846809346b46269 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fb3d3d020d1082a918df04033…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Thu Feb 5 22:01:34 2009 +0100 advapi32: Fixed size of userName. --- dlls/advapi32/security.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c index d62bb23..38ca284 100644 --- a/dlls/advapi32/security.c +++ b/dlls/advapi32/security.c @@ -2721,7 +2721,7 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSI nameLen = UNLEN + 1; - userName = HeapAlloc(GetProcessHeap(), 0, nameLen); + userName = HeapAlloc(GetProcessHeap(), 0, nameLen*sizeof(WCHAR)); if (GetUserNameW(userName, &nameLen) && !strcmpW(lpAccountName, userName)) ret = lookup_user_account_name(Sid, cbSid, ReferencedDomainName,
1
0
0
0
Andrew Talbot : netapi32: Remove unused functions.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: e2eaface453edf423b9830f589fa27ba01a95f6a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=e2eaface453edf423b9830f58…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Thu Feb 5 20:01:11 2009 +0000 netapi32: Remove unused functions. --- dlls/netapi32/nbnamecache.c | 25 ------------------------- dlls/netapi32/nbnamecache.h | 9 --------- 2 files changed, 0 insertions(+), 34 deletions(-) diff --git a/dlls/netapi32/nbnamecache.c b/dlls/netapi32/nbnamecache.c index b9ed159..5f9b0b5 100644 --- a/dlls/netapi32/nbnamecache.c +++ b/dlls/netapi32/nbnamecache.c @@ -176,31 +176,6 @@ const NBNameCacheEntry *NBNameCacheFindEntry(struct NBNameCache *cache, return ret; } -BOOL NBNameCacheUpdateNBName(struct NBNameCache *cache, - const UCHAR name[NCBNAMSZ], const UCHAR nbname[NCBNAMSZ]) -{ - BOOL ret; - - if (cache) - { - NBNameCacheNode **node; - - EnterCriticalSection(&cache->cs); - node = NBNameCacheWalk(cache, (const char *)name); - if (node && *node && (*node)->entry) - { - memcpy((*node)->entry->nbname, nbname, NCBNAMSZ); - ret = TRUE; - } - else - ret = FALSE; - LeaveCriticalSection(&cache->cs); - } - else - ret = FALSE; - return ret; -} - void NBNameCacheDestroy(struct NBNameCache *cache) { if (cache) diff --git a/dlls/netapi32/nbnamecache.h b/dlls/netapi32/nbnamecache.h index b227ed6..ffefbc5 100644 --- a/dlls/netapi32/nbnamecache.h +++ b/dlls/netapi32/nbnamecache.h @@ -68,15 +68,6 @@ BOOL NBNameCacheAddEntry(struct NBNameCache *cache, NBNameCacheEntry *entry); const NBNameCacheEntry *NBNameCacheFindEntry(struct NBNameCache *cache, const UCHAR name[NCBNAMSZ]); -/* If the entry with name name is in the cache, updates its nbname member to - * nbname. The entry's expire time is implicitly updated to entryExpireTimeMS - * + the current time in MS, since getting the NetBIOS name meant validating - * the name and address anyway. - * Returns TRUE on success or FALSE on failure. - */ -BOOL NBNameCacheUpdateNBName(struct NBNameCache *cache, - const UCHAR name[NCBNAMSZ], const UCHAR nbname[NCBNAMSZ]); - void NBNameCacheDestroy(struct NBNameCache *cache); #endif /* ndef __WINE_NBNAMECACHE_H */
1
0
0
0
Andrew Talbot : msi: Remove unused functions.
by Alexandre Julliard
06 Feb '09
06 Feb '09
Module: wine Branch: master Commit: c0ad988e67adc3cac41e37cc6304dea4a4cf8b13 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c0ad988e67adc3cac41e37cc6…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Thu Feb 5 20:01:08 2009 +0000 msi: Remove unused functions. --- dlls/msi/events.c | 21 ------------------ dlls/msi/helpers.c | 22 ------------------- dlls/msi/msipriv.h | 7 ------ dlls/msi/registry.c | 11 --------- dlls/msi/string.c | 57 --------------------------------------------------- 5 files changed, 0 insertions(+), 118 deletions(-) diff --git a/dlls/msi/events.c b/dlls/msi/events.c index cb70b69..a89d689 100644 --- a/dlls/msi/events.c +++ b/dlls/msi/events.c @@ -278,27 +278,6 @@ VOID ControlEvent_SubscribeToEvent( MSIPACKAGE *package, msi_dialog *dialog, list_add_tail( &package->subscriptions, &sub->entry ); } -VOID ControlEvent_UnSubscribeToEvent( MSIPACKAGE *package, LPCWSTR event, - LPCWSTR control, LPCWSTR attribute ) -{ - struct list *i, *t; - struct subscriber *sub; - - LIST_FOR_EACH_SAFE( i, t, &package->subscriptions ) - { - sub = LIST_ENTRY( i, struct subscriber, entry ); - - if( lstrcmpiW(sub->control,control) ) - continue; - if( lstrcmpiW(sub->attribute,attribute) ) - continue; - if( lstrcmpiW(sub->event,event) ) - continue; - list_remove( &sub->entry ); - free_subscriber( sub ); - } -} - VOID ControlEvent_FireSubscribedEvent( MSIPACKAGE *package, LPCWSTR event, MSIRECORD *rec ) { diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c index ea36b3d..5cfb4af 100644 --- a/dlls/msi/helpers.c +++ b/dlls/msi/helpers.c @@ -871,13 +871,6 @@ void reduce_to_longfilename(WCHAR* filename) memmove(filename, p+1, (strlenW(p+1)+1)*sizeof(WCHAR)); } -void reduce_to_shortfilename(WCHAR* filename) -{ - LPWSTR p = strchrW(filename,'|'); - if (p) - *p = 0; -} - LPWSTR create_component_advertise_string(MSIPACKAGE* package, MSICOMPONENT* component, LPCWSTR feature) { @@ -1071,18 +1064,3 @@ WCHAR* generate_error_string(MSIPACKAGE *package, UINT error, DWORD count, ... ) msiobj_release( &rec->hdr ); return data; } - -void msi_ui_error( DWORD msg_id, DWORD type ) -{ - WCHAR text[2048]; - - static const WCHAR title[] = { - 'W','i','n','d','o','w','s',' ','I','n','s','t','a','l','l','e','r',0 - }; - - if (!MsiLoadStringW( -1, msg_id, text, sizeof(text) / sizeof(text[0]), - MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL) )) - return; - - MessageBoxW( NULL, text, title, type ); -} diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h index 35be0fb..6b15fed 100644 --- a/dlls/msi/msipriv.h +++ b/dlls/msi/msipriv.h @@ -655,11 +655,9 @@ enum StringPersistence }; extern BOOL msi_addstringW( string_table *st, UINT string_no, const WCHAR *data, int len, UINT refcount, enum StringPersistence persistence ); -extern UINT msi_id2stringW( const string_table *st, UINT string_no, LPWSTR buffer, UINT *sz ); extern UINT msi_string2idW( const string_table *st, LPCWSTR buffer, UINT *id ); extern VOID msi_destroy_stringtable( string_table *st ); -extern UINT msi_strcmp( const string_table *st, UINT lval, UINT rval, UINT *res ); extern const WCHAR *msi_string_lookup_id( const string_table *st, UINT id ); extern HRESULT msi_init_string_table( IStorage *stg ); extern string_table *msi_load_string_table( IStorage *stg, UINT *bytes_per_strref ); @@ -795,7 +793,6 @@ extern LPWSTR msi_reg_get_val_str( HKEY hkey, LPCWSTR name ); extern BOOL msi_reg_get_val_dword( HKEY hkey, LPCWSTR name, DWORD *val); extern DWORD msi_version_str_to_dword(LPCWSTR p); -extern LPWSTR msi_version_dword_to_str(DWORD version); extern LONG msi_reg_set_val_str( HKEY hkey, LPCWSTR name, LPCWSTR value ); extern LONG msi_reg_set_val_multi_str( HKEY hkey, LPCWSTR name, LPCWSTR value ); @@ -973,14 +970,12 @@ extern BOOL create_full_pathW(const WCHAR *path); extern BOOL ACTION_VerifyComponentForAction(const MSICOMPONENT*, INSTALLSTATE); extern BOOL ACTION_VerifyFeatureForAction(const MSIFEATURE*, INSTALLSTATE); extern void reduce_to_longfilename(WCHAR*); -extern void reduce_to_shortfilename(WCHAR*); extern LPWSTR create_component_advertise_string(MSIPACKAGE*, MSICOMPONENT*, LPCWSTR); extern void ACTION_UpdateComponentStates(MSIPACKAGE *package, LPCWSTR szFeature); extern UINT register_unique_action(MSIPACKAGE *, LPCWSTR); extern BOOL check_unique_action(const MSIPACKAGE *, LPCWSTR); extern WCHAR* generate_error_string(MSIPACKAGE *, UINT, DWORD, ... ); extern UINT msi_create_component_directories( MSIPACKAGE *package ); -extern void msi_ui_error( DWORD msg_id, DWORD type ); extern UINT msi_set_last_used_source(LPCWSTR product, LPCWSTR usersid, MSIINSTALLCONTEXT context, DWORD options, LPCWSTR value); @@ -1011,8 +1006,6 @@ extern VOID ControlEvent_CleanupDialogSubscriptions(MSIPACKAGE *package, LPWSTR extern VOID ControlEvent_CleanupSubscriptions(MSIPACKAGE *package); extern VOID ControlEvent_SubscribeToEvent(MSIPACKAGE *package, msi_dialog *dialog, LPCWSTR event, LPCWSTR control, LPCWSTR attribute); -extern VOID ControlEvent_UnSubscribeToEvent( MSIPACKAGE *package, LPCWSTR event, - LPCWSTR control, LPCWSTR attribute ); /* OLE automation */ extern HRESULT create_msiserver(IUnknown *pOuter, LPVOID *ppObj); diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 3689724..7f9dcb2 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -392,17 +392,6 @@ DWORD msi_version_str_to_dword(LPCWSTR p) return MAKELONG(build, MAKEWORD(minor, major)); } -LPWSTR msi_version_dword_to_str(DWORD version) -{ - static const WCHAR fmt[] = { '%','u','.','%','u','.','%','u',0 }; - LPWSTR str = msi_alloc(20); - sprintfW(str, fmt, - (version&0xff000000)>>24, - (version&0x00ff0000)>>16, - version&0x0000ffff); - return str; -} - LONG msi_reg_set_val_str( HKEY hkey, LPCWSTR name, LPCWSTR value ) { static const WCHAR emptyW[] = {0}; diff --git a/dlls/msi/string.c b/dlls/msi/string.c index bf7257c..97b1099 100644 --- a/dlls/msi/string.c +++ b/dlls/msi/string.c @@ -328,45 +328,6 @@ const WCHAR *msi_string_lookup_id( const string_table *st, UINT id ) } /* - * msi_id2stringW - * - * [in] st - pointer to the string table - * [in] id - id of the string to retrieve - * [out] buffer - destination of the string - * [in/out] sz - number of bytes available in the buffer on input - * number of bytes used on output - * - * The size includes the terminating nul character. Short buffers - * will be filled, but not nul terminated. - */ -UINT msi_id2stringW( const string_table *st, UINT id, LPWSTR buffer, UINT *sz ) -{ - UINT len; - const WCHAR *str; - - TRACE("Finding string %d of %d\n", id, st->maxcount); - - str = msi_string_lookup_id( st, id ); - if( !str ) - return ERROR_FUNCTION_FAILED; - - len = strlenW( str ) + 1; - - if( !buffer ) - { - *sz = len; - return ERROR_SUCCESS; - } - - if( *sz < len ) - *sz = len; - memcpy( buffer, str, (*sz)*sizeof(WCHAR) ); - *sz = len; - - return ERROR_SUCCESS; -} - -/* * msi_id2stringA * * [in] st - pointer to the string table @@ -437,24 +398,6 @@ UINT msi_string2idW( const string_table *st, LPCWSTR str, UINT *id ) return ERROR_INVALID_PARAMETER; } -UINT msi_strcmp( const string_table *st, UINT lval, UINT rval, UINT *res ) -{ - const WCHAR *l_str, *r_str; - - l_str = msi_string_lookup_id( st, lval ); - if( !l_str ) - return ERROR_INVALID_PARAMETER; - - r_str = msi_string_lookup_id( st, rval ); - if( !r_str ) - return ERROR_INVALID_PARAMETER; - - /* does this do the right thing for all UTF-8 strings? */ - *res = strcmpW( l_str, r_str ); - - return ERROR_SUCCESS; -} - static void string_totalsize( const string_table *st, UINT *datasize, UINT *poolsize ) { UINT i, len, holesize;
1
0
0
0
← Newer
1
...
73
74
75
76
77
78
79
...
97
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Results per page:
10
25
50
100
200