mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[BASESRV]
- Comment some code and correct the DllMain prototype. No functional changes though. svn path=/branches/ros-csrss/; revision=57688
This commit is contained in:
parent
df87a091d1
commit
b5dc23b4a0
1 changed files with 5 additions and 5 deletions
|
@ -506,7 +506,7 @@ BaseInitializeStaticServerData(IN PCSR_SERVER_DLL LoadedServerDll)
|
||||||
LoadedServerDll->SharedSection = BaseStaticServerData;
|
LoadedServerDll->SharedSection = BaseStaticServerData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
VOID WINAPI BaseStaticServerThread(PVOID x)
|
VOID WINAPI BaseStaticServerThread(PVOID x)
|
||||||
{
|
{
|
||||||
// NTSTATUS Status = STATUS_SUCCESS;
|
// NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
@ -523,11 +523,11 @@ VOID WINAPI BaseStaticServerThread(PVOID x)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
Reply = Request;
|
Reply = Request;
|
||||||
/* Status =*/ NtReplyPort(BaseApiPort, Reply);
|
/\* Status =*\/ NtReplyPort(BaseApiPort, Reply);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
CSR_SERVER_DLL_INIT(ServerDllInitialization)
|
CSR_SERVER_DLL_INIT(ServerDllInitialization)
|
||||||
{
|
{
|
||||||
|
@ -565,7 +565,7 @@ CSR_SERVER_DLL_INIT(ServerDllInitialization)
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
NTAPI
|
NTAPI
|
||||||
DllMain(IN HANDLE hDll,
|
DllMain(IN HINSTANCE hInstanceDll,
|
||||||
IN DWORD dwReason,
|
IN DWORD dwReason,
|
||||||
IN LPVOID lpReserved)
|
IN LPVOID lpReserved)
|
||||||
{
|
{
|
||||||
|
@ -574,7 +574,7 @@ DllMain(IN HANDLE hDll,
|
||||||
|
|
||||||
if (DLL_PROCESS_ATTACH == dwReason)
|
if (DLL_PROCESS_ATTACH == dwReason)
|
||||||
{
|
{
|
||||||
DllHandle = hDll;
|
DllHandle = hInstanceDll;
|
||||||
}
|
}
|
||||||
else if (DLL_PROCESS_DETACH == dwReason)
|
else if (DLL_PROCESS_DETACH == dwReason)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue