I have a hand-coded service running without parameters but would now like to pass a parameter to influence its action.
Docs say the main procedure is prototyped thus : Main(LONG dwArgs,LONG lpszArgs)
but where do the parameters come from, I can’t see where to specify them when creating the service?
I stumbled across some text saying “parameters are passed by the calling code” implying that this is outside the OS service manager.
Has anybody accessed lpszArgs?