Source code of Windows XP (NT5)
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.

57 lines
790 B

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. utsertl.c
  5. Abstract:
  6. Security component user-mode test.
  7. Test security RTL routines from user mode.
  8. Author:
  9. Jim Kelly (JimK) 13-Apr-1990
  10. Revision History:
  11. --*/
  12. #include <nt.h>
  13. #include <ntrtl.h>
  14. #include <nturtl.h>
  15. #define _TST_USER_ // User mode test
  16. #include "tsevars.c" // Common test variables
  17. #include "ctsertl.c" // Common RTL test routines
  18. BOOLEAN
  19. turtl()
  20. {
  21. BOOLEAN Result;
  22. DbgPrint("Se: Start User Mode RTL Test...\n");
  23. Result = TestSeRtl();
  24. if (!Result) {
  25. DbgPrint("Se: ** User Mode RTL Test Failed **\n");
  26. }
  27. DbgPrint("Se: End User Mode RTL Test.\n");
  28. return Result;
  29. }
  30. NTSTATUS
  31. __cdecl
  32. main()
  33. {
  34. turtl();
  35. return STATUS_SUCCESS;
  36. }