资源简介
PCI 9056的驱动程序,利用它修改修改可以使用于其他系列的驱动。
代码片段和文件信息
// OpenByIntf.cpp - open device by device interface
// Copyright (c) 1998 Compuware Corporation
#define NOCRYPT // prevent attempt to include missing files
#define _INC_EXCPT // prevent excpt.h from being included
#include
#include
#include
#include // DriverWorks
// OpenByInterface
//
// Opens the nth device found with the given interface class
HANDLE OpenByInterface(
GUID* pClassGuid // points to the GUID that identifies the interface class
DWORD instance // specifies which instance of the enumerated devices to open
PDWORD pError // address of variable to receive error status
)
{
HANDLE hDev;
CDeviceInterfaceClass DevClass(pClassGuid pError);
if (*pError != ERROR_SUCCESS)
return INVALID_HANDLE_VALUE;
CDeviceInterface DevInterface(&DevClass instance pError);
if (*pError != ERROR_SUCCESS)
return INVALID_HANDLE_VALUE;
hDev = CreateFile(
DevInterface.DevicePath()
GENERIC_READ | GENERIC_WRITE
FILE_SHARE_READ | FILE_SHARE_WRITE
NULL
OPEN_EXISTING
FILE_ATTRIBUTE_NORMAL
NULL
);
if (hDev == INVALID_HANDLE_VALUE)
*pError = GetLastError();
return hDev;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 15 2010-05-17 14:32 PCI9056\dirs
文件 3374 2010-05-17 14:32 PCI9056\exe\buildchk.log
文件 291 2010-05-17 14:32 PCI9056\exe\makefile
文件 362 2010-05-17 14:32 PCI9056\exe\obj\_ob
文件 16406 2010-05-17 20:56 PCI9056\exe\objchk\i386\OpenByIntf.obj
文件 0 2010-05-17 14:32 PCI9056\exe\objchk\i386\openbyintf.sbr
文件 1827840 2010-05-17 14:32 PCI9056\exe\objchk\i386\Test_PCI9056.bsc
文件 151625 2010-05-17 20:56 PCI9056\exe\objchk\i386\Test_PCI9056.exe
文件 115712 2010-05-17 20:56 PCI9056\exe\objchk\i386\Test_PCI9056.idb
文件 256912 2010-05-17 20:56 PCI9056\exe\objchk\i386\Test_PCI9056.ilk
文件 19300 2010-05-17 20:56 PCI9056\exe\objchk\i386\Test_PCI9056.obj
文件 2429876 2010-05-17 20:56 PCI9056\exe\objchk\i386\Test_PCI9056.pch
文件 692224 2010-05-17 20:56 PCI9056\exe\objchk\i386\test_pci9056.pdb
文件 0 2010-05-17 14:32 PCI9056\exe\objchk\i386\test_pci9056.sbr
文件 1223 2010-05-17 14:32 PCI9056\exe\OpenByIntf.cpp
文件 383 2010-05-17 14:32 PCI9056\exe\sources
文件 13699 2010-05-17 14:32 PCI9056\exe\Test_PCI9056.cpp
文件 9665 2010-05-17 14:32 PCI9056\exe\Test_PCI9056.dsp
文件 549 2010-05-17 14:32 PCI9056\exe\Test_PCI9056.dsw
文件 50176 2010-05-17 14:32 PCI9056\exe\Test_PCI9056.ncb
文件 53760 2010-05-17 14:32 PCI9056\exe\Test_PCI9056.opt
文件 2092 2010-05-17 20:56 PCI9056\exe\Test_PCI9056.plg
文件 395 2010-05-17 20:56 PCI9056\PCI9056.bbs
文件 435 2010-05-17 14:32 PCI9056\PCI9056.dsw
文件 123904 2010-05-18 14:30 PCI9056\PCI9056.ncb
文件 278016 2010-05-18 14:30 PCI9056\PCI9056.opt
文件 419 2010-05-17 14:32 PCI9056\PCI9056DeviceInterface.h
文件 611 2010-05-17 14:32 PCI9056\PCI9056ioctl.h
文件 1612 2010-05-17 14:32 PCI9056\readme.txt
文件 509 2010-05-17 14:32 PCI9056\sys\function.h
............此处省略36个文件信息
- 上一篇:arm7用户手册中文非常详细
- 下一篇:实现多个文件上传
相关资源
- xds100_drivers.zip
- xds100_drivers/CCS高版本适用/仿真器驱动
- linux usb core driver源码分析
- IEDriverServer_x64_2.53.1.zip
- Nuvoton_8051_Keil_uVision_Driver_v2.00.6561.zi
- 采集卡驱动DRIVER.CY3014.DIRECTSOUND_YS 1.
- selenium webdriver_第三版
- geckodriver-v0.18.0-linux32
- nvp6134 datasheet and driver
- Edimax 7822 rtl8812a for Omnipeek adapt driver
- WindowsApplicationDriver.msi
- Honeywell1900模拟串口驱动 USB _Serial_Dr
- DOS622镜像文件
- Motocom driver
- 最新版 selenium chrome driver 2.34
- geckodriver-v0.21.0-win64.zip
- TabletDriver
- STM32 USB转串口驱动 Virtual COM Port Driv
- windows server 2008上可以使用的chrome和
- EPD(EINK)linux驱动EPD Driver for linux k
- lpc175x_6x_cmsis_driver_library+lpc1768中文手
- Linux Device Drivers Development(pdf+epub+mo
- WinDriver32 位破解版(内附注册机)
- Windriver 12.00
-
Jli
nkARM驱动V4.68a - USB2.0 Capture controller Drivers win7win8
- chromedriver_72.0.3626.7集合win32linux64mac6
- geckodriver v0.24.0,包含mac、linux、win3
- LDD3英文版PDF
- oppo usb 驱动
评论
共有 条评论