[UMPNPMGR]

- It is not an error when the client is already connected
- Fixes random driver installation failures

svn path=/trunk/; revision=59142
This commit is contained in:
Johannes Anderwald 2013-06-02 12:59:06 +00:00
parent c51e3b4745
commit e7ffaab876

View file

@ -2886,8 +2886,11 @@ InstallDevice(PCWSTR DeviceInstance, BOOL ShowWizard)
/* Wait for the function to connect to our pipe */ /* Wait for the function to connect to our pipe */
if(!ConnectNamedPipe(hPipe, NULL)) if(!ConnectNamedPipe(hPipe, NULL))
{ {
DPRINT1("ConnectNamedPipe failed with error %u\n", GetLastError()); if (GetLastError() != ERROR_PIPE_CONNECTED)
goto cleanup; {
DPRINT1("ConnectNamedPipe failed with error %u\n", GetLastError());
goto cleanup;
}
} }
/* Pass the data. The following output is partly compatible to Windows XP SP2 (researched using a modified newdev.dll to log this stuff) */ /* Pass the data. The following output is partly compatible to Windows XP SP2 (researched using a modified newdev.dll to log this stuff) */