mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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");
|
TRACE("PLSAPR_SERVER_NAME_bind() called\n");
|
||||||
|
|
||||||
status = RpcStringBindingComposeW(pszSystemName,
|
status = RpcStringBindingComposeW(NULL,
|
||||||
L"ncacn_np",
|
L"ncacn_np",
|
||||||
NULL,
|
pszSystemName,
|
||||||
L"\\pipe\\lsarpc",
|
L"\\pipe\\lsarpc",
|
||||||
NULL,
|
NULL,
|
||||||
&pszStringBinding);
|
&pszStringBinding);
|
||||||
|
|
|
@ -30,9 +30,9 @@ SVCCTL_HANDLEA_bind(SVCCTL_HANDLEA szMachineName)
|
||||||
|
|
||||||
TRACE("SVCCTL_HANDLEA_bind() called\n");
|
TRACE("SVCCTL_HANDLEA_bind() called\n");
|
||||||
|
|
||||||
status = RpcStringBindingComposeA((UCHAR *)szMachineName,
|
status = RpcStringBindingComposeA(NULL,
|
||||||
(UCHAR *)"ncacn_np",
|
(UCHAR *)"ncacn_np",
|
||||||
NULL,
|
(UCHAR *)szMachineName,
|
||||||
(UCHAR *)"\\pipe\\ntsvcs",
|
(UCHAR *)"\\pipe\\ntsvcs",
|
||||||
NULL,
|
NULL,
|
||||||
(UCHAR **)&pszStringBinding);
|
(UCHAR **)&pszStringBinding);
|
||||||
|
@ -85,9 +85,9 @@ SVCCTL_HANDLEW_bind(SVCCTL_HANDLEW szMachineName)
|
||||||
|
|
||||||
TRACE("SVCCTL_HANDLEW_bind() called\n");
|
TRACE("SVCCTL_HANDLEW_bind() called\n");
|
||||||
|
|
||||||
status = RpcStringBindingComposeW(szMachineName,
|
status = RpcStringBindingComposeW(NULL,
|
||||||
L"ncacn_np",
|
L"ncacn_np",
|
||||||
NULL,
|
szMachineName,
|
||||||
L"\\pipe\\ntsvcs",
|
L"\\pipe\\ntsvcs",
|
||||||
NULL,
|
NULL,
|
||||||
&pszStringBinding);
|
&pszStringBinding);
|
||||||
|
|
Loading…
Reference in a new issue