CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Ioctl
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Ioctl - List
[
OS program
]
Manipulating_the_Keyboard_Lights_in_NT_src
DL : 0
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
Date
: 2008-10-13
Size
: 6.4kb
User
:
guard2002
[
Linux-Unix
]
GuiCamera
DL : 1
用的是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.
Date
: 2008-10-13
Size
: 1.38kb
User
:
1212
[
Other resource
]
LINUX_DRVER
DL : 0
1、linux下8019的移植 2、LINUX USB 3、write,ioctl,select-1, 8019 under linux transplant two, three USB LINUX, write, ioctl, select
Date
: 2008-10-13
Size
: 810.01kb
User
:
Cecil
[
Driver Develop
]
IoctlDecoder
DL : 0
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!
Date
: 2008-10-13
Size
: 35.11kb
User
:
guanjie
[
Other resource
]
WG
DL : 0
这个一个与具体设备无关的特殊设备的驱动程序,实际中,还可以涉及到很多内容,如ioctl、I/O端口等,此方面,我进在研究学习中!
Date
: 2008-10-13
Size
: 1.4kb
User
:
123
[
Other resource
]
led_linux2.4.18
DL : 0
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 }
Date
: 2008-10-13
Size
: 5.6kb
User
:
Jia-Yang Chen
[
Linux-Unix
]
lcd-drv
DL : 0
lcddrv1.c 为驱动源程序 lcddrv1_user.c为应用程序代码 功能: 在ioctl中区分所写的数据是命令,还是地址加数据,flag=1是只写命令,flag=0时写地址和数据的组合, 地址号在前面,显示的字在后面
Date
: 2008-10-13
Size
: 2.9kb
User
:
zhengbo
[
OS program
]
ioctl-sample
DL : 0
比较简单的io控制的过滤驱动程序示例代码,值得读一读。
Date
: 2008-10-13
Size
: 16.69kb
User
:
hardway
[
OS program
]
NativeDemo
DL : 0
不用ddk 编译一个 native app 应用 大家可能都比较熟悉,这个例子演示了如何用 vc2003 或 vc2005 来编译一个 native 类型的应用程序, 这个例子同时也演示了 native 应用中如何加载一个 驱动程序,以及通过 ioctl 和驱动程序交互,同时也演示了 native 应用程序如何通过键盘与用户交互
Date
: 2008-10-13
Size
: 54.77kb
User
:
郑兴林
[
Internet-Network
]
ioctl02-Get
DL : 0
使用ioctl来读取本地ip和netmask值
Date
: 2008-10-13
Size
: 3.46kb
User
:
谢经波
[
Internet-Network
]
ioctl03-Set
DL : 0
用ioctl来修改本地ip和netmask
Date
: 2008-10-13
Size
: 3.54kb
User
:
谢经波
[
WinSock-NDIS
]
ioctl04-AddRT
DL : 0
用ioctl来为系统添加一条路由。添加的路由可以用route命令查看
Date
: 2008-10-13
Size
: 3.51kb
User
:
谢经波
[
Internet-Network
]
ioctl06-DelRT
DL : 0
用ioctl删除一条路由,通过指定ip,netmask和gw来删除指定的路由。
Date
: 2008-10-13
Size
: 3.48kb
User
:
谢经波
[
Linux-Unix
]
cx18-ioctl
DL : 0
cx18 ioctl system call for Linux v2.13.6.
Date
: 2025-07-07
Size
: 8kb
User
:
sobansun
[
Linux-Unix
]
v4l2-ioctl
DL : 0
A generic framework to process V4L2 ioctl commands.
Date
: 2025-07-07
Size
: 17kb
User
:
lingzgbt
[
Linux-Unix
]
cx18-ioctl
DL : 0
cx18 ioctl system call for Linux v2.13.6.
Date
: 2025-07-07
Size
: 8kb
User
:
cghrmue
[
Linux-Unix
]
dm-ioctl
DL : 0
The ioctl interface needs to be able to look up devices by name or uuid.
Date
: 2025-07-07
Size
: 15kb
User
:
gkkdbei
[
Linux-Unix
]
dm-ioctl
DL : 0
A traditional ioctl interface for the device mapper.
Date
: 2025-07-07
Size
: 3kb
User
:
cietengrt
[
Linux-Unix
]
ioctl-types
DL : 0
Get definition of constants for use with `ioctl .
Date
: 2025-07-07
Size
: 1kb
User
:
mangpingph
[
Linux-Unix
]
ioctl
DL : 0
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.
Date
: 2025-07-07
Size
: 3kb
User
:
cuemukn
«
1
2
3
4
5
6
7
8
9
10
...
16
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.