点击或拖拽改变大小

KernelCreateNamedPipe 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int CreateNamedPipe(
	string lpName,
	int dwOpenMode,
	int dwPipeMode,
	int nMaxInstances,
	int nOutBufferSize,
	int nInBufferSize,
	int nDefaultTimeOut,
	ref SECURITY_ATTRIBUTES lpSecurityAttributes
)

参数

lpName
类型:SystemString

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="lpName"/> 文档]

dwOpenMode
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="dwOpenMode"/> 文档]

dwPipeMode
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="dwPipeMode"/> 文档]

nMaxInstances
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="nMaxInstances"/> 文档]

nOutBufferSize
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="nOutBufferSize"/> 文档]

nInBufferSize
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="nInBufferSize"/> 文档]

nDefaultTimeOut
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="nDefaultTimeOut"/> 文档]

lpSecurityAttributes
类型:Sweet.Common.Win32SECURITY_ATTRIBUTES

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <param name="lpSecurityAttributes"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.Kernel.CreateNamedPipe(System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,Sweet.Common.Win32.SECURITY_ATTRIBUTES@)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架