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.

140 lines
2.3 KiB

  1. #include "dspch.h"
  2. #pragma hdrstop
  3. #include <ntdsa.h>
  4. #include <scache.h>
  5. #include <dbglobal.h>
  6. #define NTDSBSRV_API _stdcall
  7. typedef DWORD ERR;
  8. static
  9. void
  10. NTDSBSRV_API
  11. SetNTDSOnlineStatus(
  12. BOOL fBootedOffNTDS
  13. )
  14. {
  15. return;
  16. }
  17. static
  18. HRESULT
  19. NTDSBSRV_API
  20. HrBackupRegister(
  21. )
  22. {
  23. return ERROR_PROC_NOT_FOUND;
  24. }
  25. static
  26. HRESULT
  27. NTDSBSRV_API
  28. HrBackupUnregister(
  29. )
  30. {
  31. return ERROR_PROC_NOT_FOUND;
  32. }
  33. static
  34. ERR
  35. NTDSBSRV_API
  36. ErrRestoreRegister(
  37. )
  38. {
  39. return ERROR_PROC_NOT_FOUND;
  40. }
  41. static
  42. ERR
  43. NTDSBSRV_API
  44. ErrRestoreUnregister(
  45. )
  46. {
  47. return ERROR_PROC_NOT_FOUND;
  48. }
  49. static
  50. ERR
  51. NTDSBSRV_API
  52. ErrRecoverAfterRestoreA(
  53. char * szParametersRoot,
  54. char * szAnnotation,
  55. BOOL fInSafeMode
  56. )
  57. {
  58. return ERROR_PROC_NOT_FOUND;
  59. }
  60. static
  61. ERR
  62. NTDSBSRV_API
  63. ErrRecoverAfterRestoreW(
  64. WCHAR * szParametersRoot,
  65. WCHAR * wszAnnotation,
  66. BOOL fInSafeMode
  67. )
  68. {
  69. return ERROR_PROC_NOT_FOUND;
  70. }
  71. static
  72. ERR
  73. NTDSBSRV_API
  74. ErrGetNewInvocationId(
  75. IN DWORD dwFlags,
  76. OUT GUID * NewId
  77. )
  78. {
  79. return ERROR_PROC_NOT_FOUND;
  80. }
  81. static
  82. DWORD
  83. ErrGetBackupUsnFromDatabase(
  84. IN JET_DBID dbid,
  85. IN JET_SESID hiddensesid,
  86. IN JET_TABLEID hiddentblid,
  87. IN JET_SESID datasesid,
  88. IN JET_TABLEID datatblid_arg,
  89. IN JET_COLUMNID usncolid,
  90. IN JET_TABLEID linktblid_arg,
  91. IN JET_COLUMNID linkusncolid,
  92. IN BOOL fDelete,
  93. OUT USN * pusnAtBackup
  94. )
  95. {
  96. return ERROR_PROC_NOT_FOUND;
  97. }
  98. DWORD
  99. ErrGetBackupUsn(
  100. IN JET_DBID dbid,
  101. IN JET_SESID hiddensesid,
  102. IN JET_TABLEID hiddentblid,
  103. OUT USN * pusnAtBackup
  104. ){
  105. return ERROR_PROC_NOT_FOUND;
  106. }
  107. //
  108. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  109. //
  110. DEFINE_PROCNAME_ENTRIES(ntdsbsrv)
  111. {
  112. DLPENTRY(ErrGetBackupUsn)
  113. DLPENTRY(ErrGetBackupUsnFromDatabase)
  114. DLPENTRY(ErrGetNewInvocationId)
  115. DLPENTRY(ErrRecoverAfterRestoreA)
  116. DLPENTRY(ErrRecoverAfterRestoreW)
  117. DLPENTRY(ErrRestoreRegister)
  118. DLPENTRY(ErrRestoreUnregister)
  119. DLPENTRY(HrBackupRegister)
  120. DLPENTRY(HrBackupUnregister)
  121. DLPENTRY(SetNTDSOnlineStatus)
  122. };
  123. DEFINE_PROCNAME_MAP(ntdsbsrv)