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.

63 lines
758 B

  1. /*
  2. * Pts.cpp
  3. *
  4. * Author: BreenH
  5. *
  6. * A dummy licensing policy for Personal TS.
  7. */
  8. /*
  9. * Includes
  10. */
  11. #include "precomp.h"
  12. #include "lscore.h"
  13. #include "session.h"
  14. #include "pts.h"
  15. /*
  16. * Class Implementation
  17. */
  18. /*
  19. * Creation Functions
  20. */
  21. CPtsPolicy::CPtsPolicy(
  22. ) : CPolicy()
  23. {
  24. }
  25. CPtsPolicy::~CPtsPolicy(
  26. )
  27. {
  28. }
  29. /*
  30. * Administrative Functions
  31. */
  32. ULONG
  33. CPtsPolicy::GetFlags(
  34. )
  35. {
  36. return(LC_FLAG_INTERNAL_POLICY | LC_FLAG_LIMITED_INIT_ONLY);
  37. }
  38. ULONG
  39. CPtsPolicy::GetId(
  40. )
  41. {
  42. return(0);
  43. }
  44. NTSTATUS
  45. CPtsPolicy::GetInformation(
  46. LPLCPOLICYINFOGENERIC lpPolicyInfo
  47. )
  48. {
  49. UNREFERENCED_PARAMETER(lpPolicyInfo);
  50. return(STATUS_NOT_SUPPORTED);
  51. }