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.

72 lines
1.9 KiB

  1. ////////////////////////////////////////////////////////////////////////
  2. // //
  3. // Context structure is not known to the caller. It is defined by the //
  4. // callee when Open/FindFirst is called and is used subsequently as //
  5. // input to other calls. //
  6. // //
  7. // Since the caller is not aware of the context structure the object //
  8. // manager must provide a free context funtion. //
  9. // //
  10. ////////////////////////////////////////////////////////////////////////
  11. #include "global.h"
  12. DWORD
  13. MartaAddRefDsObjectContext(
  14. IN MARTA_CONTEXT Context
  15. );
  16. DWORD
  17. MartaCloseDsObjectContext(
  18. IN MARTA_CONTEXT Context
  19. );
  20. DWORD
  21. MartaConvertDsObjectNameToGuid(
  22. IN LPCWSTR pObjectName,
  23. OUT GUID * pGuid
  24. );
  25. DWORD
  26. MartaConvertGuidToDsName(
  27. IN GUID Guid,
  28. OUT LPWSTR * ppObjectName
  29. );
  30. DWORD
  31. MartaGetDsObjectProperties(
  32. IN MARTA_CONTEXT Context,
  33. IN OUT PMARTA_OBJECT_PROPERTIES pProperties
  34. );
  35. DWORD
  36. MartaGetDsObjectTypeProperties(
  37. IN OUT PMARTA_OBJECT_TYPE_PROPERTIES pProperties
  38. );
  39. DWORD
  40. MartaGetDsObjectRights(
  41. IN MARTA_CONTEXT Context,
  42. IN SECURITY_INFORMATION SecurityInfo,
  43. OUT PSECURITY_DESCRIPTOR * ppSecurityDescriptor
  44. );
  45. DWORD
  46. MartaOpenDsObjectNamedObject(
  47. IN LPCWSTR pObjectName,
  48. IN ACCESS_MASK AccessMask,
  49. OUT PMARTA_CONTEXT pContext
  50. );
  51. DWORD
  52. MartaSetDsObjectRights(
  53. IN MARTA_CONTEXT Context,
  54. IN SECURITY_INFORMATION SecurityInfo,
  55. IN PSECURITY_DESCRIPTOR pSecurityDescriptor
  56. );
  57. DWORD
  58. MartaGetDsParentName(
  59. IN LPWSTR ObjectName,
  60. OUT LPWSTR *pParentName
  61. );