delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/06/06:17:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 6 Oct 2004 12:17:49 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [PATCH] cygrunsrv --recovery <action>
Message-ID: <20041006101749.GW6702@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <42404 DOT 193 DOT 16 DOT 155 DOT 145 DOT 1096475468 DOT squirrel AT webmail DOT kainz DOT com> <20040930153543 DOT GC29206 AT cygbert DOT vinschen DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0409301204000 DOT 14979 AT slinky DOT cs DOT nyu DOT edu> <20040930161545 DOT GC26915 AT cygbert DOT vinschen DOT de> <pan DOT 2004 DOT 10 DOT 06 DOT 09 DOT 57 DOT 23 DOT 578773 AT hochreiter DOT at>
Mime-Version: 1.0
In-Reply-To: <pan.2004.10.06.09.57.23.578773@hochreiter.at>
User-Agent: Mutt/1.4.2i

On Oct  6 11:57, Rainer Hochreiter wrote:
> well, are there any guidelines how to submit patches and describing
> ChangeLog syntax available?

http://cygwin.com/contrib.html, section "When you have finalized your changes"

Just ignore the hint to send patches to the cygwin-patches list.

> right! but if using ChangeServiceConfig2() is prohibited, why not writing 
> also directly to registry?

Erm?!?  Of course you should write directly to the registry.  That's how
writing the description field is implemented to stay NT4 compatible.  So
just copy the behaviour for writing the actions parameter.

> ok, maybe there is no public documentation
> available for that. what i found out is, that SCM writes into a key named
> 'FailureActions' of type REG_BINARY. anyone out here, who knows what to write
> there? best would be the source of the sc.exe command ;-)

I guess the easy way is to use ChangeServiceConfig2 with different
arguments and look what it creates as result.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019