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
May 2007
----- 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
Francois Gouget : schannel: The PSDK defines no SECPKG_FUNCTION_TABLE_SIZE_* macro.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: ecaeeb2c9b7d20a8708219ede00a0bb35498b13c URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ecaeeb2c9b7d20a8708219ede…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:36:30 2007 +0200 schannel: The PSDK defines no SECPKG_FUNCTION_TABLE_SIZE_* macro. --- dlls/schannel/tests/main.c | 7 +++++++ include/ntsecpkg.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/schannel/tests/main.c b/dlls/schannel/tests/main.c index d09a17c..88cafc7 100644 --- a/dlls/schannel/tests/main.c +++ b/dlls/schannel/tests/main.c @@ -32,6 +32,13 @@ #include "wine/test.h" +/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */ +#define SECPKG_FUNCTION_TABLE_SIZE_1 offsetof(SECPKG_FUNCTION_TABLE, \ + SpSetContextAttributes) +#define SECPKG_FUNCTION_TABLE_SIZE_2 offsetof(SECPKG_FUNCTION_TABLE, \ + SetCredentialsAttributes) +#define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE) + static NTSTATUS (NTAPI *pSpLsaModeInitialize)(ULONG, PULONG, PSECPKG_FUNCTION_TABLE*, PULONG); static NTSTATUS (NTAPI *pSpUserModeInitialize)(ULONG, PULONG, diff --git a/include/ntsecpkg.h b/include/ntsecpkg.h index 8cca976..b8ef222 100644 --- a/include/ntsecpkg.h +++ b/include/ntsecpkg.h @@ -405,13 +405,6 @@ typedef struct SECPKG_FUNCTION_TABLE { } SECPKG_FUNCTION_TABLE, *PSECPKG_FUNCTION_TABLE; -/* Helper macros to find the size of SECPKG_FUNCTION_TABLE */ -#define SECPKG_FUNCTION_TABLE_SIZE_1 offsetof(SECPKG_FUNCTION_TABLE, \ - SpSetContextAttributes) -#define SECPKG_FUNCTION_TABLE_SIZE_2 offsetof(SECPKG_FUNCTION_TABLE, \ - SetCredentialsAttributes) -#define SECPKG_FUNCTION_TABLE_SIZE_3 sizeof(SECPKG_FUNCTION_TABLE) - /* dispatch tables of user-mode functions implemented by SSP/AP */ typedef struct SECPKG_USER_FUNCTION_TABLE { SpInstanceInitFn *InstanceInit;
1
0
0
0
Francois Gouget : include: The PSDK does not define the DEFINE_SHLGUID() macro anymore.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: efba2935823f5884f8e40dbacd90c45c8d15f4df URL:
http://source.winehq.org/git/wine.git/?a=commit;h=efba2935823f5884f8e40dbac…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:37:55 2007 +0200 include: The PSDK does not define the DEFINE_SHLGUID() macro anymore. --- dlls/mshtml/tests/htmldoc.c | 2 +- include/shlguid.h | 88 +++++++++++++++++++++---------------------- 2 files changed, 44 insertions(+), 46 deletions(-) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index 37e7f5a..2627a85 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -35,7 +35,7 @@ #include "shlguid.h" #include "initguid.h" -DEFINE_SHLGUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0); +DEFINE_OLEGUID(CGID_DocHostCmdPriv, 0x000214D4L, 0, 0); #define DEFINE_EXPECT(func) \ static BOOL expect_ ## func = FALSE, called_ ## func = FALSE diff --git a/include/shlguid.h b/include/shlguid.h index 1214a2d..ed677c0 100644 --- a/include/shlguid.h +++ b/include/shlguid.h @@ -19,62 +19,60 @@ #ifndef __WINE_SHLGUID_H #define __WINE_SHLGUID_H -#define DEFINE_SHLGUID(name, l, w1, w2) DEFINE_OLEGUID(name,l,w1,w2) +DEFINE_OLEGUID(CLSID_ShellDesktop, 0x00021400L, 0, 0); +DEFINE_OLEGUID(CLSID_ShellLink, 0x00021401L, 0, 0); -DEFINE_SHLGUID(CLSID_ShellDesktop, 0x00021400L, 0, 0); -DEFINE_SHLGUID(CLSID_ShellLink, 0x00021401L, 0, 0); - -DEFINE_SHLGUID(CATID_BrowsableShellExt, 0x00021490L, 0, 0); -DEFINE_SHLGUID(CATID_BrowseInPlace, 0x00021491L, 0, 0); -DEFINE_SHLGUID(CATID_DeskBand, 0x00021492L, 0, 0); -DEFINE_SHLGUID(CATID_InfoBand, 0x00021493L, 0, 0); -DEFINE_SHLGUID(CATID_CommBand, 0x00021494L, 0, 0); +DEFINE_OLEGUID(CATID_BrowsableShellExt, 0x00021490L, 0, 0); +DEFINE_OLEGUID(CATID_BrowseInPlace, 0x00021491L, 0, 0); +DEFINE_OLEGUID(CATID_DeskBand, 0x00021492L, 0, 0); +DEFINE_OLEGUID(CATID_InfoBand, 0x00021493L, 0, 0); +DEFINE_OLEGUID(CATID_CommBand, 0x00021494L, 0, 0); /* shell32 formatids */ -DEFINE_SHLGUID(FMTID_Intshcut, 0x000214A0L, 0, 0); -DEFINE_SHLGUID(FMTID_InternetSite, 0x000214A1L, 0, 0); +DEFINE_OLEGUID(FMTID_Intshcut, 0x000214A0L, 0, 0); +DEFINE_OLEGUID(FMTID_InternetSite, 0x000214A1L, 0, 0); /* command group ids */ -DEFINE_SHLGUID(CGID_Explorer, 0x000214D0L, 0, 0); -DEFINE_SHLGUID(CGID_ShellDocView, 0x000214D1L, 0, 0); -DEFINE_SHLGUID(CGID_ShellServiceObject, 0x000214D2L, 0, 0); -DEFINE_SHLGUID(CGID_ExplorerBarDoc, 0x000214D3L, 0, 0); - -DEFINE_SHLGUID(IID_IShellIcon, 0x000214E5L, 0, 0); -DEFINE_SHLGUID(IID_IShellDetails, 0x000214ECL, 0, 0); -DEFINE_SHLGUID(IID_IDelayedRelease, 0x000214EDL, 0, 0); -DEFINE_SHLGUID(IID_IShellCopyHookA, 0x000214EFL, 0, 0); -DEFINE_SHLGUID(IID_IFileViewerA, 0x000214F0L, 0, 0); -DEFINE_SHLGUID(IID_IFileViewerSite, 0x000214F3L, 0, 0); -DEFINE_SHLGUID(IID_IPropSheetPage, 0x000214F6L, 0, 0); -DEFINE_SHLGUID(IID_IFileViewerW, 0x000214F8L, 0, 0); -DEFINE_SHLGUID(IID_IShellCopyHookW, 0x000214FCL, 0, 0); -DEFINE_SHLGUID(IID_IRemoteComputer, 0x000214FEL, 0, 0); -DEFINE_SHLGUID(IID_IQueryInfo, 0x00021500L, 0, 0); +DEFINE_OLEGUID(CGID_Explorer, 0x000214D0L, 0, 0); +DEFINE_OLEGUID(CGID_ShellDocView, 0x000214D1L, 0, 0); +DEFINE_OLEGUID(CGID_ShellServiceObject, 0x000214D2L, 0, 0); +DEFINE_OLEGUID(CGID_ExplorerBarDoc, 0x000214D3L, 0, 0); + +DEFINE_OLEGUID(IID_IShellIcon, 0x000214E5L, 0, 0); +DEFINE_OLEGUID(IID_IShellDetails, 0x000214ECL, 0, 0); +DEFINE_OLEGUID(IID_IDelayedRelease, 0x000214EDL, 0, 0); +DEFINE_OLEGUID(IID_IShellCopyHookA, 0x000214EFL, 0, 0); +DEFINE_OLEGUID(IID_IFileViewerA, 0x000214F0L, 0, 0); +DEFINE_OLEGUID(IID_IFileViewerSite, 0x000214F3L, 0, 0); +DEFINE_OLEGUID(IID_IPropSheetPage, 0x000214F6L, 0, 0); +DEFINE_OLEGUID(IID_IFileViewerW, 0x000214F8L, 0, 0); +DEFINE_OLEGUID(IID_IShellCopyHookW, 0x000214FCL, 0, 0); +DEFINE_OLEGUID(IID_IRemoteComputer, 0x000214FEL, 0, 0); +DEFINE_OLEGUID(IID_IQueryInfo, 0x00021500L, 0, 0); DEFINE_GUID(IID_IACList, 0x77A130B0L,0x94FD,0x11D0,0xA5,0x44,0x00,0xC0,0x4F,0xD7,0xD0,0x62); DEFINE_GUID(IID_IACList2, 0x470141A0L,0x5186,0x11D2,0xBB,0xB6,0x00,0x60,0x97,0x7B,0x46,0x4C); DEFINE_GUID(IID_IObjMgr, 0x00BB2761L,0x6A77,0x11D0,0xA5,0x35,0x00,0xC0,0x4F,0xD7,0xD0,0x62); /* avoid duplicate definitions with shobjidl.h (FIXME) */ -/* DEFINE_SHLGUID(IID_IShellPropSheetExt, 0x000214E9L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IExtractIconA, 0x000214EBL, 0, 0); */ -/* DEFINE_SHLGUID(IID_IExtractIconW, 0x000214FAL, 0, 0); */ -/* DEFINE_SHLGUID(IID_IContextMenu, 0x000214E4L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IContextMenu2, 0x000214F4L, 0, 0); */ -/* DEFINE_SHLGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellBrowser, 0x000214E2L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellView, 0x000214E3L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellFolder, 0x000214E6L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellExtInit, 0x000214E8L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IPersistFolder, 0x000214EAL, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellLinkA, 0x000214EEL, 0, 0); */ -/* DEFINE_SHLGUID(IID_IEnumIDList, 0x000214F2L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellLinkW, 0x000214F9L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellExecuteHookA, 0x000214F5L, 0, 0); */ -/* DEFINE_SHLGUID(IID_IShellExecuteHookW, 0x000214FBL, 0, 0); */ -/* DEFINE_SHLGUID(IID_INewShortcutHookA, 0x000214E1L, 0, 0); */ -/* DEFINE_SHLGUID(IID_INewShortcutHookW, 0x000214F7L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellPropSheetExt, 0x000214E9L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IExtractIconA, 0x000214EBL, 0, 0); */ +/* DEFINE_OLEGUID(IID_IExtractIconW, 0x000214FAL, 0, 0); */ +/* DEFINE_OLEGUID(IID_IContextMenu, 0x000214E4L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IContextMenu2, 0x000214F4L, 0, 0); */ +/* DEFINE_OLEGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellBrowser, 0x000214E2L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellView, 0x000214E3L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellFolder, 0x000214E6L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellExtInit, 0x000214E8L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IPersistFolder, 0x000214EAL, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellLinkA, 0x000214EEL, 0, 0); */ +/* DEFINE_OLEGUID(IID_IEnumIDList, 0x000214F2L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellLinkW, 0x000214F9L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellExecuteHookA, 0x000214F5L, 0, 0); */ +/* DEFINE_OLEGUID(IID_IShellExecuteHookW, 0x000214FBL, 0, 0); */ +/* DEFINE_OLEGUID(IID_INewShortcutHookA, 0x000214E1L, 0, 0); */ +/* DEFINE_OLEGUID(IID_INewShortcutHookW, 0x000214F7L, 0, 0); */ DEFINE_GUID(CLSID_CUrlHistory, 0x3c374a40, 0xbae4, 0x11cf, 0xbf, 0x7d, 0x00, 0xaa, 0x00, 0x69, 0x46, 0xee); #define SID_SUrlHistory CLSID_CUrlHistory
1
0
0
0
Francois Gouget : shlwapi/tests: The PSDK does not define IID_IDelayedRelease anymore.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: 40838cec781fa461f00cb759d9b6ce39fd91edb1 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=40838cec781fa461f00cb759d…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:37:37 2007 +0200 shlwapi/tests: The PSDK does not define IID_IDelayedRelease anymore. --- dlls/shlwapi/tests/clsid.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dlls/shlwapi/tests/clsid.c b/dlls/shlwapi/tests/clsid.c index 66712a5..8f0830c 100644 --- a/dlls/shlwapi/tests/clsid.c +++ b/dlls/shlwapi/tests/clsid.c @@ -31,6 +31,9 @@ #define INITGUID #include "initguid.h" +/* This GUID has been removed from the PSDK */ +DEFINE_OLEGUID(WINE_IID_IDelayedRelease, 0x000214EDL, 0, 0); + /* Function ptrs for ordinal calls */ static HMODULE hShlwapi = 0; static BOOL (WINAPI *pSHLWAPI_269)(LPCSTR, CLSID *) = 0; @@ -59,7 +62,7 @@ const GUID * TEST_guids[] = { &IID_IPersistFolder, &IID_IExtractIconA, &IID_IShellDetails, - &IID_IDelayedRelease, + &WINE_IID_IDelayedRelease, &IID_IShellLinkA, &IID_IShellCopyHookA, &IID_IFileViewerA,
1
0
0
0
Francois Gouget : shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: 258f2972aa3bd014915d4fe23abd843cd2c8782f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=258f2972aa3bd014915d4fe23…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:37:14 2007 +0200 shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant. --- dlls/shell32/tests/shellpath.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c index f793c2d..402ff42 100644 --- a/dlls/shell32/tests/shellpath.c +++ b/dlls/shell32/tests/shellpath.c @@ -197,6 +197,11 @@ static void loadShell32(void) #define CSIDL_PROFILES 0x003e #endif +/* CSIDL_MYDOCUMENTS is now the same as CSIDL_PERSONAL, but what we want + * here is its original value. + */ +#define OLD_CSIDL_MYDOCUMENTS 0x000c + /* A couple utility printing functions */ static const char *getFolderName(int folder) { @@ -217,7 +222,7 @@ static const char *getFolderName(int folder) CSIDL_TO_STR(CSIDL_SENDTO); CSIDL_TO_STR(CSIDL_BITBUCKET); CSIDL_TO_STR(CSIDL_STARTMENU); - CSIDL_TO_STR(CSIDL_MYDOCUMENTS); + CSIDL_TO_STR(OLD_CSIDL_MYDOCUMENTS); CSIDL_TO_STR(CSIDL_MYMUSIC); CSIDL_TO_STR(CSIDL_MYVIDEO); CSIDL_TO_STR(CSIDL_DESKTOPDIRECTORY);
1
0
0
0
Francois Gouget : In the PSDK HRESULT_FROM_WIN32() is now an inline function, and it is __HRESULT_FROM_WIN32() which is a macro.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: c85b74d63e770c378ca5836966f4c8ecd197ffed URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c85b74d63e770c378ca583696…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:28:58 2007 +0200 In the PSDK HRESULT_FROM_WIN32() is now an inline function, and it is __HRESULT_FROM_WIN32() which is a macro. --- dlls/urlmon/tests/misc.c | 4 ++-- include/winerror.h | 14 +++++++++++++- include/winnt.h | 5 ++++- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/dlls/urlmon/tests/misc.c b/dlls/urlmon/tests/misc.c index 67e0d3d..375875b 100644 --- a/dlls/urlmon/tests/misc.c +++ b/dlls/urlmon/tests/misc.c @@ -373,9 +373,9 @@ static const struct { {url2, mimeTextHtml, S_OK}, {url3, mimeTextHtml, S_OK}, {url4, NULL, E_FAIL}, - {url5, NULL, HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)}, + {url5, NULL, __HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)}, {url6, NULL, E_FAIL}, - {url7, NULL, HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)} + {url7, NULL, __HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)} }; static BYTE data1[] = "test data\n"; diff --git a/include/winerror.h b/include/winerror.h index 437cc83..6eb6822 100644 --- a/include/winerror.h +++ b/include/winerror.h @@ -81,8 +81,20 @@ #define HRESULT_SEVERITY(hr) (((hr) >> 31) & 0x1) #define SCODE_SEVERITY(sc) (((sc) >> 31) & 0x1) +#define __HRESULT_FROM_WIN32(x) ((x) ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0 ) +#ifndef _HRESULT_DEFINED +#define _HRESULT_DEFINED +# ifdef _MSC_VER +typedef long HRESULT; +# else +typedef int HRESULT; +# endif +#endif +static inline HRESULT HRESULT_FROM_WIN32(unsigned long x) +{ + return x ? ((HRESULT) ((x & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0; +} #define FACILITY_NT_BIT 0x10000000 -#define HRESULT_FROM_WIN32(x) ((x) ? ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)) : 0 ) #define HRESULT_FROM_NT(x) ((HRESULT) ((x) | FACILITY_NT_BIT)) /* SCODE <-> HRESULT functions */ diff --git a/include/winnt.h b/include/winnt.h index 04f5cf6..71dbf6d 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -398,10 +398,13 @@ typedef LPCSTR PCTSTR, LPCTSTR; /* Misc common WIN32 types */ typedef char CCHAR; -typedef LONG HRESULT; typedef DWORD LCID, *PLCID; typedef WORD LANGID; typedef DWORD EXECUTION_STATE; +#ifndef _HRESULT_DEFINED +#define _HRESULT_DEFINED +typedef LONG HRESULT; +#endif /* Handle type */
1
0
0
0
Francois Gouget : ddraw: Fix the name of DDSPD_IUNKNOWNPOINTER.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: 47b6392b44dca86b8c61daa902bd35e73cca5e2f URL:
http://source.winehq.org/git/wine.git/?a=commit;h=47b6392b44dca86b8c61daa90…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:24:21 2007 +0200 ddraw: Fix the name of DDSPD_IUNKNOWNPOINTER. --- dlls/ddraw/tests/dsurface.c | 14 +++++++------- include/ddraw.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/ddraw/tests/dsurface.c b/dlls/ddraw/tests/dsurface.c index 2d3f620..adafb87 100644 --- a/dlls/ddraw/tests/dsurface.c +++ b/dlls/ddraw/tests/dsurface.c @@ -2163,15 +2163,15 @@ static void PrivateDataTest(void) } /* This fails */ - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, 0, DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, 0, DDSPD_IUNKNOWNPOINTER); ok(hr == DDERR_INVALIDPARAMS, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, 5, DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, 5, DDSPD_IUNKNOWNPOINTER); ok(hr == DDERR_INVALIDPARAMS, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, sizeof(IUnknown *) * 2, DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, sizeof(IUnknown *) * 2, DDSPD_IUNKNOWNPOINTER); ok(hr == DDERR_INVALIDPARAMS, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); ref = getref((IUnknown *) lpDD); - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, sizeof(IUnknown *), DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7 /* Abuse this tag */, lpDD, sizeof(IUnknown *), DDSPD_IUNKNOWNPOINTER); ok(hr == DD_OK, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); ref2 = getref((IUnknown *) lpDD); ok(ref2 == ref + 1, "Object reference is %d, expected %d\n", ref2, ref + 1); @@ -2179,14 +2179,14 @@ static void PrivateDataTest(void) ref2 = getref((IUnknown *) lpDD); ok(ref2 == ref, "Object reference is %d, expected %d\n", ref2, ref); - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7, lpDD, sizeof(IUnknown *), DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7, lpDD, sizeof(IUnknown *), DDSPD_IUNKNOWNPOINTER); ok(hr == DD_OK, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7, surface7, sizeof(IUnknown *), DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7, surface7, sizeof(IUnknown *), DDSPD_IUNKNOWNPOINTER); ok(hr == DD_OK, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); ref2 = getref((IUnknown *) lpDD); ok(ref2 == ref, "Object reference is %d, expected %d\n", ref2, ref); - hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7, lpDD, sizeof(IUnknown *), DDSPD_IUNKNOWNPTR); + hr = IDirectDrawSurface7_SetPrivateData(surface7, &IID_IDirectDrawSurface7, lpDD, sizeof(IUnknown *), DDSPD_IUNKNOWNPOINTER); ok(hr == DD_OK, "IDirectDrawSurface7_SetPrivateData failed with %08x\n", hr); hr = IDirectDrawSurface7_GetPrivateData(surface7, &IID_IDirectDrawSurface7, &ptr, &size); ok(hr == DD_OK, "IDirectDrawSurface7_GetPrivateData failed with %08x\n", hr); diff --git a/include/ddraw.h b/include/ddraw.h index 0585ee6..4572d08 100644 --- a/include/ddraw.h +++ b/include/ddraw.h @@ -251,7 +251,7 @@ typedef struct IDirectDrawGammaControl *LPDIRECTDRAWGAMMACONTROL; #define DDGFS_ISFLIPDONE 2L /* dwFlags for IDirectDrawSurface7::SetPrivateData */ -#define DDSPD_IUNKNOWNPTR 1L +#define DDSPD_IUNKNOWNPOINTER 1L #define DDSPD_VOLATILE 2L /* DDSCAPS.dwCaps */
1
0
0
0
Francois Gouget : comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: c9533adc522233069882b68af18503afa8ae2828 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=c9533adc522233069882b68af…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:31:21 2007 +0200 comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it. --- dlls/comctl32/tests/listview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index 97c34a6..a64d4d3 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -568,7 +568,7 @@ static void insert_item(HWND hwnd, int idx) item.iSubItem = 0; item.pszText = text; - rc = ListView_InsertItemA(hwnd, &item); + rc = ListView_InsertItem(hwnd, &item); expect(idx, rc); }
1
0
0
0
Francois Gouget : kernel32/tests: src[i] is a char so there is no point trying to stuff 0xcafedead into it.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: ed94ca1e4f9c65c977275b816e6c6ccd917093d3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ed94ca1e4f9c65c977275b816…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:30:42 2007 +0200 kernel32/tests: src[i] is a char so there is no point trying to stuff 0xcafedead into it. --- dlls/kernel32/tests/virtual.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/kernel32/tests/virtual.c b/dlls/kernel32/tests/virtual.c index bcff9c4..a033096 100644 --- a/dlls/kernel32/tests/virtual.c +++ b/dlls/kernel32/tests/virtual.c @@ -84,7 +84,7 @@ static void test_VirtualAllocEx(void) src = (char *) HeapAlloc( GetProcessHeap(), 0, alloc_size ); dst = (char *) HeapAlloc( GetProcessHeap(), 0, alloc_size ); for (i = 0; i < alloc_size; i++) - src[i] = 0xcafedead + i; + src[i] = i & 0xff; ok(addr1 != NULL, "VirtualAllocEx error %u\n", GetLastError()); b = WriteProcessMemory(hProcess, addr1, src, alloc_size, &bytes_written);
1
0
0
0
Francois Gouget : d3d9/tests: Fix compilation with Visual C++ 2005.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: fd578240f22267dac3e053c0d96b18bc08e4d06a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=fd578240f22267dac3e053c0d…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:25:46 2007 +0200 d3d9/tests: Fix compilation with Visual C++ 2005. --- dlls/d3d9/tests/visual.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index 0d7f35f..29d963f 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -693,8 +693,10 @@ static void fog_with_shader_test(IDirect3DDevice9 *device) { HRESULT hr; DWORD color; - /* NOTE: changing these values will not effect the tests with foggy vertex shader, as the values are hardcoded in the shader*/ - union {float f; DWORD i;} start={.f=0.9}, end={.f=0.1}; + union { + float f; + DWORD i; + } start, end; unsigned int i, j; /* basic vertex shader without fog computation ("non foggy") */ @@ -828,6 +830,10 @@ static void fog_with_shader_test(IDirect3DDevice9 *device) }; + /* NOTE: changing these values will not affect the tests with foggy vertex shader, as the values are hardcoded in the shader*/ + start.f=0.9; + end.f=0.1; + hr = IDirect3DDevice9_CreateVertexShader(device, vertex_shader_code1, &vertex_shader[1]); ok(SUCCEEDED(hr), "CreateVertexShader failed (%08x)\n", hr); hr = IDirect3DDevice9_CreateVertexShader(device, vertex_shader_code2, &vertex_shader[2]);
1
0
0
0
Francois Gouget : shell32/tests: We need NTDDI_VERSION >= NTDDI_WINXPSP1 to get SEE_MASK_NOZONECHECKS with the PSDK.
by Alexandre Julliard
29 May '07
29 May '07
Module: wine Branch: master Commit: 29a4a9c84948daae486271832559e05c939e2e2a URL:
http://source.winehq.org/git/wine.git/?a=commit;h=29a4a9c84948daae486271832…
Author: Francois Gouget <fgouget(a)free.fr> Date: Sun May 27 13:23:37 2007 +0200 shell32/tests: We need NTDDI_VERSION >= NTDDI_WINXPSP1 to get SEE_MASK_NOZONECHECKS with the PSDK. --- dlls/shell32/tests/shlexec.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c index a226667..97f43b6 100644 --- a/dlls/shell32/tests/shlexec.c +++ b/dlls/shell32/tests/shlexec.c @@ -35,6 +35,10 @@ #include <stdio.h> #include <assert.h> +/* Needed to get SEE_MASK_NOZONECHECKS with the PSDK */ +#define NTDDI_WINXPSP1 0x05010100 +#define NTDDI_VERSION NTDDI_WINXPSP1 + #include "wtypes.h" #include "winbase.h" #include "windef.h"
1
0
0
0
← Newer
1
...
7
8
9
10
11
12
13
...
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