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.

118 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. scemm.h
  5. Abstract:
  6. This module defines the data structures and function prototypes
  7. shared by both SCE client and SCE server
  8. Author:
  9. Jin Huang (jinhuang) 23-Jan-1998
  10. Revision History:
  11. jinhuang (splitted from scep.h)
  12. --*/
  13. #ifndef _scemm_
  14. #define _scemm_
  15. HLOCAL
  16. ScepAlloc(
  17. IN UINT uFlags,
  18. IN UINT uBytes
  19. );
  20. VOID
  21. ScepFree(
  22. HLOCAL pToFree
  23. );
  24. PVOID
  25. MIDL_user_allocate (
  26. unsigned int NumBytes
  27. );
  28. VOID
  29. MIDL_user_free (
  30. void *MemPointer
  31. );
  32. SCESTATUS
  33. ScepFreeErrorLog(
  34. IN PSCE_ERROR_LOG_INFO Errlog
  35. );
  36. SCESTATUS
  37. ScepFreeNameList(
  38. IN PSCE_NAME_LIST pName
  39. );
  40. SCESTATUS
  41. ScepFreeRegistryValues(
  42. IN PSCE_REGISTRY_VALUE_INFO *ppRegValues,
  43. IN DWORD Count
  44. );
  45. SCESTATUS
  46. ScepResetSecurityPolicyArea(
  47. IN PSCE_PROFILE_INFO pProfileInfo
  48. );
  49. SCESTATUS
  50. ScepFreePrivilege(
  51. IN PSCE_PRIVILEGE_ASSIGNMENT pRights
  52. );
  53. SCESTATUS
  54. ScepFreeObjectSecurity(
  55. IN PSCE_OBJECT_ARRAY pObject
  56. );
  57. VOID
  58. SceFreePSCE_SERVICES(
  59. IN PSCE_SERVICES pServiceList
  60. );
  61. SCESTATUS
  62. ScepFreeNameStatusList(
  63. IN PSCE_NAME_STATUS_LIST pNameList
  64. );
  65. SCESTATUS
  66. ScepFreePrivilegeValueList(
  67. IN PSCE_PRIVILEGE_VALUE_LIST pPrivValueList
  68. );
  69. SCESTATUS
  70. ScepFreeGroupMembership(
  71. IN PSCE_GROUP_MEMBERSHIP pGroup
  72. );
  73. SCESTATUS
  74. ScepFreeObjectList(
  75. IN PSCE_OBJECT_LIST pNameList
  76. );
  77. SCESTATUS
  78. ScepFreeObjectChildren(
  79. IN PSCE_OBJECT_CHILDREN pNameArray
  80. );
  81. SCESTATUS
  82. ScepFreeObjectChildrenNode(
  83. IN DWORD Count,
  84. IN PSCE_OBJECT_CHILDREN_NODE *pArrObject
  85. );
  86. SCESTATUS
  87. SceSvcpFreeMemory(
  88. IN PVOID pvServiceInfo
  89. );
  90. #endif