点击或拖拽改变大小

KernelDeviceIoControl 方法

Sweet 开发框架

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

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int DeviceIoControl(
	IntPtr hDevice,
	int dwIoControlCode,
	IntPtr lpInBuffer,
	int nInBufferSize,
	IntPtr lpOutBuffer,
	int nOutBufferSize,
	ref int lpBytesReturned,
	ref OVERLAPPED lpOverlapped
)

参数

hDevice
类型:SystemIntPtr

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

dwIoControlCode
类型:SystemInt32

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

lpInBuffer
类型:SystemIntPtr

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

nInBufferSize
类型:SystemInt32

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

lpOutBuffer
类型:SystemIntPtr

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

nOutBufferSize
类型:SystemInt32

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

lpBytesReturned
类型:SystemInt32

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

lpOverlapped
类型:Sweet.Common.Win32OVERLAPPED

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

返回值

类型:Int32

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

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