Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
491 B

4 years ago
  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. NullSrv.c
  5. Abstract:
  6. Author:
  7. Mark Lucovsky (markl) 04-Oct-1989
  8. Revision History:
  9. --*/
  10. #include "nullsrvp.h"
  11. void
  12. main(
  13. int argc,
  14. char *argv[],
  15. char *envp[],
  16. ULONG DebugParameter OPTIONAL
  17. )
  18. {
  19. NTSTATUS Status;
  20. Status = NullSrvInit();
  21. if (!NT_SUCCESS( Status )) {
  22. NtTerminateProcess( NtCurrentProcess(), Status );
  23. }
  24. NtTerminateThread( NtCurrentThread(), Status );
  25. }