CreateNamedPipe (kernel32)
Last changed: -14.140.20.18

.
Summary

C# Signature:

[DllImport("kernel32.dll", SetLastError = true)]
static extern IntPtr CreateNamedPipe(string lpName, uint dwOpenMode,
   uint dwPipeMode, uint nMaxInstances, uint nOutBufferSize, uint nInBufferSize,
   uint nDefaultTimeOut, IntPtr lpSecurityAttributes);

[DllImport("kernel32.dll", SetLastError = true)]
static extern IntPtr CreateNamedPipe(string lpName, uint dwOpenMode,
   uint dwPipeMode, uint nMaxInstances, uint nOutBufferSize, uint nInBufferSize,
   uint nDefaultTimeOut, SECURITY_ATTRIBUTES lpSecurityAttributes);

User-Defined Types:

None.

Notes:

http://codemortem.blogspot.com/2006/01/creating-null-dacl-in-managed-code.html - Blog post on how to populate the SECURITY_ATTRIBUTES structure from managed code.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation