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.

115 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. rxuser.h
  5. Abstract:
  6. Prototypes for down-level remoted RxNetUser... routines
  7. Author:
  8. Richard Firth (rfirth) 28-May-1991
  9. Revision History:
  10. 28-May-1991 RFirth
  11. Created
  12. --*/
  13. NET_API_STATUS
  14. RxNetUserAdd(
  15. IN LPTSTR ServerName,
  16. IN DWORD Level,
  17. IN LPBYTE Buffer,
  18. OUT LPDWORD ParmError OPTIONAL
  19. );
  20. NET_API_STATUS
  21. RxNetUserDel(
  22. IN LPTSTR ServerName,
  23. IN LPTSTR UserName
  24. );
  25. NET_API_STATUS
  26. RxNetUserEnum(
  27. IN LPTSTR ServerName,
  28. IN DWORD Level,
  29. OUT LPBYTE* Buffer,
  30. IN DWORD PrefMaxLen,
  31. OUT LPDWORD EntriesRead,
  32. OUT LPDWORD EntriesLeft,
  33. IN OUT LPDWORD ResumeHandle OPTIONAL
  34. );
  35. NET_API_STATUS
  36. RxNetUserGetGroups(
  37. IN LPTSTR ServerName,
  38. IN LPTSTR UserName,
  39. IN DWORD Level,
  40. OUT LPBYTE* Buffer,
  41. IN DWORD PrefMaxLen,
  42. OUT LPDWORD EntriesRead,
  43. OUT LPDWORD EntriesLeft
  44. );
  45. NET_API_STATUS
  46. RxNetUserGetInfo(
  47. IN LPTSTR ServerName,
  48. IN LPTSTR UserName,
  49. IN DWORD Level,
  50. OUT LPBYTE* Buffer
  51. );
  52. NET_API_STATUS
  53. RxNetUserModalsGet(
  54. IN LPTSTR ServerName,
  55. IN DWORD Level,
  56. OUT LPBYTE* Buffer
  57. );
  58. NET_API_STATUS
  59. RxNetUserModalsSet(
  60. IN LPTSTR ServerName,
  61. IN DWORD Level,
  62. IN LPBYTE Buffer,
  63. OUT LPDWORD ParmError OPTIONAL
  64. );
  65. NET_API_STATUS
  66. RxNetUserPasswordSet(
  67. IN LPTSTR ServerName,
  68. IN LPTSTR UserName,
  69. IN LPTSTR OldPassword,
  70. IN LPTSTR NewPassword
  71. );
  72. NET_API_STATUS
  73. RxNetUserSetGroups(
  74. IN LPTSTR ServerName,
  75. IN LPTSTR UserName,
  76. IN DWORD Level,
  77. IN LPBYTE Buffer,
  78. IN DWORD Entries
  79. );
  80. NET_API_STATUS
  81. RxNetUserSetInfo(
  82. IN LPTSTR ServerName,
  83. IN LPTSTR UserName,
  84. IN DWORD Level,
  85. IN LPBYTE Buffer,
  86. OUT LPDWORD ParmError OPTIONAL
  87. );
  88. //NET_API_STATUS
  89. //RxNetUserValidate2
  90. // /** CANNOT BE REMOTED **/
  91. //{
  92. //
  93. //}