Leaked source code of windows server 2003
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
766 B

  1. /*++
  2. Copyright (c) 1989 Microsoft Corporation
  3. Module Name:
  4. uttoken.c
  5. Abstract:
  6. Security component user-mode test.
  7. Token Object test from user mode.
  8. Author:
  9. Jim Kelly (JimK) 27-June-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 "cttoken.c" // Common accessibility test routines
  18. BOOLEAN
  19. Test()
  20. {
  21. BOOLEAN Result = TRUE;
  22. DbgPrint("Se: Start User Mode Token Object Test...\n");
  23. Result = CTToken();
  24. DbgPrint("Se: End User Mode Token Object Test.\n");
  25. return Result;
  26. }
  27. BOOLEAN
  28. __cdecl
  29. main()
  30. {
  31. return Test();
  32. }