ReactOS.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
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
List overview
Download
Ros-diffs
September 2008
----- 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
ros-diffs@reactos.org
27 participants
747 discussions
Start a n
N
ew thread
[cwittich] 36065: forgot to add these files
by cwittich@svn.reactos.org
Author: cwittich Date: Mon Sep 8 11:58:34 2008 New Revision: 36065 URL:
http://svn.reactos.org/svn/reactos?rev=36065&view=rev
Log: forgot to add these files Added: trunk/reactos/dll/win32/msxml3/bsc.c (with props) trunk/reactos/dll/win32/msxml3/cdata.c (with props) trunk/reactos/dll/win32/msxml3/dispex.c (with props) trunk/reactos/dll/win32/msxml3/docfrag.c (with props) trunk/reactos/dll/win32/msxml3/domimpl.c (with props) trunk/reactos/dll/win32/msxml3/entityref.c (with props) trunk/reactos/dll/win32/msxml3/msxml3_v1.idl (with props) trunk/reactos/dll/win32/msxml3/saxreader.c (with props) [This mail would be too long, it was shortened to contain the URLs only.] Added: trunk/reactos/dll/win32/msxml3/bsc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/bsc.c?rev…
Added: trunk/reactos/dll/win32/msxml3/cdata.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/cdata.c?r…
Added: trunk/reactos/dll/win32/msxml3/dispex.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/dispex.c?…
Added: trunk/reactos/dll/win32/msxml3/docfrag.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/docfrag.c…
Added: trunk/reactos/dll/win32/msxml3/domimpl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/domimpl.c…
Added: trunk/reactos/dll/win32/msxml3/entityref.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/entityref…
Added: trunk/reactos/dll/win32/msxml3/msxml3_v1.idl URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/msxml3_v1…
Added: trunk/reactos/dll/win32/msxml3/saxreader.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/saxreader…
16 years, 3 months
1
0
0
0
[cwittich] 36064: sync msxml3 to wine 1.1.3
by cwittich@svn.reactos.org
Author: cwittich Date: Mon Sep 8 11:51:03 2008 New Revision: 36064 URL:
http://svn.reactos.org/svn/reactos?rev=36064&view=rev
Log: sync msxml3 to wine 1.1.3 Modified: trunk/reactos/dll/win32/msxml3/attribute.c trunk/reactos/dll/win32/msxml3/comment.c trunk/reactos/dll/win32/msxml3/domdoc.c trunk/reactos/dll/win32/msxml3/element.c trunk/reactos/dll/win32/msxml3/factory.c trunk/reactos/dll/win32/msxml3/main.c trunk/reactos/dll/win32/msxml3/msxml3.rbuild trunk/reactos/dll/win32/msxml3/msxml_private.h trunk/reactos/dll/win32/msxml3/node.c trunk/reactos/dll/win32/msxml3/nodelist.c trunk/reactos/dll/win32/msxml3/nodemap.c trunk/reactos/dll/win32/msxml3/parseerror.c trunk/reactos/dll/win32/msxml3/pi.c trunk/reactos/dll/win32/msxml3/queryresult.c trunk/reactos/dll/win32/msxml3/regsvr.c trunk/reactos/dll/win32/msxml3/schema.c trunk/reactos/dll/win32/msxml3/text.c trunk/reactos/dll/win32/msxml3/xmldoc.c trunk/reactos/dll/win32/msxml3/xmlelem.c trunk/reactos/include/psdk/msxml2.idl trunk/reactos/include/psdk/msxml2did.h trunk/reactos/include/psdk/xmldom.idl trunk/reactos/include/psdk/xmldomdid.h [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/dll/win32/msxml3/attribute.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/attribute…
Modified: trunk/reactos/dll/win32/msxml3/comment.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/comment.c…
Modified: trunk/reactos/dll/win32/msxml3/domdoc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/domdoc.c?…
Modified: trunk/reactos/dll/win32/msxml3/element.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/element.c…
Modified: trunk/reactos/dll/win32/msxml3/factory.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/factory.c…
Modified: trunk/reactos/dll/win32/msxml3/main.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/main.c?re…
Modified: trunk/reactos/dll/win32/msxml3/msxml3.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/msxml3.rb…
Modified: trunk/reactos/dll/win32/msxml3/msxml_private.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/msxml_pri…
Modified: trunk/reactos/dll/win32/msxml3/node.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/node.c?re…
Modified: trunk/reactos/dll/win32/msxml3/nodelist.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/nodelist.…
Modified: trunk/reactos/dll/win32/msxml3/nodemap.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/nodemap.c…
Modified: trunk/reactos/dll/win32/msxml3/parseerror.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/parseerro…
Modified: trunk/reactos/dll/win32/msxml3/pi.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/pi.c?rev=…
Modified: trunk/reactos/dll/win32/msxml3/queryresult.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/queryresu…
Modified: trunk/reactos/dll/win32/msxml3/regsvr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/regsvr.c?…
Modified: trunk/reactos/dll/win32/msxml3/schema.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/schema.c?…
Modified: trunk/reactos/dll/win32/msxml3/text.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/text.c?re…
Modified: trunk/reactos/dll/win32/msxml3/xmldoc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/xmldoc.c?…
Modified: trunk/reactos/dll/win32/msxml3/xmlelem.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msxml3/xmlelem.c…
Modified: trunk/reactos/include/psdk/msxml2.idl URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/msxml2.idl?re…
Modified: trunk/reactos/include/psdk/msxml2did.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/msxml2did.h?r…
Modified: trunk/reactos/include/psdk/xmldom.idl URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/xmldom.idl?re…
Modified: trunk/reactos/include/psdk/xmldomdid.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/xmldomdid.h?r…
16 years, 3 months
1
0
0
0
[sginsberg] 36063: - Fix a missed set of the Parameter entry in ConvertThreadToFiberEx
by sginsberg@svn.reactos.org
Author: sginsberg Date: Mon Sep 8 11:44:13 2008 New Revision: 36063 URL:
http://svn.reactos.org/svn/reactos?rev=36063&view=rev
Log: - Fix a missed set of the Parameter entry in ConvertThreadToFiberEx Modified: trunk/reactos/dll/win32/kernel32/thread/fiber.c Modified: trunk/reactos/dll/win32/kernel32/thread/fiber.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/thread/…
============================================================================== --- trunk/reactos/dll/win32/kernel32/thread/fiber.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/thread/fiber.c [iso-8859-1] Mon Sep 8 11:44:13 2008 @@ -84,6 +84,7 @@ } /* copy some contextual data from the thread to the fiber */ + pfCurFiber->Parameter = lpParameter; pfCurFiber->ExceptionList = pTeb->Tib.ExceptionList; pfCurFiber->StackBase = pTeb->Tib.StackBase; pfCurFiber->StackLimit = pTeb->Tib.StackLimit;
16 years, 3 months
1
0
0
0
[sginsberg] 36062: - Move global variable declaration to .c file instead of a header. Hinted by Timo.
by sginsberg@svn.reactos.org
Author: sginsberg Date: Mon Sep 8 11:28:38 2008 New Revision: 36062 URL:
http://svn.reactos.org/svn/reactos?rev=36062&view=rev
Log: - Move global variable declaration to .c file instead of a header. Hinted by Timo. Modified: trunk/reactos/ntoskrnl/include/internal/mm.h trunk/reactos/ntoskrnl/mm/mm.c Modified: trunk/reactos/ntoskrnl/include/internal/mm.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
============================================================================== --- trunk/reactos/ntoskrnl/include/internal/mm.h [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/include/internal/mm.h [iso-8859-1] Mon Sep 8 11:28:38 2008 @@ -388,8 +388,6 @@ BOOLEAN Dirty ); -PMM_AVL_TABLE MmKernelAddressSpace; - /* marea.c *******************************************************************/ NTSTATUS Modified: trunk/reactos/ntoskrnl/mm/mm.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/mm.c?rev=36062…
============================================================================== --- trunk/reactos/ntoskrnl/mm/mm.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/mm.c [iso-8859-1] Mon Sep 8 11:28:38 2008 @@ -21,6 +21,8 @@ ULONG MmReadClusterSize; MM_STATS MmStats; + +PMM_AVL_TABLE MmKernelAddressSpace; /* FUNCTIONS ****************************************************************/
16 years, 3 months
1
0
0
0
[jmorlan] 36061: - Batch: In a line generated by a 'for', add the \n that the parser expects. (Bug 3717) - cmd_for: Don't leave raw_params uninitialized; could cause a crash in ExitBatch.
by jmorlan@svn.reactos.org
Author: jmorlan Date: Mon Sep 8 11:23:33 2008 New Revision: 36061 URL:
http://svn.reactos.org/svn/reactos?rev=36061&view=rev
Log: - Batch: In a line generated by a 'for', add the \n that the parser expects. (Bug 3717) - cmd_for: Don't leave raw_params uninitialized; could cause a crash in ExitBatch. Modified: trunk/reactos/base/shell/cmd/batch.c trunk/reactos/base/shell/cmd/for.c Modified: trunk/reactos/base/shell/cmd/batch.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/batch.c?rev…
============================================================================== --- trunk/reactos/base/shell/cmd/batch.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/cmd/batch.c [iso-8859-1] Mon Sep 8 11:23:33 2008 @@ -421,6 +421,7 @@ } } + *dp++ = _T('\n'); *dp = _T('\0'); return textline; Modified: trunk/reactos/base/shell/cmd/for.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/for.c?rev=3…
============================================================================== --- trunk/reactos/base/shell/cmd/for.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/cmd/for.c [iso-8859-1] Mon Sep 8 11:23:33 2008 @@ -130,6 +130,7 @@ bc->hBatchFile = INVALID_HANDLE_VALUE; bc->ffind = NULL; + bc->raw_params = NULL; bc->params = BatchParams (_T(""), param); /* Split out list */ bc->shiftlevel = 0; bc->forvar = var;
16 years, 3 months
1
0
0
0
[fireball] 36060: - Fix a typo.
by fireball@svn.reactos.org
Author: fireball Date: Mon Sep 8 11:01:19 2008 New Revision: 36060 URL:
http://svn.reactos.org/svn/reactos?rev=36060&view=rev
Log: - Fix a typo. Modified: trunk/reactos/include/ndk/mmtypes.h Modified: trunk/reactos/include/ndk/mmtypes.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/mmtypes.h?rev=…
============================================================================== --- trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] (original) +++ trunk/reactos/include/ndk/mmtypes.h [iso-8859-1] Mon Sep 8 11:01:19 2008 @@ -692,7 +692,7 @@ ULONG TrimHard:1; ULONG MaximumWorkingSetHard:1; ULONG ForceTrim:1; - ULONG MinimumworkingSetHard:1; + ULONG MinimumWorkingSetHard:1; ULONG Available0:1; ULONG MemoryPriority:8; ULONG GrowWsleHash:1;
16 years, 3 months
1
0
0
0
[sginsberg] 36059: - [FORMATTING] Fix broken indentation
by sginsberg@svn.reactos.org
Author: sginsberg Date: Mon Sep 8 09:46:28 2008 New Revision: 36059 URL:
http://svn.reactos.org/svn/reactos?rev=36059&view=rev
Log: - [FORMATTING] Fix broken indentation Modified: trunk/reactos/ntoskrnl/config/cmsysini.c Modified: trunk/reactos/ntoskrnl/config/cmsysini.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmsysini.c…
============================================================================== --- trunk/reactos/ntoskrnl/config/cmsysini.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/config/cmsysini.c [iso-8859-1] Mon Sep 8 09:46:28 2008 @@ -1341,11 +1341,11 @@ } /* Check if we had to allocate a new hive */ - if (CmpMachineHiveList[i].Allocate) + if (CmpMachineHiveList[i].Allocate) { /* Sync the new hive */ - //HvSyncHive((PHHIVE)(CmpMachineHiveList[i].CmHive2)); - } + //HvSyncHive((PHHIVE)(CmpMachineHiveList[i].CmHive2)); + } } /* Check if we created a new hive */
16 years, 3 months
1
0
0
0
[janderwald] 36058: - Implement INetLanConnectionUiInfo interface - Remove hack from ShowNetworkComponentProperties - Apply changes when OK / Cancel is pressed
by janderwald@svn.reactos.org
Author: janderwald Date: Mon Sep 8 09:19:33 2008 New Revision: 36058 URL:
http://svn.reactos.org/svn/reactos?rev=36058&view=rev
Log: - Implement INetLanConnectionUiInfo interface - Remove hack from ShowNetworkComponentProperties - Apply changes when OK / Cancel is pressed Modified: trunk/reactos/dll/win32/netshell/lanconnectui.c trunk/reactos/dll/win32/netshell/precomp.h trunk/reactos/dll/win32/netshell/shfldr_netconnect.c Modified: trunk/reactos/dll/win32/netshell/lanconnectui.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lanconn…
============================================================================== --- trunk/reactos/dll/win32/netshell/lanconnectui.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/lanconnectui.c [iso-8859-1] Mon Sep 8 09:19:33 2008 @@ -22,12 +22,19 @@ typedef struct { - INetConnectionPropertyUi *lpVtbl; + INetConnectionPropertyUi2 *lpVtbl; + INetLanConnectionUiInfo * lpLanConUiInfoVtbl; INetConnection * pCon; INetCfgLock *NCfgLock; INetCfg * pNCfg; + NETCON_PROPERTIES * pProperties; LONG ref; }INetConnectionPropertyUiImpl, *LPINetConnectionPropertyUiImpl; + +static LPINetConnectionPropertyUiImpl __inline impl_from_NetLanConnectionUiInfo(INetLanConnectionUiInfo *iface) +{ + return (LPINetConnectionPropertyUiImpl)((char *)iface - FIELD_OFFSET(INetConnectionPropertyUiImpl, lpLanConUiInfoVtbl)); +} HPROPSHEETPAGE InitializePropertySheetPage(LPWSTR resname, DLGPROC dlgproc, LPARAM lParam, LPWSTR szTitle) @@ -41,10 +48,10 @@ ppage.pfnDlgProc = dlgproc; ppage.lParam = lParam; ppage.hInstance = netshell_hInstance; - ppage.pszTitle = szTitle; if (szTitle) { ppage.dwFlags |= PSP_USETITLE; + ppage.pszTitle = szTitle; } return CreatePropertySheetPageW(&ppage); } @@ -64,23 +71,17 @@ } BOOL -GetINetCfgComponent(INetCfg * pNCfg, INetConnection * pNetCon, INetCfgComponent ** pOut) +GetINetCfgComponent(INetCfg * pNCfg, INetConnectionPropertyUiImpl * This, INetCfgComponent ** pOut) { LPWSTR pName; HRESULT hr; - NETCON_PROPERTIES* pProps; INetCfgComponent * pNCg; ULONG Fetched; IEnumNetCfgComponent * pEnumCfg; - hr = INetConnection_GetProperties(pNetCon, &pProps); - if (FAILED(hr)) - return FALSE; - hr = INetCfg_EnumComponents(pNCfg, &GUID_DEVCLASS_NET, &pEnumCfg); if (FAILED(hr)) { - NcFreeNetconProperties(pProps); return FALSE; } @@ -89,11 +90,10 @@ hr = INetCfgComponent_GetDisplayName(pNCg, &pName); if (SUCCEEDED(hr)) { - if (!wcsicmp(pName, pProps->pszwDeviceName)) + if (!wcsicmp(pName, This->pProperties->pszwDeviceName)) { *pOut = pNCg; IEnumNetCfgComponent_Release(pEnumCfg); - NcFreeNetconProperties(pProps); return TRUE; } CoTaskMemFree(pName); @@ -101,7 +101,6 @@ INetCfgComponent_Release(pNCg); } IEnumNetCfgComponent_Release(pEnumCfg); - NcFreeNetconProperties(pProps); return FALSE; } @@ -139,7 +138,7 @@ hr = INetCfgComponent_QueryInterface(pNCfgComp, &IID_INetCfgComponentBindings, (LPVOID*)&pCompBind); bChecked = FALSE; - if (GetINetCfgComponent(pNCfg, This->pCon, &pAdapterCfgComp)) + if (GetINetCfgComponent(pNCfg, This, &pAdapterCfgComp)) { hr = INetCfgComponentBindings_IsBoundTo(pCompBind, pAdapterCfgComp); if (hr == S_OK) @@ -175,21 +174,16 @@ LVCOLUMNW lc; RECT rc; DWORD dwStyle; - NETCON_PROPERTIES * pProperties; LPWSTR pDisplayName; LVITEMW li; - hr = INetConnection_GetProperties(This->pCon, &pProperties); - if (FAILED(hr)) - return; - - SendDlgItemMessageW(hwndDlg, IDC_NETCARDNAME, WM_SETTEXT, 0, (LPARAM)pProperties->pszwDeviceName); - if (pProperties->dwCharacter & NCCF_SHOW_ICON) + SendDlgItemMessageW(hwndDlg, IDC_NETCARDNAME, WM_SETTEXT, 0, (LPARAM)This->pProperties->pszwDeviceName); + if (This->pProperties->dwCharacter & NCCF_SHOW_ICON) { /* check show item on taskbar*/ SendDlgItemMessageW(hwndDlg, IDC_SHOWTASKBAR, BM_SETCHECK, BST_CHECKED, 0); } - if (pProperties->dwCharacter & NCCF_NOTIFY_DISCONNECTED) + if (This->pProperties->dwCharacter & NCCF_NOTIFY_DISCONNECTED) { /* check notify item */ SendDlgItemMessageW(hwndDlg, IDC_NOTIFYNOCONNECTION, BM_SETCHECK, BST_CHECKED, 0); @@ -252,33 +246,13 @@ HWND hDlgCtrl; UINT Index, Count; HRESULT hr; - INetConnectionPropertyUi * pConUI = NULL; INetCfgComponent * pNCfgComp; PNET_ITEM pItem; - WCHAR szBuffer[200]; hDlgCtrl = GetDlgItem(hwndDlg, IDC_COMPONENTSLIST); Count = ListView_GetItemCount(hDlgCtrl); if (!Count) return; - - - hr = CoCreateInstance(&CLSID_LANConnectUI, - NULL, - CLSCTX_INPROC_SERVER | CLSCTX_NO_CODE_DOWNLOAD, - &IID_INetConnectionPropertyUi, - (LPVOID)&pConUI); - - if (FAILED(hr)) - { - return; - } - hr = INetConnectionPropertyUi_SetConnection(pConUI, This->pCon); - if (FAILED(hr)) - { - INetConnectionPropertyUi_Release(pConUI); - return; - } ZeroMemory(&lvItem, sizeof(LVITEMW)); lvItem.mask = LVIF_PARAM | LVIF_STATE; @@ -295,24 +269,17 @@ if (!(lvItem.state & LVIS_SELECTED)) { - INetConnectionPropertyUi_Release(pConUI); return; } pItem = (PNET_ITEM)lvItem.lParam; pNCfgComp = (INetCfgComponent*) pItem->pNCfgComp; - hr = INetCfgComponent_RaisePropertyUi(pNCfgComp, GetParent(hwndDlg), NCRP_QUERY_PROPERTY_UI, (IUnknown*)pConUI); + hr = INetCfgComponent_RaisePropertyUi(pNCfgComp, GetParent(hwndDlg), NCRP_QUERY_PROPERTY_UI, (IUnknown*)This); if (SUCCEEDED(hr)) { - hr = INetCfgComponent_RaisePropertyUi(pNCfgComp, GetParent(hwndDlg), NCRP_SHOW_PROPERTY_UI, (IUnknown*)pConUI); - } - - swprintf(szBuffer, L"result %08x", hr); - MessageBoxW(NULL, szBuffer, NULL, MB_OK); - - INetConnectionPropertyUi_Release(pConUI); - + hr = INetCfgComponent_RaisePropertyUi(pNCfgComp, GetParent(hwndDlg), NCRP_SHOW_PROPERTY_UI, (IUnknown*)This); + } } @@ -330,6 +297,8 @@ LVITEMW li; PNET_ITEM pItem; INetConnectionPropertyUiImpl * This; + LPPSHNOTIFY lppsn; + HRESULT hr; switch(uMsg) { @@ -341,6 +310,33 @@ return TRUE; case WM_NOTIFY: lppl = (LPNMLISTVIEW) lParam; + lppsn = (LPPSHNOTIFY) lParam; + if (lppsn->hdr.code == PSN_APPLY) + { + This = (INetConnectionPropertyUiImpl*)GetWindowLongPtr(hwndDlg, DWLP_USER); + if (This->pNCfg) + { + hr = INetCfg_Apply(This->pNCfg); + if (SUCCEEDED(hr)) + return PSNRET_NOERROR; + else + return PSNRET_INVALID; + } + return PSNRET_NOERROR; + } + else if (lppsn->hdr.code == PSN_APPLY) + { + This = (INetConnectionPropertyUiImpl*)GetWindowLongPtr(hwndDlg, DWLP_USER); + if (This->pNCfg) + { + hr = INetCfg_Cancel(This->pNCfg); + if (SUCCEEDED(hr)) + return PSNRET_NOERROR; + else + return PSNRET_INVALID; + } + return PSNRET_NOERROR; + } if (lppl->hdr.code == LVN_ITEMCHANGING) { ZeroMemory(&li, sizeof(li)); @@ -385,30 +381,40 @@ static HRESULT WINAPI -INetConnectionPropertyUi_fnQueryInterface( - INetConnectionPropertyUi * iface, +INetConnectionPropertyUi2_fnQueryInterface( + INetConnectionPropertyUi2 * iface, REFIID iid, LPVOID * ppvObj) { + //LPOLESTR pStr; INetConnectionPropertyUiImpl * This = (INetConnectionPropertyUiImpl*)iface; *ppvObj = NULL; if (IsEqualIID (iid, &IID_IUnknown) || - IsEqualIID (iid, &IID_INetConnectionPropertyUi)) + IsEqualIID (iid, &IID_INetConnectionPropertyUi) || + IsEqualIID (iid, &IID_INetConnectionPropertyUi2)) { *ppvObj = This; IUnknown_AddRef(iface); return S_OK; } - + else if (IsEqualIID(iid, &IID_INetLanConnectionUiInfo)) + { + *ppvObj = &This->lpLanConUiInfoVtbl; + IUnknown_AddRef(iface); + return S_OK; + } + //StringFromCLSID(iid, &pStr); + //MessageBoxW(NULL, pStr, L"INetConnectionPropertyUi_fnQueryInterface", MB_OK); + //CoTaskMemFree(pStr); return E_NOINTERFACE; } static ULONG WINAPI -INetConnectionPropertyUi_fnAddRef( - INetConnectionPropertyUi * iface) +INetConnectionPropertyUi2_fnAddRef( + INetConnectionPropertyUi2 * iface) { INetConnectionPropertyUiImpl * This = (INetConnectionPropertyUiImpl*)iface; ULONG refCount = InterlockedIncrement(&This->ref); @@ -419,14 +425,17 @@ static ULONG WINAPI -INetConnectionPropertyUi_fnRelease( - INetConnectionPropertyUi * iface) +INetConnectionPropertyUi2_fnRelease( + INetConnectionPropertyUi2 * iface) { INetConnectionPropertyUiImpl * This = (INetConnectionPropertyUiImpl*)iface; ULONG refCount = InterlockedDecrement(&This->ref); if (!refCount) { + INetCfg_Release(This->pNCfg); + INetCfgLock_Release(This->NCfgLock); + NcFreeNetconProperties(This->pProperties); CoTaskMemFree (This); } return refCount; @@ -435,8 +444,8 @@ static HRESULT WINAPI -INetConnectionPropertyUi_fnSetConnection( - INetConnectionPropertyUi * iface, +INetConnectionPropertyUi2_fnSetConnection( + INetConnectionPropertyUi2 * iface, INetConnection *pCon) { INetConnectionPropertyUiImpl * This = (INetConnectionPropertyUiImpl*)iface; @@ -455,8 +464,8 @@ static HRESULT WINAPI -INetConnectionPropertyUi_fnAddPages( - INetConnectionPropertyUi * iface, +INetConnectionPropertyUi2_fnAddPages( + INetConnectionPropertyUi2 * iface, HWND hwndParent, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam) @@ -465,7 +474,6 @@ BOOL ret; HRESULT hr = E_FAIL; INITCOMMONCONTROLSEX initEx; - NETCON_PROPERTIES * pProperties; INetConnectionPropertyUiImpl * This = (INetConnectionPropertyUiImpl*)iface; @@ -474,11 +482,11 @@ if(!InitCommonControlsEx(&initEx)) return E_FAIL; - hr = INetConnection_GetProperties(This->pCon, &pProperties); + hr = INetConnection_GetProperties(This->pCon, &This->pProperties); if (FAILED(hr)) return hr; - hProp = InitializePropertySheetPage(MAKEINTRESOURCEW(IDD_NETPROPERTIES), LANPropertiesUIDlg, (LPARAM)This, pProperties->pszwName); + hProp = InitializePropertySheetPage(MAKEINTRESOURCEW(IDD_NETPROPERTIES), LANPropertiesUIDlg, (LPARAM)This, This->pProperties->pszwName); if (hProp) { ret = (*pfnAddPage)(hProp, lParam); @@ -488,19 +496,81 @@ } DestroyPropertySheetPage(hProp); } - //NcFreeNetconProperties(pProperties); return hr; } -static const INetConnectionPropertyUiVtbl vt_NetConnectionPropertyUi = -{ - INetConnectionPropertyUi_fnQueryInterface, - INetConnectionPropertyUi_fnAddRef, - INetConnectionPropertyUi_fnRelease, - INetConnectionPropertyUi_fnSetConnection, - INetConnectionPropertyUi_fnAddPages, +static +HRESULT +WINAPI +INetConnectionPropertyUi2_fnGetIcon( + INetConnectionPropertyUi2 * iface, + DWORD dwSize, + HICON *phIcon) +{ + return E_NOTIMPL; +} + +static const INetConnectionPropertyUi2Vtbl vt_NetConnectionPropertyUi = +{ + INetConnectionPropertyUi2_fnQueryInterface, + INetConnectionPropertyUi2_fnAddRef, + INetConnectionPropertyUi2_fnRelease, + INetConnectionPropertyUi2_fnSetConnection, + INetConnectionPropertyUi2_fnAddPages, + INetConnectionPropertyUi2_fnGetIcon, }; +static +HRESULT +STDCALL +INetLanConnectionUiInfo_fnQueryInterface( + INetLanConnectionUiInfo * iface, + REFIID iid, + LPVOID * ppvObj) +{ + INetConnectionPropertyUiImpl * This = impl_from_NetLanConnectionUiInfo(iface); + return INetConnectionPropertyUi_QueryInterface((INetConnectionPropertyUi*)This, iid, ppvObj); +} + +static +ULONG +STDCALL +INetLanConnectionUiInfo_fnAddRef( + INetLanConnectionUiInfo * iface) +{ + INetConnectionPropertyUiImpl * This = impl_from_NetLanConnectionUiInfo(iface); + return INetConnectionPropertyUi_AddRef((INetConnectionPropertyUi*)This); +} + +static +ULONG +STDCALL +INetLanConnectionUiInfo_fnRelease( + INetLanConnectionUiInfo * iface) +{ + INetConnectionPropertyUiImpl * This = impl_from_NetLanConnectionUiInfo(iface); + return INetConnectionPropertyUi_Release((INetConnectionPropertyUi*)This); +} + +static +HRESULT +STDCALL +INetLanConnectionUiInfo_fnGetDeviceGuid( + INetLanConnectionUiInfo * iface, + GUID * pGuid) +{ + INetConnectionPropertyUiImpl * This = impl_from_NetLanConnectionUiInfo(iface); + CopyMemory(pGuid, &This->pProperties->guidId, sizeof(GUID)); + return S_OK; +} + +static const INetLanConnectionUiInfoVtbl vt_NetLanConnectionUiInfo = +{ + INetLanConnectionUiInfo_fnQueryInterface, + INetLanConnectionUiInfo_fnAddRef, + INetLanConnectionUiInfo_fnRelease, + INetLanConnectionUiInfo_fnGetDeviceGuid, +}; HRESULT WINAPI LanConnectUI_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv) { INetConnectionPropertyUiImpl * This; @@ -518,9 +588,12 @@ This->ref = 1; This->pCon = NULL; This->pNCfg = NULL; - This->lpVtbl = (INetConnectionPropertyUi*)&vt_NetConnectionPropertyUi; - - if (!SUCCEEDED (INetConnectionPropertyUi_fnQueryInterface ((INetConnectionPropertyUi*)This, riid, ppv))) + This->NCfgLock = NULL; + This->pProperties = NULL; + This->lpVtbl = (INetConnectionPropertyUi2*)&vt_NetConnectionPropertyUi; + This->lpLanConUiInfoVtbl = (INetLanConnectionUiInfo*)&vt_NetLanConnectionUiInfo; + + if (!SUCCEEDED (INetConnectionPropertyUi2_fnQueryInterface ((INetConnectionPropertyUi2*)This, riid, ppv))) { IUnknown_Release((IUnknown*)This); return E_NOINTERFACE; Modified: trunk/reactos/dll/win32/netshell/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/precomp…
============================================================================== --- trunk/reactos/dll/win32/netshell/precomp.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/precomp.h [iso-8859-1] Mon Sep 8 09:19:33 2008 @@ -35,6 +35,7 @@ #include <netcon.h> #include <docobj.h> #include <netcfgx.h> +#include <netcfgn.h> #include "wine/debug.h" Modified: trunk/reactos/dll/win32/netshell/shfldr_netconnect.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/shfldr_…
============================================================================== --- trunk/reactos/dll/win32/netshell/shfldr_netconnect.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/shfldr_netconnect.c [iso-8859-1] Mon Sep 8 09:19:33 2008 @@ -794,9 +794,10 @@ hr = INetConnectionPropertyUi_SetConnection(pNCP, val->pItem); if (SUCCEEDED(hr)) { - memset(&pinfo, 0x0, sizeof(PROPSHEETHEADERW)); + ZeroMemory(&pinfo, sizeof(PROPSHEETHEADERW)); + ZeroMemory(hppages, sizeof(hppages)); pinfo.dwSize = sizeof(PROPSHEETHEADERW); - pinfo.dwFlags = PSH_NOCONTEXTHELP | PSH_PROPTITLE; + pinfo.dwFlags = PSH_NOCONTEXTHELP | PSH_PROPTITLE | PSH_NOAPPLYNOW; pinfo.u3.phpage = hppages; pinfo.pszCaption = pProperties->pszwName;
16 years, 3 months
1
0
0
0
[janderwald] 36057: - Add IIDs of INetLanConnectionUiInfo, INetConnectionPropertyUi2 interface
by janderwald@svn.reactos.org
Author: janderwald Date: Mon Sep 8 09:14:04 2008 New Revision: 36057 URL:
http://svn.reactos.org/svn/reactos?rev=36057&view=rev
Log: - Add IIDs of INetLanConnectionUiInfo, INetConnectionPropertyUi2 interface Modified: trunk/reactos/lib/sdk/uuid/uuid.c Modified: trunk/reactos/lib/sdk/uuid/uuid.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/uuid/uuid.c?rev=36…
============================================================================== --- trunk/reactos/lib/sdk/uuid/uuid.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/uuid/uuid.c [iso-8859-1] Mon Sep 8 09:14:04 2008 @@ -89,7 +89,7 @@ #if 0 /* FIXME */ #include "control.h" #endif - + /* GUIDs not declared in an exported header file */ DEFINE_GUID(IID_IDirectPlaySP, 0x0c9f6360,0xcc61,0x11cf,0xac,0xec,0x00,0xaa,0x00,0x68,0x86,0xe3); DEFINE_GUID(IID_ISFHelper, 0x1fe68efb,0x1874,0x9812,0x56,0xdc,0x00,0x00,0x00,0x00,0x00,0x00); @@ -100,11 +100,13 @@ DEFINE_GUID(IID_INetConnection, 0xC08956A1,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetConnectionManager, 0xC08956A2,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetConnectionPropertyUi, 0xC08956A4,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); +DEFINE_GUID(IID_INetLanConnectionUiInfo, 0xC08956A6,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_IEnumNetCfgComponent, 0xC0E8AE92,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetCfg, 0xC0E8AE93,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetCfgComponent, 0xC0E8AE99,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetCfgComponentBindings, 0xC0E8AE9E,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(IID_INetCfgLock, 0xC0E8AE9F,0x306E,0x11D1,0xAA,0xCF,0x00,0x80,0x5F,0xC1,0x27,0x0E); +DEFINE_GUID(IID_INetConnectionPropertyUi2, 0xC08956B9,0x1CD3,0x11D1,0xB1,0xC5,0x00,0x80,0x5F,0xC1,0x27,0x0E); DEFINE_GUID(FMTID_SummaryInformation,0xF29F85E0,0x4FF9,0x1068,0xAB,0x91,0x08,0x00,0x2B,0x27,0xB3,0xD9);
16 years, 3 months
1
0
0
0
[janderwald] 36056: - Add INetLanConnectionUiInfo, INetConnectionPropertyUi2 interface
by janderwald@svn.reactos.org
Author: janderwald Date: Mon Sep 8 09:13:23 2008 New Revision: 36056 URL:
http://svn.reactos.org/svn/reactos?rev=36056&view=rev
Log: - Add INetLanConnectionUiInfo, INetConnectionPropertyUi2 interface Added: trunk/reactos/include/psdk/netcfgn.h (with props) Modified: trunk/reactos/include/psdk/netcon.h Added: trunk/reactos/include/psdk/netcfgn.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/netcfgn.h?rev…
============================================================================== --- trunk/reactos/include/psdk/netcfgn.h (added) +++ trunk/reactos/include/psdk/netcfgn.h [iso-8859-1] Mon Sep 8 09:13:23 2008 @@ -1,0 +1,25 @@ +#ifndef _NETCFGN_H__ +#define _NETCFGN_H__ + +#undef INTERFACE +#define INTERFACE INetLanConnectionUiInfo +DECLARE_INTERFACE_(INetLanConnectionUiInfo, IUnknown) +{ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + STDMETHOD_(HRESULT,GetDeviceGuid)(THIS_ GUID *pguid) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +/*** IUnknown methods ***/ +#define INetLanConnectionUiInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define INetLanConnectionUiInfo_AddRef(p) (p)->lpVtbl->AddRef(p) +#define INetLanConnectionUiInfo_Release(p) (p)->lpVtbl->Release(p) +#define INetLanConnectionUiInfo_GetDeviceGuid(p,a) (p)->lpVtbl->GetDeviceGuid(p,a) +#endif + +EXTERN_C const IID IID_INetLanConnectionUiInfo; + +#endif Propchange: trunk/reactos/include/psdk/netcfgn.h ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/include/psdk/netcon.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/netcon.h?rev=…
============================================================================== --- trunk/reactos/include/psdk/netcon.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/netcon.h [iso-8859-1] Mon Sep 8 09:13:23 2008 @@ -192,6 +192,32 @@ EXTERN_C const IID IID_INetConnectionPropertyUi; +#undef INTERFACE +#define INTERFACE INetConnectionPropertyUi2 +DECLARE_INTERFACE_(INetConnectionPropertyUi2, IUnknown) +{ + STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void **ppv) PURE; + STDMETHOD_(ULONG,AddRef)(THIS) PURE; + STDMETHOD_(ULONG,Release) (THIS) PURE; + STDMETHOD_(HRESULT, SetConnection) (THIS_ INetConnection *pCon) PURE; + STDMETHOD_(HRESULT, AddPages) (THIS_ HWND hwndParent, LPFNADDPROPSHEETPAGE pfnAddPage, LPARAM lParam) PURE; + STDMETHOD_(HRESULT, GetIcon) (THIS_ DWORD dwSize, HICON *phIcon) PURE; +}; +#undef INTERFACE + +#if !defined(__cplusplus) || defined(CINTERFACE) +#define INetConnectionPropertyUi2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) +#define INetConnectionPropertyUi2_AddRef(p) (p)->lpVtbl->AddRef(p) +#define INetConnectionPropertyUi2_Release(p) (p)->lpVtbl->Release(p) +#define INetConnectionPropertyUi2_SetConnection(p,a) (p)->lpVtbl->SetConnection(p,a) +#define INetConnectionPropertyUi2_AddPages(p,a,b,c) (p)->lpVtbl->AddPages(p,a,b,c) +#define INetConnectionPropertyUi2_GetIcon(p,a,b) (p)->lpVtbl->GetIcon(p,a,b) +#endif + + +EXTERN_C const IID IID_INetConnectionPropertyUi2; + + VOID STDCALL NcFreeNetconProperties (NETCON_PROPERTIES* pProps); #endif
16 years, 3 months
1
0
0
0
← Newer
1
...
51
52
53
54
55
56
57
...
75
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
Results per page:
10
25
50
100
200