I created a tiny example which calls DisconnectNamedPipe, added the function declaration to the header. I was able to successfully compile and link the example. Attaching the example and the patch. I'll submit the patch to CVS.
Let me know if the example works for you after applying the patch.
Andriy Palamarchuk
__________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards� http://movies.yahoo.com/