Windows pipe implementation in DLL