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.

59 lines
1.3 KiB

  1. #include "compch.h"
  2. #pragma hdrstop
  3. #include <catalog.h>
  4. STDAPI GetClassInfoForCurrentUser(
  5. IN REFCLSID rclsid,
  6. OUT IComClassInfo** ppIComClassInfo
  7. )
  8. {
  9. if (ppIComClassInfo)
  10. *ppIComClassInfo = NULL;
  11. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  12. }
  13. STDAPI GetDefaultPartitionForCurrentUser(
  14. OUT GUID * pguidPartitionId
  15. )
  16. {
  17. if (pguidPartitionId)
  18. *pguidPartitionId = GUID_NULL;
  19. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  20. }
  21. STDAPI GetDefaultPartitionForSid(
  22. IN const PSID pSid,
  23. OUT GUID* pguidPartitionId
  24. )
  25. {
  26. if (pguidPartitionId)
  27. *pguidPartitionId = GUID_NULL;
  28. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  29. }
  30. STDAPI PartitionAccessCheck(
  31. IN REFGUID guidPartition,
  32. OUT BOOL* pfAccess
  33. )
  34. {
  35. if (pfAccess)
  36. *pfAccess = FALSE;
  37. return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
  38. }
  39. //
  40. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  41. //
  42. DEFINE_PROCNAME_ENTRIES(colbact)
  43. {
  44. DLPENTRY(GetClassInfoForCurrentUser)
  45. DLPENTRY(GetDefaultPartitionForCurrentUser)
  46. DLPENTRY(GetDefaultPartitionForSid)
  47. DLPENTRY(PartitionAccessCheck)
  48. };
  49. DEFINE_PROCNAME_MAP(colbact)