点击或拖拽改变大小

KernelDuplicateHandle 方法

Sweet 开发框架

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

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int DuplicateHandle(
	IntPtr hSourceProcessHandle,
	IntPtr hSourceHandle,
	IntPtr hTargetProcessHandle,
	ref int lpTargetHandle,
	int dwDesiredAccess,
	int bInheritHandle,
	int dwOptions
)

参数

hSourceProcessHandle
类型:SystemIntPtr

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

hSourceHandle
类型:SystemIntPtr

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

hTargetProcessHandle
类型:SystemIntPtr

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

lpTargetHandle
类型:SystemInt32

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

dwDesiredAccess
类型:SystemInt32

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

bInheritHandle
类型:SystemInt32

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

dwOptions
类型:SystemInt32

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

返回值

类型:Int32

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

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