This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] cygrunsrv --recovery <action>


> -----Original Message-----
> From: cygwin-owner On Behalf Of Rainer Hochreiter
> Sent: 06 October 2004 10:57

> well, are there any guidelines how to submit patches and describing
> ChangeLog syntax available?

  Check out http://cygwin.com/contrib.html, which includes a link to
http://www.gnu.org/prep/standards_42.html for the changelog syntax.

  Oh.  I should have said "which includes a broken link.  Try

http://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs 

instead".  Ping webmaster!

> > That's the change from direct writing of registry keys to using
> > that ChangeServiceConfig2 function.
> 
> right! but if using ChangeServiceConfig2() is prohibited, why 
> not writing 
> also directly to registry? 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 ;-)

  Looks to me like it's a struct _SERVICE_FAILURE_ACTIONS, with a mysterious extra
DWORD between the cActions member and the SC_ACTION array.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....

Attachment: contrib-patch.diff
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]