Linux driver for FujIFilm FinePix digital cameras in PC-CAM (i.e. webcam) mode driver/ Contains the driver sources. Compile with "make". Then as root, install with "make install". Type "modprobe finepix" to load the module. userspace/ Type "make" to compile. fpix: test program, independant of the driver. Uses libusb to directly access the camera and capture a frame, saved under frame.jpg. Will not work IF the driver is loaded. fpixtest: test program. Uses V4L2 to capture an image. fpix-stress-v4l2: never ending (in theory) stress test derived from fpixtest.
标签: driver i.e. FujIFilm FinePix
上传时间: 2014-11-28
上传用户:chenxichenyue
//打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 IF(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buffer 里 //WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, NULL) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe CloseHandle(hPipe) } //使用 DeviceIoControl 访问 USB 设备 HANDLE hDevice = OpenMyDevice() IF(hDevice != INVALID_HANDLE_VALUE) //打开设备成功 { //这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料 IF(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, NULL)) { //成功 } CloseHandle(hDevice) }
标签: Pipe OpenMyDevPipe MyPipe1 HANDLE
上传时间: 2014-11-25
上传用户:stampede
One-channel queuing system simulator (M/M/1) * Arrival and service times are random and distributed exponetially. * * The simulator is time-slice-driven, i.e. the system model is being * run at discrete time points, with constant increments deltaT. * At each such time moment, program checks IF a new item arrival or * release has occurred during previus deltaT.
标签: One-channel distributed and simulator
上传时间: 2014-01-15
上传用户:kr770906
* "Copyright (c) 2006 Robert B. Reese ("AUTHOR")" * All rights reserved. * (R. Reese, reese@ece.msstate.edu, Mississippi State University) * IN NO EVENT SHALL THE "AUTHOR" BE LIABLE TO ANY PARTY FOR * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE "AUTHOR" * HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
上传时间: 2015-09-24
上传用户:mpquest
This tutorial attempts to get you started developing with the Win32 API as quickly and clearly as possible. It is meant to be read as a whole, so please read it from beginning to end before asking questions... most of them will probably be answered. Each section builds on the sections before it. I have also added some solutions to common errors in Appendix A. IF you ask me a question that is answered on this page, you will look very silly.
标签: developing tutorial attempts clearly
上传时间: 2015-09-29
上传用户:wanqunsheng
这是写给作为软件工程项目经理的书,原书的书评是: "IF you re looking for solid, easy-to-follow advice on estimation, requirements gathering, managing change, and more, you can stop now: this is the book for you." --Scott Berkun, Author of The Art of Project Management
上传时间: 2013-12-17
上传用户:225588
Visual Basic 6.0可以通过调用API函数格式化一个磁盘,无论是软盘还是硬盘。 打开一个新的项目(工程1) ,如果你没有更改过缺省模式,那么Visual Basic 6.0会自动添加一个form1文件,在form1上添加一个命令控件,将下面的代码拷入。 Option Explicit Private Declare Function SHFormatDrive Lib"shell32"( ByVal Hend AS Long,ByVal Drive AS Long,ByVal FormatID AS Long,ByVal Options AS Long) as Long Private Sub FormatDisk(intDrive as integer,blnQuickFormat as Boolean) dim lngReturn As Long IF (blnQuickFormat) then lngReturn= SHFormatDrive(0,intDrive,0&,1&) else lngReturn= SHFormatDrive(0,intDrive,0&,0&) end IF end Sub Private Sub Command1_Click() call FormatDisk(0,True) End Sub 运行此程序。 注意FormatDisk函数的第一个变量很重要,他的值是0,1,2时代表格式化的分别是:A、B、C盘。
上传时间: 2015-10-05
上传用户:kytqcool
American Gladiator,You are consulting for a game show in which n contestants are pitted against n gladiators in order to see which contestants are the best. The game show aims to rank the contestants in order of strength this is done via a series of 1-on-1 matches between contestants and gladiators. IF the contestant is stronger than the gladiator, then the contestant wins the match otherwise, the gladiator wins the match. IF the contestant and gladiator have equal strength, then they are “perfect equals” and a tie is declared. We assume that each contestant is the perfect equal of exactly one gladiator, and each gladiator is the perfect equal of exactly one contestant. However, as the gladiators sometimes change from one show to another, we do not know the ordering of strength among the gladiators.
标签: contestants consulting Gladiator are
上传时间: 2013-12-18
上传用户:windwolf2000
查字典背单词系统,系统虽小,设计系统使用的知识点很多。 从结构化程序设计的角度来说,使用了结构化程序设计的三种基本结构:顺序结构,分支结构(简单分支、多分支、IF语句的嵌套调用),循环结构(步长型循环、扫描循环)。 从面向对象程序设计的角度来说,用到了各种对象:表单、表单集、标签控件、文本框控件、命令按钮控件、编辑框控件、选项按钮组控件、复选框控件、列表框控件、组合框控件、图象控件、计时器控件、表格控件。用到了以上控件的常用事件、属性和方法。多处用到了自定义属性和自定义方法,使用了表单参数的传递和表单结果的返回。 给出一个很好的随机数使用的实例,宏代换函数和类型测试函数应用,多处使用信息窗口和提示信息窗。
标签:
上传时间: 2013-12-18
上传用户:坏天使kk
madCollection 2.5.2.6 full source This is not your every day VCL component collection. You won t see many new colored icons in the component palette. My packages don t offer many visual components to play with. Sorry, IF you expected that! My packages are about low-level stuff for the most part, with as easy handling as possible. To find the hidden treasures, you will have to look at the documentation (which you re reading just in the moment). Later I plan on writing some nice demos, but for now the documentation must be enough to get you started.
标签: madCollection collection component source
上传时间: 2014-01-18
上传用户:yoleeson