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.

87 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1990-1992 Microsoft Corporation
  3. Module Name:
  4. rxaccess.h
  5. Abstract:
  6. Prototypes for down-level remoted RxNetAccess routines
  7. Author:
  8. Richard L Firth (rfirth) 28-May-1991
  9. Revision History:
  10. 28-May-1991 RFirth
  11. Created
  12. 08-Sep-1992 JohnRo
  13. Fix NET_API_FUNCTION references. (NetAccess routines are just #define'd
  14. as RxNetAccess routines in lmaccess.h, so we need NET_API_FUNCTION here
  15. too!)
  16. --*/
  17. NET_API_STATUS NET_API_FUNCTION
  18. RxNetAccessAdd(
  19. IN LPCWSTR ServerName,
  20. IN DWORD Level,
  21. IN LPBYTE Buffer,
  22. OUT LPDWORD ParmError OPTIONAL
  23. );
  24. NET_API_STATUS NET_API_FUNCTION
  25. RxNetAccessCheck(
  26. IN LPTSTR ServerName,
  27. IN LPTSTR UserName,
  28. IN LPTSTR ResourceName,
  29. IN DWORD Operation,
  30. OUT LPDWORD Result
  31. );
  32. NET_API_STATUS NET_API_FUNCTION
  33. RxNetAccessDel(
  34. IN LPCWSTR ServerName,
  35. IN LPCWSTR ResourceName
  36. );
  37. NET_API_STATUS NET_API_FUNCTION
  38. RxNetAccessEnum(
  39. IN LPCWSTR ServerName,
  40. IN LPCWSTR BasePath,
  41. IN DWORD Recursive,
  42. IN DWORD Level,
  43. OUT LPBYTE* Buffer,
  44. IN DWORD PrefMaxLen,
  45. OUT LPDWORD EntriesRead,
  46. OUT LPDWORD EntriesLeft,
  47. IN OUT LPDWORD ResumeHandle OPTIONAL
  48. );
  49. NET_API_STATUS NET_API_FUNCTION
  50. RxNetAccessGetInfo(
  51. IN LPCWSTR ServerName,
  52. IN LPCWSTR ResourceName,
  53. IN DWORD Level,
  54. OUT LPBYTE* Buffer
  55. );
  56. NET_API_STATUS NET_API_FUNCTION
  57. RxNetAccessGetUserPerms(
  58. IN LPCWSTR ServerName,
  59. IN LPCWSTR UserName,
  60. IN LPCWSTR ResourceName,
  61. OUT LPDWORD Perms
  62. );
  63. NET_API_STATUS NET_API_FUNCTION
  64. RxNetAccessSetInfo(
  65. IN LPCWSTR ServerName,
  66. IN LPCWSTR ResourceName,
  67. IN DWORD Level,
  68. IN LPBYTE Buffer,
  69. OUT LPDWORD ParmError OPTIONAL
  70. );