[BASESRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 7 Nov 2012 22:08:38 +0000 (22:08 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 7 Nov 2012 22:08:38 +0000 (22:08 +0000)
- Comment some code and correct the DllMain prototype. No functional changes though.

svn path=/branches/ros-csrss/; revision=57688

subsystems/win/basesrv/init.c

index 3f972bd..16b3331 100644 (file)
@@ -506,7 +506,7 @@ BaseInitializeStaticServerData(IN PCSR_SERVER_DLL LoadedServerDll)
     LoadedServerDll->SharedSection = BaseStaticServerData;
 }
 
-
+/*
 VOID WINAPI BaseStaticServerThread(PVOID x)
 {
     // NTSTATUS Status = STATUS_SUCCESS;
@@ -523,11 +523,11 @@ VOID WINAPI BaseStaticServerThread(PVOID x)
     {
         default:
             Reply = Request;
-            /* Status =*/ NtReplyPort(BaseApiPort, Reply);
+            /\* Status =*\/ NtReplyPort(BaseApiPort, Reply);
             break;
     }
 }
-
+*/
 
 CSR_SERVER_DLL_INIT(ServerDllInitialization)
 {
@@ -565,7 +565,7 @@ CSR_SERVER_DLL_INIT(ServerDllInitialization)
 
 BOOL
 NTAPI
-DllMain(IN HANDLE hDll,
+DllMain(IN HINSTANCE hInstanceDll,
         IN DWORD dwReason,
         IN LPVOID lpReserved)
 {
@@ -574,7 +574,7 @@ DllMain(IN HANDLE hDll,
 
     if (DLL_PROCESS_ATTACH == dwReason)
     {
-        DllHandle = hDll;
+        DllHandle = hInstanceDll;
     }
     else if (DLL_PROCESS_DETACH == dwReason)
     {