Use new interface names

svn path=/trunk/; revision=31849
This commit is contained in:
Hervé Poussineau 2008-01-18 10:08:49 +00:00
parent e83b5427a6
commit 5914c98aa9
4 changed files with 8 additions and 12 deletions

View file

@ -32,11 +32,7 @@ DWORD STDCALL RpcThreadRoutine(LPVOID lpParameter)
return 0; return 0;
} }
#ifdef _MSC_VER
Status = RpcServerRegisterIf(eventlog_v0_0_s_ifspec, NULL, NULL); Status = RpcServerRegisterIf(eventlog_v0_0_s_ifspec, NULL, NULL);
#else
Status = RpcServerRegisterIf(eventlog_ServerIfHandle, NULL, NULL);
#endif
if (Status != RPC_S_OK) if (Status != RPC_S_OK)
{ {

View file

@ -127,7 +127,7 @@ ScmStartRpcServer(VOID)
return; return;
} }
Status = RpcServerRegisterIf(svcctl_ServerIfHandle, Status = RpcServerRegisterIf(svcctl_v2_0_s_ifspec,
NULL, NULL,
NULL); NULL);
if (Status != RPC_S_OK) if (Status != RPC_S_OK)

View file

@ -102,7 +102,7 @@ LsarStartRpcServer(VOID)
return; return;
} }
Status = RpcServerRegisterIf(lsarpc_ServerIfHandle, Status = RpcServerRegisterIf(lsarpc_v0_0_s_ifspec,
NULL, NULL,
NULL); NULL);
if (Status != RPC_S_OK) if (Status != RPC_S_OK)

View file

@ -8,21 +8,21 @@
<file>pnp.idl</file> <file>pnp.idl</file>
</module> </module>
<module name="scm_server" type="rpcserver"> <module name="scm_server" type="rpcserver">
<file switches="--oldnames">svcctl.idl</file> <file>svcctl.idl</file>
</module> </module>
<module name="scm_client" type="rpcclient"> <module name="scm_client" type="rpcclient">
<file switches="--oldnames">svcctl.idl</file> <file>svcctl.idl</file>
</module> </module>
<module name="eventlog_server" type="rpcserver" allowwarnings="true"> <module name="eventlog_server" type="rpcserver" allowwarnings="true">
<file switches="--oldnames">eventlogrpc.idl</file> <file>eventlogrpc.idl</file>
</module> </module>
<module name="eventlog_client" type="rpcclient" > <module name="eventlog_client" type="rpcclient" >
<file switches="--oldnames">eventlogrpc.idl</file> <file>eventlogrpc.idl</file>
</module> </module>
<module name="lsa_server" type="rpcserver"> <module name="lsa_server" type="rpcserver">
<file switches="--oldnames">lsa.idl</file> <file>lsa.idl</file>
</module> </module>
<module name="lsa_client" type="rpcclient"> <module name="lsa_client" type="rpcclient">
<file switches="--oldnames">lsa.idl</file> <file>lsa.idl</file>
</module> </module>
</group> </group>