Welcome![Sign In][Sign Up]
Location:
Search - Ioctl

Search list

[OS programManipulating_the_Keyboard_Lights_in_NT_src

Description: This code demonstrates manipulation of the keyboard indicator lights in Windows NT 4.0. A few relevant values were borrowed from the DDK headers, so it is not necessary to have the DDK installed, to build these sources. There s really nothing fancy about this code, it creates a DOS device for the keyboard device, opens a handle to that device, and calls DeviceIoControl to send IOCTL function codes to the device. It did require a fair amount digging around in the DDK to create this effect, and it is an interesting twist on an alternate UI mechanism, and thus I felt it might be suitable for inclusion in this archive. A high-level, multi-threaded function to flash a keyboard light continuously in its own thread, is included. This call is demonstrated in the sample project. NTKbdLites can be easily built for inclusion in a static link library by defining STATIC_LIBRARY on the compiler command line or in settings. -This code demonstrates manipulation of the keyboard indicator lights in Windows NT 4.0. A few relevant values were borrowed from the DDK headers, so it is not necessary to have the DDK installed, and to build these sources. There s really nothing fancy about this code, it creates a DOS device for the keyboard device, opens a handle to that device, and calls to send DeviceIoControl did function codes to the device. It did require a fair amount digging around in the DDK to create this effect, and it is an interesting twist on an alternate UI mechanism, and thus I felt it might be suitable for inclusion in this archive. A high-level, multi-threaded function to flash a light keyboard continuously in its own thread, is included. This call is demonstrated in the sample project. NTKbdLites can be
Platform: | Size: 6555 | Author: guard2002 | Hits:

[Linux-UnixGuiCamera

Description: 用的是ov的摄像头,在用xawtv打开时,可以看到捕获的画面还算流畅. 自己改编了一个video4linux的程序,但是效率很低 从ioctl (dev, VIDIOCMCAPTURE, &vid_mmap) 到ioctl (dev, VIDIOCSYNC, &vid_mmap.frame) 程序运行一共用了0.25s左右-use the ov cameras, on the xawtv opened, can see the screen capture fairly fluent. their adaptation of a video4linux procedures, However, the low efficiency from the ioctl (dev, VIDIOCMCAPTURE.
Platform: | Size: 1412 | Author: 1212 | Hits:

[Other resourceLINUX_DRVER

Description: 1、linux下8019的移植 2、LINUX USB 3、write,ioctl,select-1, 8019 under linux transplant two, three USB LINUX, write, ioctl, select
Platform: | Size: 829447 | Author: Cecil | Hits:

[Driver DevelopIoctlDecoder

Description: IOCTL 宏代码解码器。在驱动开发中,经常要用到io控制代码,这个工具可以帮你解释相应的IO控制代码的具体含义。附带了此工具的Win32asm源码。很有用的工具!-IOCTL code decoder. Drivers in the development, which often have to use io control code, This tool can help you explain the corresponding IO control code specific meaning. Fringe of the tool Win32asm source. Very useful tool!
Platform: | Size: 35955 | Author: guanjie | Hits:

[Other resourceWG

Description: 这个一个与具体设备无关的特殊设备的驱动程序,实际中,还可以涉及到很多内容,如ioctl、I/O端口等,此方面,我进在研究学习中!
Platform: | Size: 1436 | Author: 123 | Hits:

[Other resourceled_linux2.4.18

Description: Linux 2.4.18 s3c2440 led driver 使用dev-C++撰寫,需要linux 2.4.18 kernel include,編譯完成後產生led module。 insmod main.o //安裝模組 mknod /dev/leds c 221 0 使用方法: int main(int argc, char *argv[]) { int testdev //led test... testdev = open(\"/dev/QuickMarkLed\",O_RDWR) ioctl(testdev, 2, 1) //ioctl(device, led number, open/close) open=1 ioctl(testdev, argv[1][0]- 0 , argv[2][0]- 0 ) //ioctl(device, led number, open/close) open=1 close(testdev) return 0 }
Platform: | Size: 5734 | Author: Jia-Yang Chen | Hits:

[Linux-Unixlcd-drv

Description: lcddrv1.c 为驱动源程序 lcddrv1_user.c为应用程序代码 功能: 在ioctl中区分所写的数据是命令,还是地址加数据,flag=1是只写命令,flag=0时写地址和数据的组合, 地址号在前面,显示的字在后面
Platform: | Size: 2966 | Author: zhengbo | Hits:

[OS programioctl-sample

Description: 比较简单的io控制的过滤驱动程序示例代码,值得读一读。
Platform: | Size: 17086 | Author: hardway | Hits:

[OS programNativeDemo

Description: 不用ddk 编译一个 native app 应用 大家可能都比较熟悉,这个例子演示了如何用 vc2003 或 vc2005 来编译一个 native 类型的应用程序, 这个例子同时也演示了 native 应用中如何加载一个 驱动程序,以及通过 ioctl 和驱动程序交互,同时也演示了 native 应用程序如何通过键盘与用户交互
Platform: | Size: 56088 | Author: 郑兴林 | Hits:

[Internet-Networkioctl02-Get

Description: 使用ioctl来读取本地ip和netmask值
Platform: | Size: 3543 | Author: 谢经波 | Hits:

[Internet-Networkioctl03-Set

Description: 用ioctl来修改本地ip和netmask
Platform: | Size: 3629 | Author: 谢经波 | Hits:

[WinSock-NDISioctl04-AddRT

Description: 用ioctl来为系统添加一条路由。添加的路由可以用route命令查看
Platform: | Size: 3598 | Author: 谢经波 | Hits:

[Internet-Networkioctl06-DelRT

Description: 用ioctl删除一条路由,通过指定ip,netmask和gw来删除指定的路由。
Platform: | Size: 3560 | Author: 谢经波 | Hits:

[Linux-Unixcx18-ioctl

Description: cx18 ioctl system call for Linux v2.13.6.
Platform: | Size: 8192 | Author: sobansun | Hits:

[Linux-Unixv4l2-ioctl

Description: A generic framework to process V4L2 ioctl commands.
Platform: | Size: 17408 | Author: lingzgbt | Hits:

[Linux-Unixcx18-ioctl

Description: cx18 ioctl system call for Linux v2.13.6.
Platform: | Size: 8192 | Author: cghrmue | Hits:

[Linux-Unixdm-ioctl

Description: The ioctl interface needs to be able to look up devices by name or uuid.
Platform: | Size: 15360 | Author: gkkdbei | Hits:

[Linux-Unixdm-ioctl

Description: A traditional ioctl interface for the device mapper.
Platform: | Size: 3072 | Author: cietengrt | Hits:

[Linux-Unixioctl-types

Description: Get definition of constants for use with `ioctl .
Platform: | Size: 1024 | Author: mangpingph | Hits:

[Linux-Unixioctl

Description: Process private IOCTL messages (typically scctrl).Perform a hard reset of the adapter. -Process private IOCTL messages (typically scctrl).Perform a hard reset of the adapter.
Platform: | Size: 3072 | Author: cuemukn | Hits:
« 1 2 34 5 6 7 8 9 10 ... 16 »

CodeBus www.codebus.net