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
July
June
May
April
March
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
May 2007
----- 2025 -----
July 2025
June 2025
May 2025
April 2025
March 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
3 participants
715 discussions
Start a n
N
ew thread
Maarten Lankhorst : dsound: Block align SetCurrentPosition and add test for it.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: 236035894407181e75d149aae71eda56c4936841 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=236035894407181e75d149aae…
Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Thu May 24 20:42:14 2007 +0200 dsound: Block align SetCurrentPosition and add test for it. --- dlls/dsound/buffer.c | 1 + dlls/dsound/tests/dsound.c | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c index 252fbc8..b1cecd7 100644 --- a/dlls/dsound/buffer.c +++ b/dlls/dsound/buffer.c @@ -687,6 +687,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_SetCurrentPosition( EnterCriticalSection(&(This->lock)); newpos %= This->buflen; + newpos -= newpos%This->pwfx->nBlockAlign; This->buf_mixpos = newpos; if (This->hwbuf) { hres = IDsDriverBuffer_SetPosition(This->hwbuf, This->buf_mixpos); diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c index 6f95264..cbb6829 100644 --- a/dlls/dsound/tests/dsound.c +++ b/dlls/dsound/tests/dsound.c @@ -9,6 +9,7 @@ * So this is only done if the test is being run in interactive mode. * * Copyright (c) 2002-2004 Francois Gouget + * Copyright (c) 2007 Maarten Lankhorst * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -764,6 +765,7 @@ static HRESULT test_block_align(LPGUID lpGuid) DSBUFFERDESC bufdesc; DSBCAPS dsbcaps; WAVEFORMATEX wfx; + DWORD pos, pos2; int ref; /* Create the DirectSound object */ @@ -790,11 +792,23 @@ static HRESULT test_block_align(LPGUID lpGuid) rc=IDirectSoundBuffer_GetCaps(secondary,&dsbcaps); ok(rc==DS_OK,"IDirectSoundBuffer_GetCaps() should have returned DS_OK, " "returned: %s\n", DXGetErrorString8(rc)); - if (rc==DS_OK) + if (rc==DS_OK && wfx.nBlockAlign > 1) + { ok(dsbcaps.dwBufferBytes==(wfx.nAvgBytesPerSec + wfx.nBlockAlign), "Buffer size not a multiple of nBlockAlign: requested %d, " "got %d, should be %d\n", bufdesc.dwBufferBytes, dsbcaps.dwBufferBytes, wfx.nAvgBytesPerSec + wfx.nBlockAlign); + + rc = IDirectSoundBuffer_SetCurrentPosition(secondary, 0); + ok(rc == DS_OK, "Could not set position to 0: %s\n", DXGetErrorString8(rc)); + rc = IDirectSoundBuffer_GetCurrentPosition(secondary, &pos, NULL); + ok(rc == DS_OK, "Could not get position: %s\n", DXGetErrorString8(rc)); + rc = IDirectSoundBuffer_SetCurrentPosition(secondary, 1); + ok(rc == DS_OK, "Could not set position to 1: %s\n", DXGetErrorString8(rc)); + rc = IDirectSoundBuffer_GetCurrentPosition(secondary, &pos2, NULL); + ok(rc == DS_OK, "Could not get new position: %s\n", DXGetErrorString8(rc)); + ok(pos == pos2, "Positions not the same! Old position: %d, new position: %d\n", pos, pos2); + } ref=IDirectSoundBuffer_Release(secondary); ok(ref==0,"IDirectSoundBuffer_Release() secondary has %d references, " "should have 0\n",ref);
1
0
0
0
James Hawkins : msi: Add the ability to deformat the component's source.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: ea2c96c5dfb42a5efceeaf6d044953b93a2de5f3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ea2c96c5dfb42a5efceeaf6d0…
Author: James Hawkins <truiken(a)gmail.com> Date: Thu May 24 11:11:20 2007 -0700 msi: Add the ability to deformat the component's source. --- dlls/msi/format.c | 5 +++-- dlls/msi/tests/format.c | 5 +---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dlls/msi/format.c b/dlls/msi/format.c index fa85e60..1bcfa6e 100644 --- a/dlls/msi/format.c +++ b/dlls/msi/format.c @@ -113,16 +113,17 @@ static LPWSTR deformat_component(MSIPACKAGE* package, LPCWSTR key, DWORD* sz) { LPWSTR value = NULL; MSICOMPONENT *comp; + BOOL source; *sz = 0; if (!package) return NULL; - FIXME("component key %s\n", debugstr_w(key)); comp = get_loaded_component(package,key); if (comp) { - value = resolve_folder(package, comp->Directory, FALSE, FALSE, TRUE, NULL); + source = (comp->Action == INSTALLSTATE_SOURCE) ? TRUE : FALSE; + value = resolve_folder(package, comp->Directory, source, FALSE, TRUE, NULL); *sz = (strlenW(value)) * sizeof(WCHAR); } diff --git a/dlls/msi/tests/format.c b/dlls/msi/tests/format.c index 16661e3..23438bb 100644 --- a/dlls/msi/tests/format.c +++ b/dlls/msi/tests/format.c @@ -2236,10 +2236,7 @@ static void test_formatrecord_tables(void) MsiRecordSetString( hrec, 1, "[$parietal]" ); r = MsiFormatRecord( hpkg, hrec, buf, &size ); ok( r == ERROR_SUCCESS, "format record failed: %d\n", r); - todo_wine - { - ok( !lstrcmp( buf, expected ), "Expected '%s', got %s\n", expected, buf); - } + ok( !lstrcmp( buf, expected ), "Expected '%s', got %s\n", expected, buf); DeleteFile( "C:\\I am a really long directory\\temporal.txt" ); RemoveDirectory( "C:\\I am a really long directory" );
1
0
0
0
James Hawkins : msi: Remove a misleading ERR, as this fails if a file doesn 't exist, which is common.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: f5c2806ca19bfcfe1c7d3002714b4df829a9d650 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f5c2806ca19bfcfe1c7d30027…
Author: James Hawkins <truiken(a)gmail.com> Date: Thu May 24 11:10:44 2007 -0700 msi: Remove a misleading ERR, as this fails if a file doesn't exist, which is common. --- dlls/msi/format.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/msi/format.c b/dlls/msi/format.c index 2ea6e23..fa85e60 100644 --- a/dlls/msi/format.c +++ b/dlls/msi/format.c @@ -162,8 +162,6 @@ static LPWSTR deformat_file(MSIPACKAGE* package, LPCWSTR key, DWORD* sz, } else { - ERR("Unable to get ShortPath size (%s)\n", - debugstr_w( file->TargetPath) ); value = strdupW( file->TargetPath ); *sz = (lstrlenW(value)) * sizeof(WCHAR); }
1
0
0
0
Jacek Caban : mshtml: Added missing WINAPI in window proc.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: 4a71ab79f51896103908ab766a89a493bee911a6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4a71ab79f51896103908ab766…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu May 24 19:16:02 2007 +0200 mshtml: Added missing WINAPI in window proc. --- dlls/mshtml/view.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/view.c b/dlls/mshtml/view.c index e0db0b8..79fe399 100644 --- a/dlls/mshtml/view.c +++ b/dlls/mshtml/view.c @@ -248,7 +248,7 @@ static HRESULT activate_window(HTMLDocument *This) return S_OK; } -static LRESULT tooltips_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) +static LRESULT WINAPI tooltips_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { tooltip_data *data = GetPropW(hwnd, wszTooltipData);
1
0
0
0
Jacek Caban : mshtml: Fixed AsyncOpen implementation for channels without associated document.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: de2e9e13ce839d251f495afc8bc75685f2f47496 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=de2e9e13ce839d251f495afc8…
Author: Jacek Caban <jacek(a)codeweavers.com> Date: Thu May 24 19:15:22 2007 +0200 mshtml: Fixed AsyncOpen implementation for channels without associated document. --- dlls/mshtml/nsio.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c index a47bb1d..601a300 100644 --- a/dlls/mshtml/nsio.c +++ b/dlls/mshtml/nsio.c @@ -647,7 +647,7 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen if(do_load_from_moniker_hack(This)) return WINE_NS_LOAD_FROM_MONIKER; - }else if(container->doc) { + }else { BOOL cont = before_async_open(This, container); nsIWebBrowserChrome_Release(NSWBCHROME(container)); @@ -655,11 +655,11 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen TRACE("canceled\n"); return NS_ERROR_UNEXPECTED; } - }else { - nsIWebBrowserChrome_Release(NSWBCHROME(container)); - return This->channel - ? nsIChannel_AsyncOpen(This->channel, aListener, aContext) - : NS_ERROR_UNEXPECTED; + + if(!container->doc) + return This->channel + ? nsIChannel_AsyncOpen(This->channel, aListener, aContext) + : NS_ERROR_UNEXPECTED; } } @@ -1567,7 +1567,7 @@ static nsresult NSAPI nsURI_SetNSContainer(nsIWineURI *iface, NSContainer *aCont if(This->container) { if(This->container == aContainer) return NS_OK; - WARN("Container already set: %p\n", This->container); + TRACE("Changing %p -> %p\n", This->container, aContainer); nsIWebBrowserChrome_Release(NSWBCHROME(This->container)); }
1
0
0
0
Detlef Riekenberg : localui/tests: Add tests for AddPortUI.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: 189719c1bb79ad3e15a7d6ff0183c283a64dda84 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=189719c1bb79ad3e15a7d6ff0…
Author: Detlef Riekenberg <wine.dev(a)web.de> Date: Thu May 24 17:27:51 2007 +0200 localui/tests: Add tests for AddPortUI. --- dlls/localui/tests/localui.c | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/dlls/localui/tests/localui.c b/dlls/localui/tests/localui.c index 414d8d3..7965d3c 100644 --- a/dlls/localui/tests/localui.c +++ b/dlls/localui/tests/localui.c @@ -48,6 +48,7 @@ static WCHAR does_not_existW[] = {'d','o','e','s','_','n','o','t','_','e','x','i static WCHAR emptyW[] = {0}; static CHAR fmt_comA[] = {'C','O','M','%','u',':',0}; static CHAR fmt_lptA[] = {'L','P','T','%','u',':',0}; +static WCHAR localportW[] = {'L','o','c','a','l',' ','P','o','r','t',0}; static WCHAR portname_fileW[] = {'F','I','L','E',':',0}; static LPBYTE pi_buffer; @@ -123,6 +124,61 @@ static LPWSTR strdupW(LPCWSTR strW) /* ########################### */ +static void test_AddPortUI(void) +{ + DWORD res; + LPWSTR new_portname; + + /* not present before w2k */ + if (!pAddPortUI) { + skip("AddPortUI not found\n"); + return; + } + + SetLastError(0xdeadbeef); + res = pAddPortUI(NULL, NULL, NULL, NULL); + ok( !res && (GetLastError() == ERROR_UNKNOWN_PORT), + "got %d with %u (expected '0' with ERROR_UNKNOWN_PORT)\n", + res, GetLastError()); + + SetLastError(0xdeadbeef); + res = pAddPortUI(NULL, NULL, emptyW, NULL); + ok( !res && (GetLastError() == ERROR_UNKNOWN_PORT), + "got %d with %u (expected '0' with ERROR_UNKNOWN_PORT)\n", + res, GetLastError()); + + SetLastError(0xdeadbeef); + res = pAddPortUI(NULL, NULL, does_not_existW, NULL); + ok( !res && (GetLastError() == ERROR_UNKNOWN_PORT), + "got %d with %u (expected '0' with ERROR_UNKNOWN_PORT)\n", + res, GetLastError()); + + if (winetest_interactive) { + SetLastError(0xdeadbeef); + new_portname = NULL; + /* + * - On MSDN, you can read, that no dialogs should be displayed, when hWnd + * is NULL, but native localui does not care + * - when the new port already exist, + * TRUE is returned, but new_portname is NULL + * - when the new port starts with "COM" or "LPT", + * FALSE is returned with ERROR_NOT_SUPPORTED in windows + */ + res = pAddPortUI(NULL, NULL, localportW, &new_portname); + ok( res || + (GetLastError() == ERROR_CANCELLED) || + (GetLastError() == ERROR_ACCESS_DENIED) || + (GetLastError() == ERROR_NOT_SUPPORTED), + "got %d with %u and %p (expected '!= 0' or '0' with: " + "ERROR_CANCELLED, ERROR_ACCESS_DENIED or ERROR_NOT_SUPPORTED)\n", + res, GetLastError(), new_portname); + + GlobalFree(new_portname); + } +} + +/* ########################### */ + static void test_ConfigurePortUI(void) { DWORD res; @@ -255,6 +311,7 @@ START_TEST(localui) /* "FILE:" */ file_present = find_portinfo2(portname_fileW); + test_AddPortUI(); test_ConfigurePortUI(); /* cleanup */
1
0
0
0
Vitaliy Margolen : wine.inf: Create fake dll for iexplore.exe.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: 70995ed459e07ad9976cc2c20c28ffa77f46a7d2 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=70995ed459e07ad9976cc2c20…
Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Thu May 24 07:50:10 2007 -0600 wine.inf: Create fake dll for iexplore.exe. --- tools/wine.inf | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/wine.inf b/tools/wine.inf index 5d0420d..9a71005 100644 --- a/tools/wine.inf +++ b/tools/wine.inf @@ -2212,6 +2212,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" 11,,winver.exe 11,,ws2_32.dll 11,,wsock32.dll +16422,Internet Explorer,iexplore.exe [SystemIni] system.ini, mci,,"MPEGVideo=mciqtz.drv"
1
0
0
0
Rob Shearman : secur32: Fix the dwVersion field in the security function tables returned by InitSecurityInterfaceA /W.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: 087eedc3f58dd7761de4832debc46bd57c16cd9b URL:
http://source.winehq.org/git/wine.git/?a=commit;h=087eedc3f58dd7761de4832de…
Author: Rob Shearman <rob(a)codeweavers.com> Date: Thu May 24 13:05:28 2007 +0100 secur32: Fix the dwVersion field in the security function tables returned by InitSecurityInterfaceA/W. --- dlls/secur32/secur32.c | 4 ++-- dlls/secur32/tests/secur32.c | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c index 421b115..aabb56c 100644 --- a/dlls/secur32/secur32.c +++ b/dlls/secur32/secur32.c @@ -86,7 +86,7 @@ static SecurePackageTable *packageTable = NULL; static SecureProviderTable *providerTable = NULL; static SecurityFunctionTableA securityFunctionTableA = { - SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2, + SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION, EnumerateSecurityPackagesA, QueryCredentialsAttributesA, AcquireCredentialsHandleA, @@ -117,7 +117,7 @@ static SecurityFunctionTableA securityFunctionTableA = { }; static SecurityFunctionTableW securityFunctionTableW = { - SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2, + SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION, EnumerateSecurityPackagesW, QueryCredentialsAttributesW, AcquireCredentialsHandleW, diff --git a/dlls/secur32/tests/secur32.c b/dlls/secur32/tests/secur32.c index 57f2ee1..99d5069 100644 --- a/dlls/secur32/tests/secur32.c +++ b/dlls/secur32/tests/secur32.c @@ -32,6 +32,8 @@ static HMODULE secdll; static BOOLEAN (WINAPI * pGetComputerObjectNameA)(EXTENDED_NAME_FORMAT NameFormat, LPSTR lpNameBuffer, PULONG lpnSize); static BOOLEAN (WINAPI * pGetComputerObjectNameW)(EXTENDED_NAME_FORMAT NameFormat, LPWSTR lpNameBuffer, PULONG lpnSize); +static PSecurityFunctionTableA (SEC_ENTRY * pInitSecurityInterfaceA)(void); +static PSecurityFunctionTableW (SEC_ENTRY * pInitSecurityInterfaceW)(void); static EXTENDED_NAME_FORMAT formats[] = { NameUnknown, NameFullyQualifiedDN, NameSamCompatible, NameDisplay, @@ -86,6 +88,38 @@ static void testGetComputerObjectNameW(void) } } +static void test_InitSecurityInterface(void) +{ + PSecurityFunctionTableA sftA; + PSecurityFunctionTableW sftW; + + sftA = pInitSecurityInterfaceA(); + ok(sftA != NULL, "pInitSecurityInterfaceA failed\n"); + ok(sftA->dwVersion == SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION, "wrong dwVersion %ld in security function table\n", sftA->dwVersion); + ok(!sftA->Reserved2, "Reserved2 should be NULL instead of %p in security function table\n", sftA->Reserved2); + todo_wine + ok(sftA->Reserved3 != NULL, "Reserved3 should not be NULL in security function table\n"); + todo_wine + ok(sftA->Reserved4 != NULL, "Reserved4 should not be NULL in security function table\n"); + ok(!sftA->Reserved8, "Reserved8 should be NULL instead of %p in security function table\n", sftA->Reserved8); + + if (!pInitSecurityInterfaceW) + { + skip("InitSecurityInterfaceW not exported by secur32.dll\n"); + return; + } + + sftW = pInitSecurityInterfaceW(); + ok(sftW != NULL, "pInitSecurityInterfaceW failed\n"); + ok(sftW->dwVersion == SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION, "wrong dwVersion %ld in security function table\n", sftW->dwVersion); + ok(!sftW->Reserved2, "Reserved2 should be NULL instead of %p in security function table\n", sftW->Reserved2); + todo_wine + ok(sftW->Reserved3 != NULL, "Reserved3 should note be NULL in security function table\n"); + todo_wine + ok(sftW->Reserved4 != NULL, "Reserved4 should not be NULL in security function table\n"); + ok(!sftW->Reserved8, "Reserved8 should be NULL instead of %p in security function table\n", sftW->Reserved8); +} + START_TEST(secur32) { secdll = LoadLibraryA("secur32.dll"); @@ -97,6 +131,8 @@ START_TEST(secur32) { pGetComputerObjectNameA = (PVOID)GetProcAddress(secdll, "GetComputerObjectNameA"); pGetComputerObjectNameW = (PVOID)GetProcAddress(secdll, "GetComputerObjectNameW"); + pInitSecurityInterfaceA = (PVOID)GetProcAddress(secdll, "InitSecurityInterfaceA"); + pInitSecurityInterfaceW = (PVOID)GetProcAddress(secdll, "InitSecurityInterfaceW"); if (pGetComputerObjectNameA) testGetComputerObjectNameA(); @@ -104,6 +140,8 @@ START_TEST(secur32) if (pGetComputerObjectNameW) testGetComputerObjectNameW(); + test_InitSecurityInterface(); + FreeLibrary(secdll); } }
1
0
0
0
Nigel Liang : shlwapi: Stub implementation for SHSetTimerQueueTimer.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: ddbb317915f7cfb1dd6f48431f4fde43527eb068 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ddbb317915f7cfb1dd6f48431…
Author: Nigel Liang <ncliang(a)gmail.com> Date: Mon May 21 18:05:28 2007 -0700 shlwapi: Stub implementation for SHSetTimerQueueTimer. --- dlls/shlwapi/ordinal.c | 26 ++++++++++++++++++++++++++ dlls/shlwapi/shlwapi.spec | 2 +- include/shlwapi.h | 4 ++++ 3 files changed, 31 insertions(+), 1 deletions(-) diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c index 213980c..7d5c6cb 100644 --- a/dlls/shlwapi/ordinal.c +++ b/dlls/shlwapi/ordinal.c @@ -4223,6 +4223,32 @@ BOOL WINAPI SHQueueUserWorkItem(LPTHREAD_START_ROUTINE pfnCallback, } /*********************************************************************** + * SHSetTimerQueueTimer (SHLWAPI.263) + */ +HANDLE WINAPI SHSetTimerQueueTimer(HANDLE hQueue, + WAITORTIMERCALLBACK pfnCallback, LPVOID pContext, DWORD dwDueTime, + DWORD dwPeriod, LPCSTR lpszLibrary, DWORD dwFlags) +{ + HANDLE hNewTimer; + + /* SHSetTimerQueueTimer flags -> CreateTimerQueueTimer flags */ + if (dwFlags & TPS_LONGEXECTIME) { + dwFlags &= ~TPS_LONGEXECTIME; + dwFlags |= WT_EXECUTELONGFUNCTION; + } + if (dwFlags & TPS_EXECUTEIO) { + dwFlags &= ~TPS_EXECUTEIO; + dwFlags |= WT_EXECUTEINIOTHREAD; + } + + if (!CreateTimerQueueTimer(&hNewTimer, hQueue, pfnCallback, pContext, + dwDueTime, dwPeriod, dwFlags)) + return NULL; + + return hNewTimer; +} + +/*********************************************************************** * IUnknown_OnFocusChangeIS (SHLWAPI.@) */ HRESULT WINAPI IUnknown_OnFocusChangeIS(LPUNKNOWN lpUnknown, LPUNKNOWN pFocusObject, BOOL bFocus) diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec index ec7d259..d236858 100644 --- a/dlls/shlwapi/shlwapi.spec +++ b/dlls/shlwapi/shlwapi.spec @@ -260,7 +260,7 @@ 260 stdcall -noname SHQueueUserWorkItem(long long long long long long long) 261 stub -noname SHCreateTimerQueue 262 stub -noname SHDeleteTimerQueue -263 stub -noname SHSetTimerQueueTimer +263 stdcall -noname SHSetTimerQueueTimer(long ptr ptr long long str long) 264 stub -noname SHChangeTimerQueueTimer 265 stub -noname SHCancelTimerQueueTimer 266 stdcall -noname SHRestrictionLookup(long wstr ptr ptr) diff --git a/include/shlwapi.h b/include/shlwapi.h index 638a958..21b1e99 100644 --- a/include/shlwapi.h +++ b/include/shlwapi.h @@ -1041,6 +1041,10 @@ HRESULT WINAPI DllInstall(BOOL,LPCWSTR) DECLSPEC_HIDDEN; BOOL WINAPI IsOS(DWORD); +/* SHSetTimerQueueTimer definitions */ +#define TPS_EXECUTEIO 0x00000001 +#define TPS_LONGEXECTIME 0x00000008 + #include <poppack.h> #ifdef __cplusplus
1
0
0
0
Alexandre Julliard : winebuild: Set the IMAGE_FILE_EXECUTABLE_IMAGE flag for all modules.
by Alexandre Julliard
25 May '07
25 May '07
Module: wine Branch: master Commit: 560113b7438542c031ec1f87783977069f241c75 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=560113b7438542c031ec1f877…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu May 24 12:54:27 2007 +0200 winebuild: Set the IMAGE_FILE_EXECUTABLE_IMAGE flag for all modules. --- tools/winebuild/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index 656e375..a251e6f 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -333,7 +333,7 @@ DLLSPEC *alloc_dll_spec(void) spec->alloc_entry_points = 0; spec->nb_names = 0; spec->nb_resources = 0; - spec->characteristics = 0; + spec->characteristics = IMAGE_FILE_EXECUTABLE_IMAGE; spec->dll_characteristics = IMAGE_DLLCHARACTERISTICS_NX_COMPAT; spec->subsystem = 0; spec->subsystem_major = 4;
1
0
0
0
← Newer
1
...
14
15
16
17
18
19
20
...
72
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
Results per page:
10
25
50
100
200