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.

54 lines
1.6 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. MartaAddRefLMShareContext(
  14. IN MARTA_CONTEXT Context
  15. );
  16. DWORD
  17. MartaCloseLMShareContext(
  18. IN MARTA_CONTEXT Context
  19. );
  20. DWORD
  21. MartaGetLMShareProperties(
  22. IN MARTA_CONTEXT Context,
  23. IN OUT PMARTA_OBJECT_PROPERTIES pProperties
  24. );
  25. DWORD
  26. MartaGetLMShareTypeProperties(
  27. IN OUT PMARTA_OBJECT_TYPE_PROPERTIES pProperties
  28. );
  29. DWORD
  30. MartaGetLMShareRights(
  31. IN MARTA_CONTEXT Context,
  32. IN SECURITY_INFORMATION SecurityInfo,
  33. OUT PSECURITY_DESCRIPTOR * ppSecurityDescriptor
  34. );
  35. DWORD
  36. MartaOpenLMShareNamedObject(
  37. IN LPCWSTR pObjectName,
  38. IN ACCESS_MASK AccessMask,
  39. OUT PMARTA_CONTEXT pContext
  40. );
  41. DWORD
  42. MartaSetLMShareRights(
  43. IN MARTA_CONTEXT Context,
  44. IN SECURITY_INFORMATION SecurityInfo,
  45. IN PSECURITY_DESCRIPTOR pSecurityDescriptor
  46. );