mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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_ PNETSETUP_JOIN_STATUS BufferType)
|
||||
{
|
||||
NET_API_STATUS status;
|
||||
NET_API_STATUS status = NERR_Success;
|
||||
|
||||
TRACE("NetGetJoinInformation(%s %p %p)\n",
|
||||
debugstr_w(lpServer), lpNameBuffer, BufferType);
|
||||
|
@ -327,6 +327,8 @@ NetGetJoinInformation(
|
|||
if (lpNameBuffer == NULL || BufferType == NULL)
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
/* Disabled because of CORE-17679 */
|
||||
#if 0
|
||||
*lpNameBuffer = NULL;
|
||||
RpcTryExcept
|
||||
{
|
||||
|
@ -339,6 +341,10 @@ NetGetJoinInformation(
|
|||
status = I_RpcMapWin32Status(RpcExceptionCode());
|
||||
}
|
||||
RpcEndExcept;
|
||||
#endif
|
||||
|
||||
*lpNameBuffer = NULL;
|
||||
*BufferType = NetSetupUnknownStatus;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue