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.

81 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1991-92 Microsoft Corporation
  3. Module Name:
  4. SvcMap.h
  5. Abstract:
  6. These are the API entry points for the NetService API.
  7. These mapping routines implement old-style APIs on new (NT/RPC) machines.
  8. The following funtions are in this file:
  9. MapServiceControl
  10. MapServiceEnum
  11. MapServiceGetInfo
  12. MapServiceInstall
  13. MapServiceStartCtrlDispatcher
  14. MapServiceStatus
  15. MapServiceRegisterCtrlHandler
  16. Author:
  17. Dan Lafferty (danl) 05-Feb-1992
  18. Environment:
  19. User Mode - Win32
  20. Revision History:
  21. 05-Feb-1992 Danl
  22. Created
  23. 30-Mar-1992 JohnRo
  24. Extracted DanL's code from /nt/private project back to NET project.
  25. --*/
  26. #ifndef _SVCMAP_
  27. #define _SVCMAP_
  28. NET_API_STATUS
  29. MapServiceControl (
  30. IN LPTSTR servername OPTIONAL,
  31. IN LPTSTR service,
  32. IN DWORD opcode,
  33. IN DWORD arg,
  34. OUT LPBYTE *bufptr
  35. );
  36. NET_API_STATUS
  37. MapServiceEnum (
  38. IN LPTSTR servername OPTIONAL,
  39. IN DWORD level,
  40. OUT LPBYTE *bufptr,
  41. IN DWORD prefmaxlen,
  42. OUT LPDWORD entriesread,
  43. OUT LPDWORD totalentries,
  44. IN OUT LPDWORD resume_handle OPTIONAL
  45. );
  46. NET_API_STATUS
  47. MapServiceGetInfo (
  48. IN LPTSTR servername OPTIONAL,
  49. IN LPTSTR service,
  50. IN DWORD level,
  51. OUT LPBYTE *bufptr
  52. );
  53. NET_API_STATUS
  54. MapServiceInstall (
  55. IN LPTSTR servername OPTIONAL,
  56. IN LPTSTR service,
  57. IN DWORD argc,
  58. IN LPTSTR argv[],
  59. OUT LPBYTE *bufptr
  60. );
  61. #endif // _SVCMAP_