CharSample

所属分类:驱动编程
开发工具:Visual C++
文件大小:2987KB
下载次数:71
上传日期:2005-10-31 14:19:50
上 传 者guiboy
说明:  CharSample实例的功能是:应用程序从键盘接收一个数字,之后通过DeviceIoControl调用,把数字传递给驱动程序,由驱动程序将一个数字(0-9)转换成一个中文(零-九),再把结果返回给应用程序,由应用程序显示出来。
(CharSample examples of functions are : applications from the keyboard to receive a number, followed by DeviceIoControl call, this time passed to the driver, a driver will be digital (0-9) converted into a Chinese (zero-9), and then return the results to the application, applications displayed.)

文件列表:
CharSample (0, 2003-04-14)
CharSample\Checked (0, 2003-04-14)
CharSample\Debug (0, 2003-04-14)
CharSample\EXE (0, 2003-04-14)
CharSample\EXE\Debug (0, 2003-04-14)
CharSample\EXE\OBJCHK (0, 2003-04-14)
CharSample\EXE\OBJCHK\I386 (0, 2003-04-14)
CharSample\SYS (0, 2003-04-14)
CharSample\SYS\Checked (0, 2003-04-14)
CharSample\SYS\OBJCHK (0, 2003-04-14)
CharSample\SYS\OBJCHK\I386 (0, 2003-04-14)
CharSample\CharSample.dsw (444, 2002-06-02)
CharSample\CharSample.ncb (91136, 2002-12-31)
CharSample\CharSample.opt (53760, 2002-12-31)
CharSample\CharSampleDeviceInterface.h (427, 2002-06-02)
CharSample\CharSampleioctl.h (252, 2002-06-02)
CharSample\DIRS (15, 2002-06-02)
CharSample\EXE\MAKEFILE (294, 2002-06-02)
CharSample\EXE\OBJCHK\I386\Test_CharSample.exe (114770, 2002-12-31)
CharSample\EXE\OBJCHK\I386\Test_CharSample.idb (246784, 2002-12-31)
CharSample\EXE\OBJCHK\I386\Test_CharSample.ilk (191328, 2002-12-31)
CharSample\EXE\OBJCHK\I386\test_charsample.pdb (593920, 2002-12-31)
CharSample\EXE\OpenByIntf.cpp (1223, 2002-06-02)
CharSample\EXE\SOURCES (1015, 2002-06-02)
CharSample\EXE\Test_CharSample.cpp (1964, 2002-12-31)
CharSample\EXE\Test_CharSample.dsp (2684, 2002-09-10)
CharSample\EXE\Test_CharSample.plg (1813, 2002-12-31)
CharSample\SYS\CharSample.cpp (3135, 2002-06-03)
CharSample\SYS\CharSample.dsp (4149, 2002-09-10)
CharSample\SYS\CharSample.h (449, 2002-06-02)
CharSample\SYS\CharSample.inf (2955, 2002-06-02)
CharSample\SYS\CharSample.plg (2990, 2002-12-26)
CharSample\SYS\CharSample.rc (2014, 2002-06-02)
CharSample\SYS\CharSampleDevice.cpp (3719, 2002-12-08)
CharSample\SYS\CharSampleDevice.h (1375, 2002-06-02)
CharSample\SYS\Checked\CharSample.map (44972, 2002-12-26)
CharSample\SYS\Checked\CharSample.obj (53348, 2002-12-26)
CharSample\SYS\Checked\CharSample.pch (3331784, 2002-12-26)
CharSample\SYS\Checked\CharSample.res (888, 2002-12-26)
... ...

This README file is generated automatically by DriverWizard To complete the driver, follow these steps: o Build the driver Build | Build CharSample.sys o Search for the string "TODO" and follow the instructions to complete your driver. o Review the registry settings created in CharSample.inf. The Wizard created the following files: Files that comprise your driver: readme.txt Contains information shown here. sys\CharSample.cpp Driver class implementation. sys\CharSample.h Driver class header file. sys\CharSample.inf INF file defines driver for plug and play installation. CharSampleioctl.h Definition of control codes CharSampleDeviceInterface.h Header file containing the GUID for the device interface. sys\CharSampleDevice.cpp Device (CharSampleDevice) implementation. sys\CharSampleDevice.h Device (CharSampleDevice) header file. sys\function.h Used by DriverWorks library to determine which handlers to provide. sys\CharSample.rc Shell for resource file (used for event messages, version resource) Files used by build utilities: sys\sources Used by BUILD program to determine what files comprise your driver. sys\makefile Used by BUILD program to build your driver. Files used by the test application: exe\Test_CharSample.cpp Console application with driver interface exe\OpenByIntf.cpp Used to open the device using a GUID interface. exe\sources Used by BUILD program to determine what files comprise your test application. exe\makefile Used by BUILD program to build your test application.

近期下载者

相关文件


收藏者