mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
Remove "_" decoration from module entries, since MSVC doesn't need them
svn path=/trunk/; revision=22396
This commit is contained in:
parent
28ab213634
commit
8f8e389d3e
1 changed files with 7 additions and 7 deletions
|
@ -823,23 +823,23 @@ Module::GetDefaultModuleEntrypoint () const
|
|||
switch ( type )
|
||||
{
|
||||
case Kernel:
|
||||
return "_NtProcessStartup";
|
||||
return "NtProcessStartup";
|
||||
case KernelModeDLL:
|
||||
case KernelModeDriver:
|
||||
case ExportDriver:
|
||||
return "_DriverEntry@8";
|
||||
return "DriverEntry@8";
|
||||
case NativeDLL:
|
||||
return "_DllMainCRTStartup@12";
|
||||
return "DllMainCRTStartup@12";
|
||||
case NativeCUI:
|
||||
return "_NtProcessStartup@4";
|
||||
return "NtProcessStartup@4";
|
||||
case Win32DLL:
|
||||
return "_DllMain@12";
|
||||
return "DllMain@12";
|
||||
case Win32CUI:
|
||||
case Test:
|
||||
if ( isUnicode )
|
||||
return "_wmainCRTStartup";
|
||||
return "wmainCRTStartup";
|
||||
else
|
||||
return "_mainCRTStartup";
|
||||
return "mainCRTStartup";
|
||||
case Win32SCR:
|
||||
case Win32GUI:
|
||||
if ( isUnicode )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue