the prototype of LdrShutdownProcess in ntldr.h and in ReactOS shows this API as returning an NTSTATUS.
Inspection of the assembly code (disassembly of ntdll) shows that LdrShutdownProcess returns nothing (void). The prototype found at ntinternals
http://undocumented.ntinternals.net/ind ... ocess.html
is correct (though, it says that it is called by kernel32 which is no longer the case. It is called by ntdll's RtlExitUserProcess)
Exactly the same applies to LdrShutdownThread