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.

75 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. RxSvc.h
  5. Abstract:
  6. This header file contains prototypes for the RpcXlate versions of the
  7. NetService APIs.
  8. Author:
  9. John Rogers (JohnRo) 10-Sep-1991
  10. Environment:
  11. User Mode - Win32
  12. Notes:
  13. You must include <windef.h> and <lmcons.h> before this file.
  14. Revision History:
  15. 10-Sep-1991 JohnRo
  16. Downlevel NetService APIs.
  17. --*/
  18. #ifndef _RXSVC_
  19. #define _RXSVC_
  20. NET_API_STATUS
  21. RxNetServiceControl (
  22. IN LPTSTR UncServerName,
  23. IN LPTSTR Service,
  24. IN DWORD OpCode,
  25. IN DWORD Arg,
  26. OUT LPBYTE *BufPtr
  27. );
  28. NET_API_STATUS
  29. RxNetServiceEnum (
  30. IN LPTSTR UncServerName,
  31. IN DWORD Level,
  32. OUT LPBYTE *BufPtr,
  33. IN DWORD PrefMaxSize,
  34. OUT LPDWORD EntriesRead,
  35. OUT LPDWORD TotalEntries,
  36. IN OUT LPDWORD ResumeHandle OPTIONAL
  37. );
  38. NET_API_STATUS
  39. RxNetServiceGetInfo (
  40. IN LPTSTR UncServerName,
  41. IN LPTSTR Service,
  42. IN DWORD Level,
  43. OUT LPBYTE *BufPtr
  44. );
  45. NET_API_STATUS
  46. RxNetServiceInstall (
  47. IN LPTSTR UncServerName,
  48. IN LPTSTR Service,
  49. IN DWORD Argc,
  50. IN LPTSTR Argv[],
  51. OUT LPBYTE *BufPtr
  52. );
  53. #endif // _RXSVC_