mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
Pass machine name to RpcStringBindingComposeA/W properly.
svn path=/trunk/; revision=37117
This commit is contained in:
parent
5de1f53be7
commit
e4bbc4a8bf
2 changed files with 6 additions and 6 deletions
|
@ -26,9 +26,9 @@ PLSAPR_SERVER_NAME_bind(PLSAPR_SERVER_NAME pszSystemName)
|
|||
|
||||
TRACE("PLSAPR_SERVER_NAME_bind() called\n");
|
||||
|
||||
status = RpcStringBindingComposeW(pszSystemName,
|
||||
status = RpcStringBindingComposeW(NULL,
|
||||
L"ncacn_np",
|
||||
NULL,
|
||||
pszSystemName,
|
||||
L"\\pipe\\lsarpc",
|
||||
NULL,
|
||||
&pszStringBinding);
|
||||
|
|
|
@ -30,9 +30,9 @@ SVCCTL_HANDLEA_bind(SVCCTL_HANDLEA szMachineName)
|
|||
|
||||
TRACE("SVCCTL_HANDLEA_bind() called\n");
|
||||
|
||||
status = RpcStringBindingComposeA((UCHAR *)szMachineName,
|
||||
status = RpcStringBindingComposeA(NULL,
|
||||
(UCHAR *)"ncacn_np",
|
||||
NULL,
|
||||
(UCHAR *)szMachineName,
|
||||
(UCHAR *)"\\pipe\\ntsvcs",
|
||||
NULL,
|
||||
(UCHAR **)&pszStringBinding);
|
||||
|
@ -85,9 +85,9 @@ SVCCTL_HANDLEW_bind(SVCCTL_HANDLEW szMachineName)
|
|||
|
||||
TRACE("SVCCTL_HANDLEW_bind() called\n");
|
||||
|
||||
status = RpcStringBindingComposeW(szMachineName,
|
||||
status = RpcStringBindingComposeW(NULL,
|
||||
L"ncacn_np",
|
||||
NULL,
|
||||
szMachineName,
|
||||
L"\\pipe\\ntsvcs",
|
||||
NULL,
|
||||
&pszStringBinding);
|
||||
|
|
Loading…
Reference in a new issue