- Don't name-decorate the entrypoint. This lets msvc link the module properly and...
[reactos.git] / reactos / tools / rbuild / module.cpp
index 69d577f..ab0863b 100644 (file)
@@ -817,7 +817,7 @@ Module::GetDefaultModuleEntrypoint () const
                case Kernel:
                        return "_NtProcessStartup";
                case KernelModeDLL:
-                       return "_DriverEntry@8";
+                       return "DriverEntry";
                case NativeDLL:
                        return "_DllMainCRTStartup@12";
                case NativeCUI:
@@ -836,7 +836,7 @@ Module::GetDefaultModuleEntrypoint () const
                        else
                                return "_WinMainCRTStartup";
                case KernelModeDriver:
-                       return "_DriverEntry@8";
+                       return "DriverEntry";
                case BuildTool:
                case StaticLibrary:
                case ObjectLibrary: