[DllImport("kernel32", EntryPoint="CallNamedPipe", CharSet=CharSet.Auto)]
private static extern bool CallNamedPipe(string lpNamedPipeName,
[MarshalAs(UnmanagedType.AsAny)] object lpInBuffer, int nInBufferSize,
[MarshalAs(UnmanagedType.AsAny)] object lpOutBuffer, int nOutBufferSize,
[In, Out] int[] lpBytesRead, int nTimeOut);
Gabriel Lozano-Morán
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.