[ros-dev] svcctl.idl: Why "Scmr"-prefix?

Elrond elrond+reactos.org at samba-tng.org
Sat Aug 12 01:34:02 CEST 2006


On Fri, Aug 11, 2006 at 07:19:30PM -0400, Alex Ionescu wrote:
[...]
> My bad, Lsar confused me.
> Correct services flow in NT is
> 
> CreateServiceW->RCreateServiceW->[RPC]->Sc* Internal APIs.
> 
> So Scmr == R.

My suggestion for svcctl.idl would be something like:

+#define Scmr(fn) Scmr ## fn
...
-  DWORD ScmrCloseServiceHandle([in] handle_t BindingHandle,
+  DWORD Scmr(CloseServiceHandle) ([in] handle_t BindingHandle,


That should make it easier to change the prefix.
But maybe just overkill.

Just my 2 cent...


    Elrond


More information about the Ros-dev mailing list