Source code of Windows XP (NT5)
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.

108 lines
1.9 KiB

  1. #include "dspch.h"
  2. #pragma hdrstop
  3. #include <secedit.h>
  4. #include <scesetup.h>
  5. static
  6. DWORD
  7. WINAPI
  8. SceSetupMoveSecurityFile(
  9. IN PWSTR FileToSetSecurity,
  10. IN PWSTR FileToSaveInDB OPTIONAL,
  11. IN PWSTR SDText OPTIONAL
  12. )
  13. {
  14. return ERROR_PROC_NOT_FOUND;
  15. }
  16. static
  17. DWORD
  18. WINAPI
  19. SceSetupUnwindSecurityFile(
  20. IN PWSTR FileFullName,
  21. IN PSECURITY_DESCRIPTOR pSDBackup
  22. )
  23. {
  24. return ERROR_PROC_NOT_FOUND;
  25. }
  26. static
  27. DWORD
  28. WINAPI
  29. SceSetupUpdateSecurityFile(
  30. IN PWSTR FileFullName,
  31. IN UINT nFlag,
  32. IN PWSTR SDText
  33. )
  34. {
  35. return ERROR_PROC_NOT_FOUND;
  36. }
  37. static
  38. DWORD
  39. WINAPI
  40. SceSetupUpdateSecurityKey(
  41. IN HKEY hKeyRoot,
  42. IN PWSTR KeyPath,
  43. IN UINT nFlag,
  44. IN PWSTR SDText
  45. )
  46. {
  47. return ERROR_PROC_NOT_FOUND;
  48. }
  49. static
  50. DWORD
  51. WINAPI
  52. SceSetupUpdateSecurityService(
  53. IN PWSTR ServiceName,
  54. IN DWORD StartType,
  55. IN PWSTR SDText
  56. )
  57. {
  58. return ERROR_PROC_NOT_FOUND;
  59. }
  60. static
  61. SCESTATUS
  62. WINAPI
  63. SceSvcConvertSDToText(
  64. IN PSECURITY_DESCRIPTOR pSD,
  65. IN SECURITY_INFORMATION siSecurityInfo,
  66. OUT PWSTR *ppwszTextSD,
  67. OUT PULONG pulTextSize
  68. )
  69. {
  70. return SCESTATUS_MOD_NOT_FOUND;
  71. }
  72. static
  73. SCESTATUS
  74. WINAPI
  75. SceSvcConvertTextToSD (
  76. IN PWSTR pwszTextSD,
  77. OUT PSECURITY_DESCRIPTOR *ppSD,
  78. OUT PULONG pulSDSize,
  79. OUT PSECURITY_INFORMATION psiSeInfo
  80. )
  81. {
  82. return SCESTATUS_MOD_NOT_FOUND;
  83. }
  84. //
  85. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  86. //
  87. DEFINE_PROCNAME_ENTRIES(scecli)
  88. {
  89. DLPENTRY(SceSetupMoveSecurityFile)
  90. DLPENTRY(SceSetupUnwindSecurityFile)
  91. DLPENTRY(SceSetupUpdateSecurityFile)
  92. DLPENTRY(SceSetupUpdateSecurityKey)
  93. DLPENTRY(SceSetupUpdateSecurityService)
  94. DLPENTRY(SceSvcConvertSDToText)
  95. DLPENTRY(SceSvcConvertTextToSD)
  96. };
  97. DEFINE_PROCNAME_MAP(scecli)