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.

81 lines
1.4 KiB

  1. #include "compch.h"
  2. #pragma hdrstop
  3. #include <objidl.h>
  4. STDAPI
  5. CheckMemoryGates(
  6. IN DWORD id,
  7. OUT BOOL *pbResult
  8. )
  9. {
  10. if (pbResult)
  11. *pbResult = FALSE;
  12. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  13. }
  14. STDAPI
  15. ComPlusEnableRemoteAccess(IN BOOL fEnabled)
  16. {
  17. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  18. }
  19. STDAPI
  20. ComPlusRemoteAccessEnabled(OUT BOOL* pfEnabled)
  21. {
  22. if (pfEnabled)
  23. *pfEnabled = FALSE;
  24. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  25. }
  26. STDAPI
  27. GetCatalogObject(
  28. IN REFIID riid,
  29. OUT void** ppv
  30. )
  31. {
  32. if (ppv)
  33. *ppv = NULL;
  34. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  35. }
  36. STDAPI
  37. GetCatalogObject2(
  38. IN REFIID riid,
  39. OUT void** ppv
  40. )
  41. {
  42. if (ppv)
  43. *ppv = NULL;
  44. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  45. }
  46. STDAPI
  47. GetComputerObject(
  48. IN REFIID riid,
  49. OUT void **ppv
  50. )
  51. {
  52. if (ppv)
  53. *ppv = NULL;
  54. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  55. }
  56. //
  57. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  58. //
  59. DEFINE_PROCNAME_ENTRIES(clbcatq)
  60. {
  61. DLPENTRY(CheckMemoryGates)
  62. DLPENTRY(ComPlusEnableRemoteAccess)
  63. DLPENTRY(ComPlusRemoteAccessEnabled)
  64. DLPENTRY(GetCatalogObject)
  65. DLPENTRY(GetCatalogObject2)
  66. DLPENTRY(GetComputerObject)
  67. };
  68. DEFINE_PROCNAME_MAP(clbcatq)