[ros-diffs] [pschweitzer] 35731: Sorry, I committed stuff I shouldn't

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Thu Aug 28 13:55:36 CEST 2008


Author: pschweitzer
Date: Thu Aug 28 06:55:35 2008
New Revision: 35731

URL: http://svn.reactos.org/svn/reactos?rev=35731&view=rev
Log:
Sorry, I committed stuff I shouldn't

Modified:
    trunk/reactos/dll/win32/netshell/netshell.c

Modified: trunk/reactos/dll/win32/netshell/netshell.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/netshell.c?rev=35731&r1=35730&r2=35731&view=diff
==============================================================================
--- trunk/reactos/dll/win32/netshell/netshell.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netshell/netshell.c [iso-8859-1] Thu Aug 28 06:55:35 2008
@@ -47,8 +47,6 @@
     return S_FALSE;
 }
 
-//#define CHECKPOINT1 ERR("\n");
-
 STDAPI
 DllRegisterServer(void)
 {
@@ -57,12 +55,8 @@
     WCHAR szNet[20];
     UINT Length, Offset;
 
-    //CHECKPOINT1;
-
     if (RegCreateKeyExW(HKEY_CLASSES_ROOT, szNetConnectClass, 0, NULL, 0, KEY_WRITE, NULL, &hKey, NULL) != ERROR_SUCCESS)
         return SELFREG_E_CLASS;
-
-    //CHECKPOINT1;
 
     if (LoadStringW(netshell_hInstance, IDS_NETWORKCONNECTION, szName, MAX_PATH))
     {
@@ -70,15 +64,11 @@
         RegSetValueW(hKey, NULL, REG_SZ, szName, (wcslen(szName)+1) * sizeof(WCHAR));
     }
 
-    //CHECKPOINT1;
-
     if (RegCreateKeyExW(HKEY_LOCAL_MACHINE, szNamespaceKey, 0, NULL, 0, KEY_WRITE, NULL, &hSubKey, NULL) == ERROR_SUCCESS)
     {
         RegSetValueW(hSubKey, NULL, REG_SZ, szName, (wcslen(szName)+1) * sizeof(WCHAR));
         RegCloseKey(hSubKey);
     }
-
-    //CHECKPOINT1;
 
     Length = swprintf(szNet, L",-%u", IDS_NETWORKCONNECTION);
     Offset = GetModuleFileNameW(netshell_hInstance, &szName[1], MAX_PATH);
@@ -90,12 +80,7 @@
         RegSetValueExW(hKey, L"LocalizedString", 0, REG_SZ, (const LPBYTE)szName, (wcslen(szName)+1) * sizeof(WCHAR));
     }
 
-
-    //CHECKPOINT1;
-
     szName[Offset+1] = L'\0';
-
-    //CHECKPOINT1;
 
     /* store default icon */
     if (RegCreateKeyExW(hKey, L"DefaultIcon", 0, NULL, 0, KEY_WRITE, NULL, &hSubKey, NULL) == ERROR_SUCCESS)
@@ -103,23 +88,17 @@
         RegSetValueW(hSubKey, NULL, REG_SZ, &szName[1], (Offset+1) * sizeof(WCHAR));
         RegCloseKey(hSubKey);
     }
-    //CHECKPOINT1;
     if (RegCreateKeyExW(hKey, L"InProcServer32", 0, NULL, 0, KEY_WRITE, NULL, &hSubKey, NULL) == ERROR_SUCCESS)
     {
         RegSetValueW(hSubKey, NULL, REG_SZ, &szName[1], (Offset+1) * sizeof(WCHAR));
         RegCloseKey(hSubKey);
     }
 
-
-    //CHECKPOINT1;
-
     if (RegCreateKeyExW(hKey, L"ShellFolder", 0, NULL, 0, KEY_WRITE, NULL, &hSubKey, NULL) == ERROR_SUCCESS)
     {
         DWORD dwAttributes = SFGAO_FOLDER;
         RegSetValueExW(hSubKey, L"Attributes",0, REG_BINARY, (const LPBYTE)&dwAttributes, sizeof(DWORD));
     }
-
-    //CHECKPOINT1;
 
     return S_OK;
 }



More information about the Ros-diffs mailing list