mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 09:11:42 +00:00
[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:
parent
c51e3b4745
commit
e7ffaab876
1 changed files with 5 additions and 2 deletions
|
@ -2885,10 +2885,13 @@ InstallDevice(PCWSTR DeviceInstance, BOOL ShowWizard)
|
|||
|
||||
/* Wait for the function to connect to our pipe */
|
||||
if(!ConnectNamedPipe(hPipe, NULL))
|
||||
{
|
||||
if (GetLastError() != ERROR_PIPE_CONNECTED)
|
||||
{
|
||||
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) */
|
||||
wcscpy(InstallEventName, L"Global\\PNP_Device_Install_Event_0.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue