点击或拖拽改变大小

KernelGetNamedPipeHandleState 方法

Sweet 开发框架

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

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int GetNamedPipeHandleState(
	IntPtr hNamedPipe,
	ref int lpState,
	ref int lpCurInstances,
	ref int lpMaxCollectionCount,
	ref int lpCollectDataTimeout,
	string lpUserName,
	int nMaxUserNameSize
)

参数

hNamedPipe
类型:SystemIntPtr

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

lpState
类型:SystemInt32

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

lpCurInstances
类型:SystemInt32

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

lpMaxCollectionCount
类型:SystemInt32

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

lpCollectDataTimeout
类型:SystemInt32

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

lpUserName
类型:SystemString

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

nMaxUserNameSize
类型:SystemInt32

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

返回值

类型:Int32

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

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