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
700 B

  1. /*
  2. * PolRef.h
  3. *
  4. * Author: BreenH
  5. *
  6. * Private header for the policy reference list.
  7. */
  8. #ifndef __POLLIST_H__
  9. #define __POLLIST_H__
  10. /*
  11. * Typedefs
  12. */
  13. typedef struct {
  14. LIST_ENTRY ListEntry;
  15. CPolicy *pPolicy;
  16. } LCPOLICYREF, *LPLCPOLICYREF;
  17. /*
  18. * Function Prototypes
  19. */
  20. NTSTATUS
  21. PolicyListAdd(
  22. CPolicy *pPolicy
  23. );
  24. VOID
  25. PolicyListDelete(
  26. ULONG ulPolicyId
  27. );
  28. NTSTATUS
  29. PolicyListEnumerateIds(
  30. PULONG *ppulPolicyIds,
  31. PULONG pcPolicies
  32. );
  33. CPolicy *
  34. PolicyListFindById(
  35. ULONG ulPolicyId
  36. );
  37. CPolicy *
  38. PolicyListPop(
  39. VOID
  40. );
  41. NTSTATUS
  42. PolicyListInitialize(
  43. VOID
  44. );
  45. #endif