mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NETAPI32] Return the old values for NetGetJoinInformation() to fix Chrome Installer regression
Should fix CORE-17679
This commit is contained in:
parent
5a9c77b3be
commit
2210d23fc7
1 changed files with 7 additions and 1 deletions
|
@ -319,7 +319,7 @@ NetGetJoinInformation(
|
||||||
_Out_ LPWSTR *lpNameBuffer,
|
_Out_ LPWSTR *lpNameBuffer,
|
||||||
_Out_ PNETSETUP_JOIN_STATUS BufferType)
|
_Out_ PNETSETUP_JOIN_STATUS BufferType)
|
||||||
{
|
{
|
||||||
NET_API_STATUS status;
|
NET_API_STATUS status = NERR_Success;
|
||||||
|
|
||||||
TRACE("NetGetJoinInformation(%s %p %p)\n",
|
TRACE("NetGetJoinInformation(%s %p %p)\n",
|
||||||
debugstr_w(lpServer), lpNameBuffer, BufferType);
|
debugstr_w(lpServer), lpNameBuffer, BufferType);
|
||||||
|
@ -327,6 +327,8 @@ NetGetJoinInformation(
|
||||||
if (lpNameBuffer == NULL || BufferType == NULL)
|
if (lpNameBuffer == NULL || BufferType == NULL)
|
||||||
return ERROR_INVALID_PARAMETER;
|
return ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
/* Disabled because of CORE-17679 */
|
||||||
|
#if 0
|
||||||
*lpNameBuffer = NULL;
|
*lpNameBuffer = NULL;
|
||||||
RpcTryExcept
|
RpcTryExcept
|
||||||
{
|
{
|
||||||
|
@ -339,6 +341,10 @@ NetGetJoinInformation(
|
||||||
status = I_RpcMapWin32Status(RpcExceptionCode());
|
status = I_RpcMapWin32Status(RpcExceptionCode());
|
||||||
}
|
}
|
||||||
RpcEndExcept;
|
RpcEndExcept;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
*lpNameBuffer = NULL;
|
||||||
|
*BufferType = NetSetupUnknownStatus;
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue