From: Ge van Geldorp
The patch below just makes NpfsWaitPipe
return success in case it's already connected, which solves
the umpnpmgr problem.
Forgot the patch:
Index: fsctrl.c
===================================================================
--- fsctrl.c (revision 18977)
+++ fsctrl.c (working copy)
@@ -278,8 +278,13 @@
WaitPipe = (PFILE_PIPE_WAIT_FOR_BUFFER)Irp->AssociatedIrp.SystemBuffer;
Pipe = Fcb->Pipe;
- if (Fcb->PipeState != 0)
+ if (FILE_PIPE_CONNECTED_STATE == Fcb->PipeState)
{
+ DPRINT("Pipe is already connected\n");
+ return STATUS_SUCCESS;
+ }
+ else if (Fcb->PipeState != 0)
+ {
DPRINT("Pipe is not in passive (waiting) state!\n");
return STATUS_UNSUCCESSFUL;
}