Ivan Leo Puoti a écrit :
As NtTerminateProcess alredy exists in ntdll, there's no reason to call wineserver directly.
Ivan.
I don't see why you need to return something. If NtTerminateProcess() fails, then just call exit(status). A+
Eric Pouech wrote:
I don't see why you need to return something. If NtTerminateProcess() fails, then just call exit(status).
More importantls a function declared as void shoulnd't ever return anything, I'll send a new patch.
Ivan.