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
September 2011
----- 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
996 discussions
Start a n
N
ew thread
Alistair Leslie-Hughes : msxml3: Only compare strings if the transform was successful.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: 3a63aebc1c73ca7b983e55ffc49d5b41a7110310 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=3a63aebc1c73ca7b983e55ffc…
Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Wed Sep 7 20:07:28 2011 +1000 msxml3: Only compare strings if the transform was successful. --- dlls/msxml3/tests/domdoc.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c index 22fb3ae..a758880 100644 --- a/dlls/msxml3/tests/domdoc.c +++ b/dlls/msxml3/tests/domdoc.c @@ -6978,8 +6978,11 @@ static void test_testTransforms(void) hr = IXMLDOMDocument_transformNode(doc, pNode, &bOut); ok(hr == S_OK, "ret %08x\n", hr ); - ok( compareIgnoreReturns( bOut, _bstr_(szTransformOutput)), "Stylesheet output not correct\n"); - SysFreeString(bOut); + if(hr == S_OK) + { + ok( compareIgnoreReturns( bOut, _bstr_(szTransformOutput)), "Stylesheet output not correct\n"); + SysFreeString(bOut); + } IXMLDOMNode_Release(pNode); }
1
0
0
0
André Hentschel : ntdll: Allow reading from a writable section.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: 8fc74191205e03719ee275fcd957ddd6deda7ee6 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8fc74191205e03719ee275fcd…
Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Sep 6 18:00:42 2011 +0200 ntdll: Allow reading from a writable section. --- dlls/ntdll/virtual.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index a7679da..dda1f37 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -1341,7 +1341,7 @@ static NTSTATUS map_image( HANDLE hmapping, int fd, char *base, SIZE_T total_siz size = ROUND_SIZE( sec->VirtualAddress, sec->SizeOfRawData ); if (sec->Characteristics & IMAGE_SCN_MEM_READ) vprot |= VPROT_READ; - if (sec->Characteristics & IMAGE_SCN_MEM_WRITE) vprot |= VPROT_WRITECOPY; + if (sec->Characteristics & IMAGE_SCN_MEM_WRITE) vprot |= VPROT_READ | VPROT_WRITECOPY; if (sec->Characteristics & IMAGE_SCN_MEM_EXECUTE) vprot |= VPROT_EXEC; /* Dumb game crack lets the AOEP point into a data section. Adjust. */
1
0
0
0
Francois Gouget : xcopy: Add full stops at the end of sentences in the usage message.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: ca3b1046ca84fc5242e84ec8a1c8d8d7a7449257 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ca3b1046ca84fc5242e84ec8a…
Author: Francois Gouget <fgouget(a)free.fr> Date: Wed Sep 7 12:53:13 2011 +0200 xcopy: Add full stops at the end of sentences in the usage message. --- po/ar.po | 42 ++++++++++++------------ po/bg.po | 42 ++++++++++++------------ po/ca.po | 42 ++++++++++++------------ po/cs.po | 42 ++++++++++++------------ po/da.po | 43 ++++++++++++------------ po/de.po | 43 ++++++++++++------------ po/el.po | 42 ++++++++++++------------ po/en.po | 84 +++++++++++++++++++++++----------------------- po/en_US.po | 84 +++++++++++++++++++++++----------------------- po/eo.po | 42 ++++++++++++------------ po/es.po | 42 ++++++++++++------------ po/fa.po | 42 ++++++++++++------------ po/fi.po | 42 ++++++++++++------------ po/fr.po | 43 ++++++++++++------------ po/he.po | 43 ++++++++++++------------ po/hi.po | 42 ++++++++++++------------ po/hu.po | 42 ++++++++++++------------ po/it.po | 43 ++++++++++++------------ po/ja.po | 43 ++++++++++++------------ po/ko.po | 43 ++++++++++++------------ po/lt.po | 43 ++++++++++++------------ po/ml.po | 42 ++++++++++++------------ po/nb_NO.po | 43 ++++++++++++------------ po/nl.po | 43 ++++++++++++------------ po/or.po | 42 ++++++++++++------------ po/pa.po | 42 ++++++++++++------------ po/pl.po | 43 ++++++++++++------------ po/pt_BR.po | 43 ++++++++++++------------ po/pt_PT.po | 43 ++++++++++++------------ po/rm.po | 42 ++++++++++++------------ po/ro.po | 43 ++++++++++++------------ po/ru.po | 43 ++++++++++++------------ po/sk.po | 42 ++++++++++++------------ po/sl.po | 43 ++++++++++++------------ po/sr_RS(a)cyrillic.po | 43 ++++++++++++------------ po/sr_RS(a)latin.po | 43 ++++++++++++------------ po/sv.po | 43 ++++++++++++------------ po/te.po | 42 ++++++++++++------------ po/th.po | 42 ++++++++++++------------ po/tr.po | 42 ++++++++++++------------ po/uk.po | 43 ++++++++++++------------ po/wa.po | 42 ++++++++++++------------ po/wine.pot | 42 ++++++++++++------------ po/zh_CN.po | 42 ++++++++++++------------ po/zh_TW.po | 42 ++++++++++++------------ programs/xcopy/xcopy.rc | 42 ++++++++++++------------ 46 files changed, 1028 insertions(+), 1008 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=ca3b1046ca84fc5242e84…
1
0
0
0
Francois Gouget : wineconsole: Add full stops at the end of sentences in the usage message.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: 66a13a43bda659017db1987a390256ec611e2bbd URL:
http://source.winehq.org/git/wine.git/?a=commit;h=66a13a43bda659017db1987a3…
Author: Francois Gouget <fgouget(a)free.fr> Date: Wed Sep 7 12:52:30 2011 +0200 wineconsole: Add full stops at the end of sentences in the usage message. --- po/ar.po | 8 ++++---- po/bg.po | 8 ++++---- po/ca.po | 8 ++++---- po/cs.po | 8 ++++---- po/da.po | 11 +++++++---- po/de.po | 11 +++++++---- po/el.po | 8 ++++---- po/en.po | 8 ++++---- po/en_US.po | 16 ++++++++-------- po/eo.po | 8 ++++---- po/es.po | 11 +++++++---- po/fa.po | 8 ++++---- po/fi.po | 8 ++++---- po/fr.po | 11 +++++++---- po/he.po | 11 +++++++---- po/hi.po | 8 ++++---- po/hu.po | 8 ++++---- po/it.po | 11 +++++++---- po/ja.po | 11 +++++++---- po/ko.po | 11 +++++++---- po/lt.po | 11 +++++++---- po/ml.po | 8 ++++---- po/nb_NO.po | 11 +++++++---- po/nl.po | 11 +++++++---- po/or.po | 8 ++++---- po/pa.po | 8 ++++---- po/pl.po | 11 +++++++---- po/pt_BR.po | 11 +++++++---- po/pt_PT.po | 11 +++++++---- po/rm.po | 8 ++++---- po/ro.po | 11 +++++++---- po/ru.po | 11 +++++++---- po/sk.po | 8 ++++---- po/sl.po | 11 +++++++---- po/sr_RS(a)cyrillic.po | 8 ++++---- po/sr_RS(a)latin.po | 8 ++++---- po/sv.po | 11 +++++++---- po/te.po | 8 ++++---- po/th.po | 8 ++++---- po/tr.po | 8 ++++---- po/uk.po | 11 +++++++---- po/wa.po | 8 ++++---- po/wine.pot | 8 ++++---- po/zh_CN.po | 11 +++++++---- po/zh_TW.po | 8 ++++---- programs/wineconsole/wineconsole.rc | 6 +++--- 46 files changed, 247 insertions(+), 187 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=66a13a43bda659017db19…
1
0
0
0
Francois Gouget : net: Add a full stop at the end of a sentence in the usage message.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: df655b41a2d26d0451723e79f8da17cc92c462d3 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=df655b41a2d26d0451723e79f…
Author: Francois Gouget <fgouget(a)free.fr> Date: Wed Sep 7 12:50:55 2011 +0200 net: Add a full stop at the end of a sentence in the usage message. --- po/ar.po | 2 +- po/bg.po | 2 +- po/ca.po | 2 +- po/cs.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/el.po | 2 +- po/en.po | 4 ++-- po/en_US.po | 4 ++-- po/eo.po | 2 +- po/es.po | 2 +- po/fa.po | 2 +- po/fi.po | 2 +- po/fr.po | 3 ++- po/he.po | 2 +- po/hi.po | 2 +- po/hu.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/ko.po | 3 ++- po/lt.po | 3 ++- po/ml.po | 2 +- po/nb_NO.po | 2 +- po/nl.po | 2 +- po/or.po | 2 +- po/pa.po | 2 +- po/pl.po | 2 +- po/pt_BR.po | 2 +- po/pt_PT.po | 2 +- po/rm.po | 2 +- po/ro.po | 2 +- po/ru.po | 2 +- po/sk.po | 2 +- po/sl.po | 2 +- po/sr_RS(a)cyrillic.po | 2 +- po/sr_RS(a)latin.po | 2 +- po/sv.po | 2 +- po/te.po | 2 +- po/th.po | 2 +- po/tr.po | 2 +- po/uk.po | 2 +- po/wa.po | 2 +- po/wine.pot | 2 +- po/zh_CN.po | 2 +- po/zh_TW.po | 2 +- programs/net/net.rc | 2 +- 46 files changed, 51 insertions(+), 48 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=df655b41a2d26d0451723…
1
0
0
0
Francois Gouget : cmd: Fix the indentation of the IF usage message.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: cd411b613b0d3c0e0edb68d97a92791cd77e8169 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=cd411b613b0d3c0e0edb68d97…
Author: Francois Gouget <fgouget(a)free.fr> Date: Wed Sep 7 12:50:35 2011 +0200 cmd: Fix the indentation of the IF usage message. --- po/ar.po | 6 +++--- po/bg.po | 6 +++--- po/ca.po | 6 +++--- po/cs.po | 7 ++++--- po/da.po | 7 ++++--- po/de.po | 7 ++++--- po/el.po | 6 +++--- po/en.po | 12 ++++++------ po/en_US.po | 12 ++++++------ po/eo.po | 6 +++--- po/es.po | 7 ++++--- po/fa.po | 6 +++--- po/fi.po | 6 +++--- po/fr.po | 7 ++++--- po/he.po | 7 ++++--- po/hi.po | 6 +++--- po/hu.po | 6 +++--- po/it.po | 7 ++++--- po/ja.po | 7 ++++--- po/ko.po | 7 ++++--- po/lt.po | 7 ++++--- po/ml.po | 6 +++--- po/nb_NO.po | 7 ++++--- po/nl.po | 7 ++++--- po/or.po | 6 +++--- po/pa.po | 6 +++--- po/pl.po | 7 ++++--- po/pt_BR.po | 7 ++++--- po/pt_PT.po | 7 ++++--- po/rm.po | 6 +++--- po/ro.po | 7 ++++--- po/ru.po | 7 ++++--- po/sk.po | 6 +++--- po/sl.po | 7 ++++--- po/sr_RS(a)cyrillic.po | 6 +++--- po/sr_RS(a)latin.po | 6 +++--- po/sv.po | 7 ++++--- po/te.po | 6 +++--- po/th.po | 6 +++--- po/tr.po | 7 ++++--- po/uk.po | 7 ++++--- po/wa.po | 6 +++--- po/wine.pot | 6 +++--- po/zh_CN.po | 6 +++--- po/zh_TW.po | 6 +++--- programs/cmd/cmd.rc | 6 +++--- 46 files changed, 165 insertions(+), 144 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=cd411b613b0d3c0e0edb6…
1
0
0
0
Francois Gouget : winecfg: Specify a context for the drive letter setting.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: 08de85a2d94e5d49f2c0059aa953be22ddae6718 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=08de85a2d94e5d49f2c0059aa…
Author: Francois Gouget <fgouget(a)free.fr> Date: Wed Sep 7 12:47:12 2011 +0200 winecfg: Specify a context for the drive letter setting. --- po/ar.po | 1 + po/bg.po | 1 + po/ca.po | 1 + po/cs.po | 2 ++ po/da.po | 2 ++ po/de.po | 2 ++ po/el.po | 1 + po/en.po | 1 + po/en_US.po | 1 + po/eo.po | 1 + po/es.po | 2 ++ po/fa.po | 1 + po/fi.po | 2 ++ po/fr.po | 2 ++ po/he.po | 1 + po/hi.po | 1 + po/hu.po | 2 ++ po/it.po | 2 ++ po/ja.po | 2 ++ po/ko.po | 2 ++ po/lt.po | 2 ++ po/ml.po | 1 + po/nb_NO.po | 2 ++ po/nl.po | 2 ++ po/or.po | 1 + po/pa.po | 1 + po/pl.po | 2 ++ po/pt_BR.po | 2 ++ po/pt_PT.po | 2 ++ po/rm.po | 1 + po/ro.po | 2 ++ po/ru.po | 2 ++ po/sk.po | 1 + po/sl.po | 2 ++ po/sr_RS(a)cyrillic.po | 1 + po/sr_RS(a)latin.po | 2 ++ po/sv.po | 2 ++ po/te.po | 1 + po/th.po | 1 + po/tr.po | 2 ++ po/uk.po | 2 ++ po/wa.po | 1 + po/wine.pot | 1 + po/zh_CN.po | 2 ++ po/zh_TW.po | 2 ++ programs/winecfg/winecfg.rc | 2 +- 46 files changed, 71 insertions(+), 1 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=08de85a2d94e5d49f2c00…
1
0
0
0
Bernhard Loos : wuapi: Add the SystemInformation coclass and interface.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: f8a215b09ca507408ad9032ff20e22d1db5f7db9 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f8a215b09ca507408ad9032ff…
Author: Bernhard Loos <bernhardloos(a)googlemail.com> Date: Wed Sep 7 11:59:29 2011 +0200 wuapi: Add the SystemInformation coclass and interface. --- dlls/wuapi/Makefile.in | 1 + dlls/wuapi/main.c | 5 ++ dlls/wuapi/systeminfo.c | 163 ++++++++++++++++++++++++++++++++++++++++++++ dlls/wuapi/wuapi_private.h | 1 + include/wuapi.idl | 29 ++++++++ 5 files changed, 199 insertions(+), 0 deletions(-) diff --git a/dlls/wuapi/Makefile.in b/dlls/wuapi/Makefile.in index 6387f07..81d50ba 100644 --- a/dlls/wuapi/Makefile.in +++ b/dlls/wuapi/Makefile.in @@ -8,6 +8,7 @@ C_SRCS = \ main.c \ searcher.c \ session.c \ + systeminfo.c \ updates.c IDL_TLB_SRCS = wuapi_tlb.idl diff --git a/dlls/wuapi/main.c b/dlls/wuapi/main.c index c553ea2..80daca0 100644 --- a/dlls/wuapi/main.c +++ b/dlls/wuapi/main.c @@ -114,6 +114,7 @@ static const struct IClassFactoryVtbl wucf_vtbl = static wucf sessioncf = { { &wucf_vtbl }, UpdateSession_create }; static wucf updatescf = { { &wucf_vtbl }, AutomaticUpdates_create }; +static wucf sysinfocf = { { &wucf_vtbl }, SystemInformation_create }; static HINSTANCE instance; @@ -147,6 +148,10 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv ) { cf = &updatescf.IClassFactory_iface; } + else if (IsEqualGUID( rclsid, &CLSID_SystemInformation )) + { + cf = &sysinfocf.IClassFactory_iface; + } if (!cf) return CLASS_E_CLASSNOTAVAILABLE; return IClassFactory_QueryInterface( cf, iid, ppv ); } diff --git a/dlls/wuapi/systeminfo.c b/dlls/wuapi/systeminfo.c new file mode 100644 index 0000000..f3f635f --- /dev/null +++ b/dlls/wuapi/systeminfo.c @@ -0,0 +1,163 @@ +/* + * IAutomaticUpdates implementation + * + * Copyright 2008 Hans Leidekker + * Copyright 2011 Bernhard Loos + * + * 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 "config.h" +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "winuser.h" +#include "ole2.h" +#include "wuapi.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wuapi); + +typedef struct _systeminfo +{ + ISystemInformation ISystemInformation_iface; + LONG refs; +} systeminfo; + +static inline systeminfo *impl_from_ISystemInformation(ISystemInformation *iface) +{ + return CONTAINING_RECORD(iface, systeminfo, ISystemInformation_iface); +} + +static ULONG WINAPI systeminfo_AddRef(ISystemInformation *iface) +{ + systeminfo *This = impl_from_ISystemInformation(iface); + return InterlockedIncrement(&This->refs); +} + +static ULONG WINAPI systeminfo_Release(ISystemInformation *iface) +{ + systeminfo *This = impl_from_ISystemInformation(iface); + LONG refs = InterlockedDecrement(&This->refs); + if (!refs) + { + TRACE("destroying %p\n", This); + HeapFree(GetProcessHeap(), 0, This); + } + return refs; +} + +static HRESULT WINAPI systeminfo_QueryInterface(ISystemInformation *iface, + REFIID riid, void **ppvObject) +{ + systeminfo *This = impl_from_ISystemInformation(iface); + + TRACE("%p %s %p\n", This, debugstr_guid(riid), ppvObject); + + if (IsEqualGUID(riid, &IID_ISystemInformation) || + IsEqualGUID(riid, &IID_IDispatch) || + IsEqualGUID(riid, &IID_IUnknown)) + { + *ppvObject = iface; + } + else + { + FIXME("interface %s not implemented\n", debugstr_guid(riid)); + return E_NOINTERFACE; + } + ISystemInformation_AddRef(iface); + return S_OK; +} + +static HRESULT WINAPI systeminfo_GetTypeInfoCount(ISystemInformation *iface, + UINT *pctinfo ) +{ + FIXME("\n"); + return E_NOTIMPL; +} + +static HRESULT WINAPI systeminfo_GetTypeInfo(ISystemInformation *iface, + UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo) +{ + FIXME("\n"); + return E_NOTIMPL; +} + +static HRESULT WINAPI systeminfo_GetIDsOfNames(ISystemInformation *iface, + REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, + DISPID *rgDispId) +{ + FIXME("\n"); + return E_NOTIMPL; +} + +static HRESULT WINAPI systeminfo_Invoke(ISystemInformation *iface, + DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, + DISPPARAMS *pDispParams, VARIANT *pVarResult, + EXCEPINFO *pExcepInfo, UINT *puArgErr ) +{ + FIXME("\n"); + return E_NOTIMPL; +} + +static HRESULT WINAPI systeminfo_get_OemHardwareSupportLink(ISystemInformation *iface, + BSTR *retval) +{ + FIXME("\n"); + return E_NOTIMPL; +} + +static HRESULT WINAPI systeminfo_get_RebootRequired(ISystemInformation *iface, + VARIANT_BOOL *retval) +{ + *retval = VARIANT_FALSE; + return S_OK; +} + +static const struct ISystemInformationVtbl systeminfo_vtbl = +{ + systeminfo_QueryInterface, + systeminfo_AddRef, + systeminfo_Release, + systeminfo_GetTypeInfoCount, + systeminfo_GetTypeInfo, + systeminfo_GetIDsOfNames, + systeminfo_Invoke, + systeminfo_get_OemHardwareSupportLink, + systeminfo_get_RebootRequired +}; + +HRESULT SystemInformation_create(IUnknown *pUnkOuter, LPVOID *ppObj) +{ + systeminfo *info; + + TRACE("(%p,%p)\n", pUnkOuter, ppObj); + + info = HeapAlloc(GetProcessHeap(), 0, sizeof(*info)); + if (!info) + return E_OUTOFMEMORY; + + info->ISystemInformation_iface.lpVtbl = &systeminfo_vtbl; + info->refs = 1; + + *ppObj = &info->ISystemInformation_iface; + + TRACE("returning iface %p\n", *ppObj); + return S_OK; +} diff --git a/dlls/wuapi/wuapi_private.h b/dlls/wuapi/wuapi_private.h index e1db05a..444722b 100644 --- a/dlls/wuapi/wuapi_private.h +++ b/dlls/wuapi/wuapi_private.h @@ -21,3 +21,4 @@ extern HRESULT UpdateSession_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSP extern HRESULT UpdateSearcher_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN; extern HRESULT UpdateDownloader_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN; extern HRESULT UpdateInstaller_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN; +extern HRESULT SystemInformation_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN; diff --git a/include/wuapi.idl b/include/wuapi.idl index 1989cd4..d1a3593 100644 --- a/include/wuapi.idl +++ b/include/wuapi.idl @@ -1301,6 +1301,26 @@ interface IUpdateInstaller : IDispatch } [ + object, + uuid(ADE87BF7-7B56-4275-8FAB-B9B0E591844B), + oleautomation, + hidden, + dual, + nonextensible, + pointer_default(unique), +] +interface ISystemInformation : IDispatch +{ + [propget] + HRESULT OemHardwareSupportLink( + [out, retval] BSTR *retval); + + [propget] + HRESULT RebootRequired( + [out, retval] VARIANT_BOOL *retval); +} + +[ helpstring("AutomaticUpdates Class"), threading(both), progid("Microsoft.Update.AutoUpdate.1"), @@ -1318,4 +1338,13 @@ coclass AutomaticUpdates { interface IAutomaticUpdates; } ] coclass UpdateSession { interface IUpdateSession; } +[ + helpstring("SystemInformation Class"), + threading(both), + progid("Microsoft.Update.SystemInfo.1"), + vi_progid("Microsoft.Update.SystemInfo"), + uuid(C01B9BA0-BEA7-41BA-B604-D0A36F469133) +] +coclass SystemInformation { interface ISystemInformation; } + } /* WUApiLib */
1
0
0
0
Marcus Meissner : netapi32: Check for GetUserNameW return (Coverity).
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: f014487f9e4fc24d6a049abc967fd86ab5afef1e URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f014487f9e4fc24d6a049abc9…
Author: Marcus Meissner <meissner(a)suse.de> Date: Wed Sep 7 15:18:58 2011 +0200 netapi32: Check for GetUserNameW return (Coverity). --- dlls/netapi32/access.c | 5 ++++- dlls/netapi32/local_group.c | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c index 255e51b..7cd05fc 100644 --- a/dlls/netapi32/access.c +++ b/dlls/netapi32/access.c @@ -437,7 +437,10 @@ NetUserGetLocalGroups(LPCWSTR servername, LPCWSTR username, DWORD level, size = UNLEN + 1; NetApiBufferAllocate(size * sizeof(WCHAR), (LPVOID*)¤tuser); - GetUserNameW(currentuser, &size); + if (!GetUserNameW(currentuser, &size)) { + NetApiBufferFree(currentuser); + return ERROR_NOT_ENOUGH_MEMORY; + } if (lstrcmpiW(username, currentuser) && NETAPI_FindUser(username)) { diff --git a/dlls/netapi32/local_group.c b/dlls/netapi32/local_group.c index 7f7d3c1..f4f4214 100644 --- a/dlls/netapi32/local_group.c +++ b/dlls/netapi32/local_group.c @@ -196,7 +196,9 @@ NET_API_STATUS WINAPI NetLocalGroupGetMembers( *entriesread = 0; userNameLen = MAX_COMPUTERNAME_LENGTH + 1; - GetUserNameW(userName,&userNameLen); + if (!GetUserNameW(userName,&userNameLen)) + return ERROR_NOT_ENOUGH_MEMORY; + needlen = sizeof(LOCALGROUP_MEMBERS_INFO_3) + (userNameLen+2) * sizeof(WCHAR); if (prefmaxlen != MAX_PREFERRED_LENGTH)
1
0
0
0
Nikolay Sivov : comctl32/monthcal: Make day drawing helpers aware of multiple calendars.
by Alexandre Julliard
07 Sep '11
07 Sep '11
Module: wine Branch: master Commit: 354d41685f62523e8008d8e38a1f737b6a3d92f8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=354d41685f62523e8008d8e38…
Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Sun Sep 4 19:48:28 2011 +0400 comctl32/monthcal: Make day drawing helpers aware of multiple calendars. --- dlls/comctl32/monthcal.c | 163 ++++++++++++++++++++++++++-------------------- 1 files changed, 92 insertions(+), 71 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=354d41685f62523e8008d…
1
0
0
0
← Newer
1
...
77
78
79
80
81
82
83
...
100
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
Results per page:
10
25
50
100
200