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, which includes a link to for the changelog syntax.

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

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.

Can't think of a witty .sigline today....

Attachment: contrib-patch.diff
Description: Binary data

Unsubscribe info:
Problem reports:

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