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 >
Wrap
Text File
|
2000-03-23
|
3KB
|
91 lines
<HTML>
<HEAD>
<TITLE>Win32::Service - manage system services in perl</TITLE>
<LINK REL="stylesheet" HREF="../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> Win32::Service - manage system services in perl</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#functions">FUNCTIONS</A></LI>
<UL>
<LI><A HREF="#note:">NOTE:</A></LI>
</UL>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>Win32::Service - manage system services in perl</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
use Win32::Service;</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>This module offers control over the administration of system services.</P>
<P>
<HR>
<H1><A NAME="functions">FUNCTIONS</A></H1>
<P>
<H2><A NAME="note:">NOTE:</A></H2>
<P>All of the functions return FALSE (0) if they fail, unless otherwise noted.
If hostName is an empty string, the local machine is assumed.</P>
<DL>
<DT><STRONG><A NAME="item_StartService">StartService(hostName, serviceName)</A></STRONG><BR>
<DD>
Start the service serviceName on machine hostName.
<P></P>
<DT><STRONG><A NAME="item_StopService">StopService(hostName, serviceName)</A></STRONG><BR>
<DD>
Stop the service serviceName on the machine hostName.
<P></P>
<DT><STRONG><A NAME="item_GetStatus">GetStatus(hostName, serviceName, status)</A></STRONG><BR>
<DD>
Get the status of a service.
<P></P>
<DT><STRONG><A NAME="item_PauseService">PauseService(hostName, serviceName)</A></STRONG><BR>
<DD>
<DT><STRONG><A NAME="item_ResumeService">ResumeService(hostName, serviceName)</A></STRONG><BR>
<DD>
<DT><STRONG><A NAME="item_GetServices">GetServices(hostName, hashref)</A></STRONG><BR>
<DD>
Enumerates both active and inactive Win32 services at the specified host.
The hashref is populated with the descriptive service names as keys
and the short names as the values.
<P></P></DL>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> Win32::Service - manage system services in perl</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>