- don't hack the dll entry point name. Patch by Thomas Faber

svn path=/trunk/; revision=53038
This commit is contained in:
Olaf Siejka
2011-08-02 22:54:30 +00:00
parent b0f4c80bdd
commit ca2dc10f1b
3 changed files with 4 additions and 9 deletions
@@ -19,11 +19,6 @@ target_link_libraries(csrsrv ${PSEH_LIB})
set_module_type(csrsrv nativedll)
if(MSVC)
set_entrypoint(csrsrv DllMainCRTStartup)
endif()
add_importlibs(csrsrv ntdll smdll)
add_pch(csrsrv srv.h)
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="csrsrv" type="nativedll" installbase="system32" installname="csrsrv.dll">
<module name="csrsrv" type="nativedll" entrypoint="DllMain@12" installbase="system32" installname="csrsrv.dll">
<importlibrary definition="csrsrv.spec" />
<include base="csrsrv">.</include>
<include base="csrss">.</include>
+3 -3
View File
@@ -778,9 +778,9 @@ CsrServerInitialization(ULONG ArgumentCount,
BOOL
NTAPI
DllMainCRTStartup(HANDLE hDll,
DWORD dwReason,
LPVOID lpReserved)
DllMain(HANDLE hDll,
DWORD dwReason,
LPVOID lpReserved)
{
/* We don't do much */
UNREFERENCED_PARAMETER(hDll);