home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 May / Chip_2000-05_cd1.bin / zkuste / Perl / ActivePerl-5.6.0.613.msi / 䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥 / _ea406053f6f4d46dd575cf00b9efaf6b < prev    next >
Text File  |  2000-03-23  |  3KB  |  91 lines

  1.  
  2. <HTML>
  3. <HEAD>
  4. <TITLE>Win32::Service - manage system services in perl</TITLE>
  5. <LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
  6. <LINK REV="made" HREF="mailto:">
  7. </HEAD>
  8.  
  9. <BODY>
  10. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  11. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  12. <STRONG><P CLASS=block> Win32::Service - manage system services in perl</P></STRONG>
  13. </TD></TR>
  14. </TABLE>
  15.  
  16. <A NAME="__index__"></A>
  17. <!-- INDEX BEGIN -->
  18.  
  19. <UL>
  20.  
  21.     <LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
  22.  
  23.     <LI><A HREF="#synopsis">SYNOPSIS</A></LI>
  24.     <LI><A HREF="#description">DESCRIPTION</A></LI>
  25.     <LI><A HREF="#functions">FUNCTIONS</A></LI>
  26.     <UL>
  27.  
  28.         <LI><A HREF="#note:">NOTE:</A></LI>
  29.     </UL>
  30.  
  31. </UL>
  32. <!-- INDEX END -->
  33.  
  34. <HR>
  35. <P>
  36. <H1><A NAME="name">NAME</A></H1>
  37. <P>Win32::Service - manage system services in perl</P>
  38. <P>
  39. <HR>
  40. <H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
  41. <UL>
  42. <LI>Windows</LI>
  43. </UL>
  44. <HR>
  45. <H1><A NAME="synopsis">SYNOPSIS</A></H1>
  46. <PRE>
  47.         use Win32::Service;</PRE>
  48. <P>
  49. <HR>
  50. <H1><A NAME="description">DESCRIPTION</A></H1>
  51. <P>This module offers control over the administration of system services.</P>
  52. <P>
  53. <HR>
  54. <H1><A NAME="functions">FUNCTIONS</A></H1>
  55. <P>
  56. <H2><A NAME="note:">NOTE:</A></H2>
  57. <P>All of the functions return FALSE (0) if they fail, unless otherwise noted.
  58. If hostName is an empty string, the local machine is assumed.</P>
  59. <DL>
  60. <DT><STRONG><A NAME="item_StartService">StartService(hostName, serviceName)</A></STRONG><BR>
  61. <DD>
  62. Start the service serviceName on machine hostName.
  63. <P></P>
  64. <DT><STRONG><A NAME="item_StopService">StopService(hostName, serviceName)</A></STRONG><BR>
  65. <DD>
  66. Stop the service serviceName on the machine hostName.
  67. <P></P>
  68. <DT><STRONG><A NAME="item_GetStatus">GetStatus(hostName, serviceName, status)</A></STRONG><BR>
  69. <DD>
  70. Get the status of a service.
  71. <P></P>
  72. <DT><STRONG><A NAME="item_PauseService">PauseService(hostName, serviceName)</A></STRONG><BR>
  73. <DD>
  74. <DT><STRONG><A NAME="item_ResumeService">ResumeService(hostName, serviceName)</A></STRONG><BR>
  75. <DD>
  76. <DT><STRONG><A NAME="item_GetServices">GetServices(hostName, hashref)</A></STRONG><BR>
  77. <DD>
  78. Enumerates both active and inactive Win32 services at the specified host.
  79. The hashref is populated with the descriptive service names as keys
  80. and the short names as the values.
  81. <P></P></DL>
  82. <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
  83. <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
  84. <STRONG><P CLASS=block> Win32::Service - manage system services in perl</P></STRONG>
  85. </TD></TR>
  86. </TABLE>
  87.  
  88. </BODY>
  89.  
  90. </HTML>
  91.