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.

82 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. RxUse.h
  5. Abstract:
  6. This is the public header file for the NT version of RpcXlate.
  7. This mainly contains prototypes for the RxNetUse 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. 17-Jun-1991 JohnRo
  17. Created.
  18. 18-Jun-1991 JohnRo
  19. Changed RxNetUse routines to use LPBYTE rather than LPVOID parameters,
  20. for consistency with NetUse routines.
  21. --*/
  22. #ifndef _RXUSE_
  23. #define _RXUSE_
  24. ////////////////////////////////////////////////////////////////
  25. // Individual routines, for APIs which can't be table driven: //
  26. ////////////////////////////////////////////////////////////////
  27. // Add prototypes for other APIs here, in alphabetical order.
  28. NET_API_STATUS
  29. RxNetUseAdd (
  30. IN LPTSTR UncServerName,
  31. IN DWORD Level,
  32. IN LPBYTE UseInfoStruct,
  33. OUT LPDWORD ParmError OPTIONAL
  34. );
  35. NET_API_STATUS
  36. RxNetUseDel (
  37. IN LPTSTR UncServerName,
  38. IN LPTSTR UseName,
  39. IN DWORD ForceCond
  40. );
  41. NET_API_STATUS
  42. RxNetUseEnum (
  43. IN LPTSTR UncServerName,
  44. IN DWORD Level,
  45. OUT LPBYTE *BufPtr,
  46. IN DWORD PreferedMaximumLength,
  47. OUT LPDWORD EntriesRead,
  48. OUT LPDWORD TotalEntries,
  49. IN OUT LPDWORD ResumeHandle OPTIONAL
  50. );
  51. NET_API_STATUS
  52. RxNetUseGetInfo (
  53. IN LPTSTR UncServerName,
  54. IN LPTSTR UseName,
  55. IN DWORD Level,
  56. OUT LPBYTE *BufPtr
  57. );
  58. #endif // ndef _RXUSE_