[PATCH] cygrunsrv --recovery <action>
Dave Korn
dk@artimi.com
Wed Oct 6 10:23:00 GMT 2004
> -----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....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contrib-patch.diff
Type: application/octet-stream
Size: 818 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041006/f37d940a/attachment.obj>
-------------- next part --------------
--
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/
More information about the Cygwin
mailing list