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.

95 lines
1.1 KiB

  1. /*
  2. * Concurrent.h
  3. *
  4. * Author: RashmiP
  5. *
  6. * The Per User licensing policy.
  7. */
  8. #ifndef __LC_PerUser_H__
  9. #define __LC_PerUser_H__
  10. /*
  11. * Includes
  12. */
  13. #include "policy.h"
  14. /*
  15. * Class Definition
  16. */
  17. class CPerUserPolicy : public CPolicy
  18. {
  19. public:
  20. /*
  21. * Creation Functions
  22. */
  23. CPerUserPolicy(
  24. );
  25. ~CPerUserPolicy(
  26. );
  27. /*
  28. * Administrative Functions
  29. */
  30. ULONG
  31. GetFlags(
  32. );
  33. ULONG
  34. GetId(
  35. );
  36. NTSTATUS
  37. GetInformation(
  38. LPLCPOLICYINFOGENERIC lpPolicyInfo
  39. );
  40. /*
  41. * Loading and Activation Functions
  42. */
  43. NTSTATUS
  44. Activate(
  45. BOOL fStartup,
  46. ULONG *pulAlternatePolicy
  47. );
  48. NTSTATUS
  49. Deactivate(
  50. BOOL fShutdown
  51. );
  52. /*
  53. * Licensing Functions
  54. */
  55. NTSTATUS
  56. Logon(
  57. CSession& Session
  58. );
  59. NTSTATUS
  60. Reconnect(
  61. CSession& Session,
  62. CSession& TemporarySession
  63. );
  64. /*
  65. * Private License Functions
  66. */
  67. private:
  68. };
  69. #endif