mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
[CSRSRV]
- don't hack the dll entry point name. Patch by Thomas Faber svn path=/trunk/; revision=53038
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user