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.

55 lines
1.2 KiB

  1. /*
  2. * privlist.h
  3. *
  4. * Copyright (c) 1993 by DataBeam Corporation, Lexington, KY
  5. *
  6. * Abstract:
  7. * This is the header file for the class PrivilegeListData.
  8. *
  9. * Caveats:
  10. * None.
  11. *
  12. * Author:
  13. * blp/jbo
  14. */
  15. #ifndef _PRIVILEGE_LIST_DATA_
  16. #define _PRIVILEGE_LIST_DATA_
  17. typedef enum
  18. {
  19. TERMINATE_PRIVILEGE,
  20. EJECT_USER_PRIVILEGE,
  21. ADD_PRIVILEGE,
  22. LOCK_UNLOCK_PRIVILEGE,
  23. TRANSFER_PRIVILEGE
  24. } ConferencePrivilegeType;
  25. typedef ConferencePrivilegeType * PConferencePrivilegeType;
  26. class PrivilegeListData;
  27. typedef PrivilegeListData * PPrivilegeListData;
  28. class PrivilegeListData
  29. {
  30. public:
  31. PrivilegeListData(PGCCConferencePrivileges);
  32. PrivilegeListData(PSetOfPrivileges);
  33. ~PrivilegeListData(void);
  34. PGCCConferencePrivileges GetPrivilegeListData(void) { return &Privilege_List; }
  35. void GetPrivilegeListData(PGCCConferencePrivileges *pp) { *pp = &Privilege_List; }
  36. GCCError GetPrivilegeListPDU(PSetOfPrivileges *);
  37. void FreePrivilegeListPDU(PSetOfPrivileges);
  38. BOOL IsPrivilegeAvailable(ConferencePrivilegeType);
  39. protected:
  40. GCCConferencePrivileges Privilege_List;
  41. BOOL Privilege_List_Free_Flag;
  42. };
  43. typedef PrivilegeListData * PPrivilegeListData;
  44. #endif