DeviceIoControl requires more parameters than ioctl does.
deviceiocontrol比ioctl需要更多的参数。
Unlike the corresponding system call DeviceIOControl, the input parameter list in ioctl is not fixed.
与对应的系统调用DeviceIOControl不同,ioctl的输入参数列表并不固定。
If the pointer for an overlapped operation is set to NULL, DeviceIoControl will work in a blocked (synchronous) way.
如果重叠操作的指针设为NULL,那么DeviceIoControl将以阻塞(同步)方式工作。
The DeviceIoControl function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation.
也就是说,这个函数是对指定的设备驱动发送控制码,导致设备响应来完成指定的操作。
The DeviceIoControl function sends a control code directly to a specified device driver, causing the corresponding device to perform the specified operation.
也就是说,这个函数是对指定的设备驱动发送控制码,导致设备响应来完成指定的操作。
应用推荐