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
March 2008
----- 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
4 participants
1001 discussions
Start a n
N
ew thread
Reece Dunn : shlwapi: Added SHCreateStreamOnFileW tests.
by Alexandre Julliard
25 Mar '08
25 Mar '08
Module: wine Branch: master Commit: fe829db189843d2ad29907da6e8beab1aa20a85b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fe829db189843d2ad29907da6…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Mon Mar 24 10:09:55 2008 +0000 shlwapi: Added SHCreateStreamOnFileW tests. --- dlls/shlwapi/tests/istream.c | 95 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 95 insertions(+), 0 deletions(-) diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c index 1045c46..21d7c76 100644 --- a/dlls/shlwapi/tests/istream.c +++ b/dlls/shlwapi/tests/istream.c @@ -32,6 +32,7 @@ /* Function pointers for the SHCreateStreamOnFile functions */ static HMODULE hShlwapi; static HRESULT (WINAPI *pSHCreateStreamOnFileA)(LPCSTR file, DWORD mode, IStream **stream); +static HRESULT (WINAPI *pSHCreateStreamOnFileW)(LPCWSTR file, DWORD mode, IStream **stream); static void test_SHCreateStreamOnFileA(DWORD mode) @@ -118,11 +119,97 @@ static void test_SHCreateStreamOnFileA(DWORD mode) } +static void test_SHCreateStreamOnFileW(DWORD mode) +{ + IStream * stream; + HRESULT ret; + ULONG refcount; + static const WCHAR test_file[] = { 'c', ':', '\\', 't', 'e', 's', 't', '.', 't', 'x', 't' }; + + printf("SHCreateStreamOnFileW: testing mode %d\n", mode); + + /* invalid arguments */ + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(NULL, mode, &stream); + ok(ret == HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) || /* XP */ + ret == E_INVALIDARG /* Vista */, + "SHCreateStreamOnFileW: expected HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND) or E_INVALIDARG, got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileW: expected a NULL IStream object, got %p\n", stream); + +#if 0 /* This test crashes on WinXP SP2 */ + ret = (*pSHCreateStreamOnFileW)(test_file, mode, NULL); + ok(ret == E_INVALIDARG, "SHCreateStreamOnFileW: expected E_INVALIDARG, got 0x%08x\n", ret); +#endif + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(test_file, mode | STGM_CONVERT, &stream); + ok(ret == E_INVALIDARG, "SHCreateStreamOnFileW: expected E_INVALIDARG, got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileW: expected a NULL IStream object, got %p\n", stream); + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(test_file, mode | STGM_DELETEONRELEASE, &stream); + ok(ret == E_INVALIDARG, "SHCreateStreamOnFileW: expected E_INVALIDARG, got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileW: expected a NULL IStream object, got %p\n", stream); + + /* file does not exist */ + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(test_file, mode | STGM_FAILIFTHERE, &stream); + todo_wine + ok(ret == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), "SHCreateStreamOnFileW: expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileW: expected a NULL IStream object, got %p\n", stream); + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(test_file, mode | STGM_CREATE, &stream); + todo_wine + ok(ret == S_OK, "SHCreateStreamOnFileW: expected S_OK, got 0x%08x\n", ret); + todo_wine + ok(stream != NULL, "SHCreateStreamOnFileW: expected a valid IStream object, got NULL\n"); + + if (stream) { + refcount = IStream_Release(stream); + ok(refcount == 0, "SHCreateStreamOnFileW: expected 0, got %d\n", refcount); + } + + /* NOTE: don't delete the file, as it will be used for the file exists tests. */ + + /* file exists */ + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(test_file, mode | STGM_FAILIFTHERE, &stream); + todo_wine + ok(ret == S_OK, "SHCreateStreamOnFileW: expected S_OK, got 0x%08x\n", ret); + todo_wine + ok(stream != NULL, "SHCreateStreamOnFileW: expected a valid IStream object, got NULL\n"); + + if (stream) { + refcount = IStream_Release(stream); + ok(refcount == 0, "SHCreateStreamOnFileW: expected 0, got %d\n", refcount); + } + + stream = NULL; + ret = (*pSHCreateStreamOnFileW)(test_file, mode | STGM_CREATE, &stream); + todo_wine + ok(ret == S_OK, "SHCreateStreamOnFileW: expected S_OK, got 0x%08x\n", ret); + todo_wine + ok(stream != NULL, "SHCreateStreamOnFileW: expected a valid IStream object, got NULL\n"); + + if (stream) { + refcount = IStream_Release(stream); + ok(refcount == 0, "SHCreateStreamOnFileW: expected 0, got %d\n", refcount); + + ok(DeleteFileW(test_file), "SHCreateStreamOnFileW: could not delete the test file, got error %d\n", GetLastError()); + } +} + + START_TEST(istream) { hShlwapi = GetModuleHandleA("shlwapi.dll"); pSHCreateStreamOnFileA = (void*)GetProcAddress(hShlwapi, "SHCreateStreamOnFileA"); + pSHCreateStreamOnFileW = (void*)GetProcAddress(hShlwapi, "SHCreateStreamOnFileW"); if (!pSHCreateStreamOnFileA) printf("SHCreateStreamOnFileA not found... skipping tests.\n"); @@ -131,4 +218,12 @@ START_TEST(istream) test_SHCreateStreamOnFileA(STGM_WRITE); test_SHCreateStreamOnFileA(STGM_READWRITE); } + + if (!pSHCreateStreamOnFileW) + printf("SHCreateStreamOnFileW not found... skipping tests.\n"); + else { + test_SHCreateStreamOnFileW(STGM_READ); + test_SHCreateStreamOnFileW(STGM_WRITE); + test_SHCreateStreamOnFileW(STGM_READWRITE); + } }
1
0
0
0
Reece Dunn : shlwapi: Added SHCreateStreamOnFileA tests.
by Alexandre Julliard
25 Mar '08
25 Mar '08
Module: wine Branch: master Commit: d2e1e5bfaf85baf9b0b6c49fccf6dc53e810e39b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=d2e1e5bfaf85baf9b0b6c49fc…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Mon Mar 24 10:07:13 2008 +0000 shlwapi: Added SHCreateStreamOnFileA tests. --- dlls/shlwapi/tests/Makefile.in | 1 + dlls/shlwapi/tests/istream.c | 134 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 135 insertions(+), 0 deletions(-) diff --git a/dlls/shlwapi/tests/Makefile.in b/dlls/shlwapi/tests/Makefile.in index 4238276..f4c81f2 100644 --- a/dlls/shlwapi/tests/Makefile.in +++ b/dlls/shlwapi/tests/Makefile.in @@ -10,6 +10,7 @@ CTESTS = \ clist.c \ clsid.c \ generated.c \ + istream.c \ ordinal.c \ path.c \ shreg.c \ diff --git a/dlls/shlwapi/tests/istream.c b/dlls/shlwapi/tests/istream.c new file mode 100644 index 0000000..1045c46 --- /dev/null +++ b/dlls/shlwapi/tests/istream.c @@ -0,0 +1,134 @@ +/* Unit test suite for SHLWAPI ShCreateStreamOnFile functions. + * + * Copyright 2008 Reece H. Dunn + * + * 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 COBJMACROS + +#include <stdarg.h> +#include <stdio.h> + +#include "wine/test.h" +#include "windef.h" +#include "winbase.h" +#include "objbase.h" +#include "shlwapi.h" + + +/* Function pointers for the SHCreateStreamOnFile functions */ +static HMODULE hShlwapi; +static HRESULT (WINAPI *pSHCreateStreamOnFileA)(LPCSTR file, DWORD mode, IStream **stream); + + +static void test_SHCreateStreamOnFileA(DWORD mode) +{ + IStream * stream; + HRESULT ret; + ULONG refcount; + static const char * test_file = "c:\\test.txt"; + + printf("SHCreateStreamOnFileA: testing mode %d\n", mode); + + /* invalid arguments */ + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(NULL, mode, &stream); + todo_wine + ok(ret == HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND), "SHCreateStreamOnFileA: expected HRESULT_FROM_WIN32(ERROR_PATH_NOT_FOUND), got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileA: expected a NULL IStream object, got %p\n", stream); + +#if 0 /* This test crashes on WinXP SP2 */ + ret = (*pSHCreateStreamOnFileA)(test_file, mode, NULL); + ok(ret == E_INVALIDARG, "SHCreateStreamOnFileA: expected E_INVALIDARG, got 0x%08x\n", ret); +#endif + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(test_file, mode | STGM_CONVERT, &stream); + ok(ret == E_INVALIDARG, "SHCreateStreamOnFileA: expected E_INVALIDARG, got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileA: expected a NULL IStream object, got %p\n", stream); + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(test_file, mode | STGM_DELETEONRELEASE, &stream); + ok(ret == E_INVALIDARG, "SHCreateStreamOnFileA: expected E_INVALIDARG, got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileA: expected a NULL IStream object, got %p\n", stream); + + /* file does not exist */ + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(test_file, mode | STGM_FAILIFTHERE, &stream); + todo_wine + ok(ret == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), "SHCreateStreamOnFileA: expected HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), got 0x%08x\n", ret); + ok(stream == NULL, "SHCreateStreamOnFileA: expected a NULL IStream object, got %p\n", stream); + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(test_file, mode | STGM_CREATE, &stream); + todo_wine + ok(ret == S_OK, "SHCreateStreamOnFileA: expected S_OK, got 0x%08x\n", ret); + todo_wine + ok(stream != NULL, "SHCreateStreamOnFileA: expected a valid IStream object, got NULL\n"); + + if (stream) { + refcount = IStream_Release(stream); + ok(refcount == 0, "SHCreateStreamOnFileA: expected 0, got %d\n", refcount); + } + + /* NOTE: don't delete the file, as it will be used for the file exists tests. */ + + /* file exists */ + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(test_file, mode | STGM_FAILIFTHERE, &stream); + todo_wine + ok(ret == S_OK, "SHCreateStreamOnFileA: expected S_OK, got 0x%08x\n", ret); + todo_wine + ok(stream != NULL, "SHCreateStreamOnFileA: expected a valid IStream object, got NULL\n"); + + if (stream) { + refcount = IStream_Release(stream); + ok(refcount == 0, "SHCreateStreamOnFileA: expected 0, got %d\n", refcount); + } + + stream = NULL; + ret = (*pSHCreateStreamOnFileA)(test_file, mode | STGM_CREATE, &stream); + todo_wine + ok(ret == S_OK, "SHCreateStreamOnFileA: expected S_OK, got 0x%08x\n", ret); + todo_wine + ok(stream != NULL, "SHCreateStreamOnFileA: expected a valid IStream object, got NULL\n"); + + if (stream) { + refcount = IStream_Release(stream); + ok(refcount == 0, "SHCreateStreamOnFileA: expected 0, got %d\n", refcount); + + ok(DeleteFileA(test_file), "SHCreateStreamOnFileA: could not delete file '%s', got error %d\n", test_file, GetLastError()); + } +} + + +START_TEST(istream) +{ + hShlwapi = GetModuleHandleA("shlwapi.dll"); + + pSHCreateStreamOnFileA = (void*)GetProcAddress(hShlwapi, "SHCreateStreamOnFileA"); + + if (!pSHCreateStreamOnFileA) + printf("SHCreateStreamOnFileA not found... skipping tests.\n"); + else { + test_SHCreateStreamOnFileA(STGM_READ); + test_SHCreateStreamOnFileA(STGM_WRITE); + test_SHCreateStreamOnFileA(STGM_READWRITE); + } +}
1
0
0
0
Tony Wasserka : d3dx9: Start implementation of d3dx9_37.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: be0799fce2ea4482d7cf96082f3cddf4f9b462c7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=be0799fce2ea4482d7cf96082…
Author: Tony Wasserka <tony.wasserka(a)freenet.de> Date: Mon Mar 24 12:32:54 2008 +0100 d3dx9: Start implementation of d3dx9_37. --- Makefile.in | 2 + configure | 3 + configure.ac | 1 + dlls/Makefile.in | 1 + dlls/d3dx9_37/Makefile.in | 13 ++ dlls/d3dx9_37/d3dx9_37.spec | 336 +++++++++++++++++++++++++++++++++++++++++ dlls/d3dx9_37/d3dx9_37_main.c | 65 ++++++++ 7 files changed, 421 insertions(+), 0 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=be0799fce2ea4482d7cf9…
1
0
0
0
Alexandre Julliard : setupapi/tests: Use FIELD_OFFSET instead of offsetof.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: 39fea9329cba3f0d6bc5d437e07136fe1d5fad4d URL:
http://source.winehq.org/git/wine.git/?a=commit;h=39fea9329cba3f0d6bc5d437e…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Mar 24 21:06:15 2008 +0100 setupapi/tests: Use FIELD_OFFSET instead of offsetof. --- dlls/setupapi/tests/devinst.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c index dc6d9f7..ef0d8d6 100644 --- a/dlls/setupapi/tests/devinst.c +++ b/dlls/setupapi/tests/devinst.c @@ -649,7 +649,7 @@ static void testGetDeviceInterfaceDetail(void) /* Windows 2000 and up check for the exact size. Win9x returns ERROR_INVALID_PARAMETER * on every call (so doesn't get here) and NT4 doesn't have this function. */ - detail->cbSize = offsetof(SP_DEVICE_INTERFACE_DETAIL_DATA_A, DevicePath) + sizeof(char); + detail->cbSize = FIELD_OFFSET(SP_DEVICE_INTERFACE_DETAIL_DATA_A, DevicePath[1]); ret = pSetupDiGetDeviceInterfaceDetailA(set, &interfaceData, detail, size, &size, NULL); ok(ret, "SetupDiGetDeviceInterfaceDetailA failed: %d\n",
1
0
0
0
Aurimas Fischer : fonts: Added/updated all (9x2) Lithuanian glyphs.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: 0f2cb23c7d5df22f9ff30e40afb4d6de03e03dae URL:
http://source.winehq.org/git/wine.git/?a=commit;h=0f2cb23c7d5df22f9ff30e40a…
Author: Aurimas Fischer <aurimas(a)gmail.com> Date: Mon Mar 24 16:50:06 2008 +0200 fonts: Added/updated all (9x2) Lithuanian glyphs. --- fonts/courier.sfd | 70 ++++++- fonts/courier.ttf | Bin 14060 -> 14288 bytes fonts/ms_sans_serif.sfd | 159 ++++++++++++-- fonts/ms_sans_serif.ttf | Bin 27752 -> 28572 bytes fonts/small_fonts.sfd | 16 +- fonts/small_fonts.ttf | Bin 15956 -> 15956 bytes fonts/system.sfd | 139 ++++++++++-- fonts/system.ttf | Bin 23940 -> 24776 bytes fonts/tahoma.sfd | 569 +++++++++++++++++++++++++++++----------------- fonts/tahoma.ttf | Bin 86772 -> 88648 bytes fonts/tahomabd.sfd | 447 +++++++++++++++++++++++++++---------- fonts/tahomabd.ttf | Bin 64396 -> 66372 bytes 12 files changed, 1018 insertions(+), 382 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=0f2cb23c7d5df22f9ff30…
1
0
0
0
Reece Dunn : ntdsapi: Fix building the tests with MSVC headers.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: 47b97025e7d37be6dc68bd786803942890c489ed URL:
http://source.winehq.org/git/wine.git/?a=commit;h=47b97025e7d37be6dc68bd786…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Sun Mar 23 10:24:23 2008 +0000 ntdsapi: Fix building the tests with MSVC headers. --- dlls/ntdsapi/tests/ntdsapi.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/ntdsapi/tests/ntdsapi.c b/dlls/ntdsapi/tests/ntdsapi.c index ac5dd19..08436ae 100644 --- a/dlls/ntdsapi/tests/ntdsapi.c +++ b/dlls/ntdsapi/tests/ntdsapi.c @@ -22,6 +22,8 @@ #include "winbase.h" #include "winerror.h" #include "winnls.h" +#include "rpc.h" +#include "rpcdce.h" #include "ntdsapi.h" #include "wine/test.h"
1
0
0
0
Reece Dunn : ole32: Added a missing include needed for CLSID_ShellDesktop using MSVC headers.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: 4fbdab7a8f515fad4c280fdb402e9298ffe9be25 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4fbdab7a8f515fad4c280fdb4…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Sun Mar 23 10:04:04 2008 +0000 ole32: Added a missing include needed for CLSID_ShellDesktop using MSVC headers. --- dlls/ole32/tests/marshal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c index c7f7996..acea854 100644 --- a/dlls/ole32/tests/marshal.c +++ b/dlls/ole32/tests/marshal.c @@ -29,6 +29,7 @@ #include "winbase.h" #include "objbase.h" #include "shlguid.h" +#include "shobjidl.h" #include "wine/test.h"
1
0
0
0
Reece Dunn : quartz: Fixed building with MSVC headers.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: 1b31c6e6168ede3ea199c321e83797e92087aeb3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1b31c6e6168ede3ea199c321e…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Sun Mar 23 09:32:43 2008 +0000 quartz: Fixed building with MSVC headers. --- dlls/quartz/tests/misc.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dlls/quartz/tests/misc.c b/dlls/quartz/tests/misc.c index 3be5757..7207814 100644 --- a/dlls/quartz/tests/misc.c +++ b/dlls/quartz/tests/misc.c @@ -138,32 +138,32 @@ static void test_aggregation(const CLSID clsidOuter, const CLSID clsidInner, static void test_video_renderer_aggregations(void) { - IID iids[] = { - IID_IMediaFilter, IID_IBaseFilter, IID_IBasicVideo, IID_IVideoWindow + const IID * iids[] = { + &IID_IMediaFilter, &IID_IBaseFilter, &IID_IBasicVideo, &IID_IVideoWindow }; int i; for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++) { test_aggregation(CLSID_SystemClock, CLSID_VideoRenderer, - IID_IReferenceClock, iids[i]); + IID_IReferenceClock, *iids[i]); } } static void test_filter_graph_aggregations(void) { - IID iids[] = { - IID_IFilterGraph2, IID_IMediaControl, IID_IGraphBuilder, - IID_IFilterGraph, IID_IMediaSeeking, IID_IBasicAudio, IID_IBasicVideo, - IID_IVideoWindow, IID_IMediaEventEx, IID_IMediaFilter, - IID_IMediaEventSink, IID_IGraphConfig, IID_IMediaPosition + const IID * iids[] = { + &IID_IFilterGraph2, &IID_IMediaControl, &IID_IGraphBuilder, + &IID_IFilterGraph, &IID_IMediaSeeking, &IID_IBasicAudio, &IID_IBasicVideo, + &IID_IVideoWindow, &IID_IMediaEventEx, &IID_IMediaFilter, + &IID_IMediaEventSink, &IID_IGraphConfig, &IID_IMediaPosition }; int i; for (i = 0; i < sizeof(iids) / sizeof(iids[0]); i++) { test_aggregation(CLSID_SystemClock, CLSID_FilterGraph, - IID_IReferenceClock, iids[i]); + IID_IReferenceClock, *iids[i]); } }
1
0
0
0
Reece Dunn : tools: Target the version defines to Vista in msvcmaker.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: 45d248f1e0bddfa370f7a50ed16cb797d7a10e21 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=45d248f1e0bddfa370f7a50ed…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Sun Mar 23 00:39:11 2008 +0000 tools: Target the version defines to Vista in msvcmaker. --- tools/winapi/msvcmaker | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker index f466bf1..325339b 100755 --- a/tools/winapi/msvcmaker +++ b/tools/winapi/msvcmaker @@ -575,18 +575,18 @@ sub _generate_dsp($$) { if($debug) { if($lib || $exe) { print OUT "# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od"; - @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _MBCS _LIB)); + @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 _DEBUG _MBCS _LIB)); } else { print OUT "# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od"; - @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); + @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 _DEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); } } else { if($lib || $exe) { print OUT "# ADD BASE CPP /nologo /W3 /GX /O2"; - @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _MBCS _LIB)); + @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 NDEBUG _MBCS _LIB)); } else { print OUT "# ADD BASE CPP /nologo /MD /W3 /GX /O2"; - @defines = (qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); + @defines = (qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 NDEBUG _WINDOWS _MBCS _USRDLL), ("\U${project}\E_EXPORTS")); } } @@ -607,18 +607,18 @@ sub _generate_dsp($$) { if($debug) { if($lib) { print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od"; - @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 _DEBUG _WINDOWS _MBCS _LIB); + @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 _DEBUG _WINDOWS _MBCS _LIB); } else { print OUT "# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od"; - @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 _DEBUG WIN32 _WINDOWS _MBCS _USRDLL); + @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x700 _DEBUG WIN32 _WINDOWS _MBCS _USRDLL); } } else { if($lib) { print OUT "# ADD CPP /nologo /MD /W3 /GX /O2"; - @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 WIN32 NDEBUG _WINDOWS _MBCS _LIB); + @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 WIN32 NDEBUG _WINDOWS _MBCS _LIB); } else { print OUT "# ADD CPP /nologo /MD /W3 /GX /O2"; - @defines2 = qw(WINVER=0x0501 _WIN32_WINNT=0x0501 _WIN32_IE=0x0600 NDEBUG WIN32 _WINDOWS _MBCS _USRDLL); + @defines2 = qw(WINVER=0x0600 _WIN32_WINNT=0x0600 _WIN32_IE=0x0700 NDEBUG WIN32 _WINDOWS _MBCS _USRDLL); } }
1
0
0
0
Reece Dunn : comdlg32: Fix building the tests with MSVC headers.
by Alexandre Julliard
24 Mar '08
24 Mar '08
Module: wine Branch: master Commit: ae32a7fe0473aebb875b26083c1567ff046c3b80 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ae32a7fe0473aebb875b26083…
Author: Reece Dunn <msclrhd(a)googlemail.com> Date: Sat Mar 22 22:50:43 2008 +0000 comdlg32: Fix building the tests with MSVC headers. --- dlls/comdlg32/tests/printdlg.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/comdlg32/tests/printdlg.c b/dlls/comdlg32/tests/printdlg.c index 783773f..744b6eb 100644 --- a/dlls/comdlg32/tests/printdlg.c +++ b/dlls/comdlg32/tests/printdlg.c @@ -26,6 +26,7 @@ #include "winerror.h" #include "wingdi.h" #include "winuser.h" +#include "objbase.h" #include "cderr.h" #include "commdlg.h"
1
0
0
0
← Newer
1
...
25
26
27
28
29
30
31
...
101
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
98
99
100
101
Results per page:
10
25
50
100
200