Author: hbelusca Date: Wed Nov 7 22:08:38 2012 New Revision: 57688 URL: http://svn.reactos.org/svn/reactos?rev=57688&view=rev Log: [BASESRV] - Comment some code and correct the DllMain prototype. No functional changes though.
Modified: branches/ros-csrss/subsystems/win/basesrv/init.c Modified: branches/ros-csrss/subsystems/win/basesrv/init.c URL: http://svn.reactos.org/svn/reactos/branches/ros-csrss/subsystems/win/basesrv/init.c?rev=57688&r1=57687&r2=57688&view=diff ============================================================================== --- branches/ros-csrss/subsystems/win/basesrv/init.c [iso-8859-1] (original) +++ branches/ros-csrss/subsystems/win/basesrv/init.c [iso-8859-1] Wed Nov 7 22:08:38 2012 @@ -506,7 +506,7 @@ LoadedServerDll->SharedSection = BaseStaticServerData; } - +/* VOID WINAPI BaseStaticServerThread(PVOID x) { // NTSTATUS Status = STATUS_SUCCESS; @@ -523,11 +523,11 @@ { default: Reply = Request; - /* Status =*/ NtReplyPort(BaseApiPort, Reply); + /\* Status =*\/ NtReplyPort(BaseApiPort, Reply); break; } } - +*/ CSR_SERVER_DLL_INIT(ServerDllInitialization) { @@ -565,7 +565,7 @@ BOOL NTAPI -DllMain(IN HANDLE hDll, +DllMain(IN HINSTANCE hInstanceDll, IN DWORD dwReason, IN LPVOID lpReserved) { @@ -574,7 +574,7 @@ if (DLL_PROCESS_ATTACH == dwReason) { - DllHandle = hDll; + DllHandle = hInstanceDll; } else if (DLL_PROCESS_DETACH == dwReason) {