mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix startup code for native NT processes.
smss, autocheck, csrss use new startup code. svn path=/trunk/; revision=18366
This commit is contained in:
parent
320979be58
commit
7ab6a27574
2 changed files with 8 additions and 4 deletions
|
@ -67,8 +67,11 @@ PrintString(char* fmt,...)
|
|||
|
||||
/* Native image's entry point */
|
||||
|
||||
VOID STDCALL
|
||||
NtProcessStartup(PPEB Peb)
|
||||
int _cdecl
|
||||
_main(int argc,
|
||||
char *argv[],
|
||||
char *envp[],
|
||||
int DebugFlag)
|
||||
{
|
||||
PROCESS_DEVICEMAP_INFORMATION DeviceMap;
|
||||
ULONG i;
|
||||
|
@ -93,9 +96,9 @@ NtProcessStartup(PPEB Peb)
|
|||
}
|
||||
}
|
||||
PrintString("\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
NtTerminateProcess(NtCurrentProcess(), 0);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<include base="autochk">.</include>
|
||||
<define name="__USE_W32API" />
|
||||
<define name="_DISABLE_TIDENTS" />
|
||||
<library>nt</library>
|
||||
<library>ntdll</library>
|
||||
<file>autochk.c</file>
|
||||
<file>autochk.rc</file>
|
||||
|
|
Loading…
Reference in a new issue