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.

91 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. RxWksta.h
  5. Abstract:
  6. This is the public header file for the NT version of RpcXlate.
  7. This mainly contains prototypes for the RxNetWksta routines.
  8. Author:
  9. John Rogers (JohnRo) 17-Jun-1991
  10. Environment:
  11. Portable to any flat, 32-bit environment. (Uses Win32 typedefs.)
  12. Requires ANSI C extensions: slash-slash comments, long external names.
  13. Notes:
  14. You must include <windef.h> and <lmcons.h> before this file.
  15. Revision History:
  16. 29-Jul-1991 JohnRo
  17. Implement downlevel NetWksta APIs.
  18. 31-Jul-1991 JohnRo
  19. Added RxpGetWkstaInfoLevelEquivalent().
  20. 11-Nov-1991 JohnRo
  21. Implement remote NetWkstaUserEnum().
  22. --*/
  23. #ifndef _RXWKSTA_
  24. #define _RXWKSTA_
  25. //
  26. // Routines to be called from the DLL stubs:
  27. //
  28. NET_API_STATUS
  29. RxNetWkstaGetInfo (
  30. IN LPTSTR UncServerName,
  31. IN DWORD Level,
  32. OUT LPBYTE *BufPtr
  33. );
  34. NET_API_STATUS
  35. RxNetWkstaSetInfo (
  36. IN LPTSTR UncServerName,
  37. IN DWORD Level,
  38. IN LPBYTE Buffer,
  39. OUT LPDWORD ParmError OPTIONAL
  40. );
  41. NET_API_STATUS
  42. RxNetWkstaUserEnum (
  43. IN LPTSTR UncServerName,
  44. IN DWORD Level,
  45. OUT LPBYTE *BufPtr,
  46. IN DWORD PrefMaxSize,
  47. OUT LPDWORD EntriesRead,
  48. OUT LPDWORD TotalEntries,
  49. IN OUT LPDWORD ResumeHandle OPTIONAL
  50. );
  51. //
  52. // Private routines (only called by the above):
  53. //
  54. NET_API_STATUS
  55. RxpGetWkstaInfoLevelEquivalent(
  56. IN DWORD FromLevel,
  57. OUT LPDWORD ToLevel,
  58. OUT LPBOOL IncompleteOutput OPTIONAL // incomplete (except platform ID)
  59. );
  60. NET_API_STATUS
  61. RxpWkstaGetOldInfo (
  62. IN LPTSTR UncServerName,
  63. IN DWORD Level,
  64. OUT LPBYTE *BufPtr
  65. );
  66. #endif // ndef _RXWKSTA_