代码改变世界

INF Models Section

2012-04-30 09:01 by java20130722, 266 阅读, 0 推荐, 收藏,
摘要:INFModelsSection形如:[models-section-name]|[models-section-name.TargetOSVersion](WindowsXPandlaterversionsofWindows)device-description=install-section-name[,hw-id][,compatible-id...][device-description=install-section-name[,hw-id][,compatible-id]...]...Device-description标识要安装的设备。形如:"quotedstring& 阅读全文

INF DDInstall Section

2012-04-30 08:59 by java20130722, 381 阅读, 0 推荐, 收藏,
摘要:INFDDInstallSection形如:[install-section-name]|[install-section-name.nt]|[install-section-name.ntx86]|[install-section-name.ntia64]|(WindowsXPandlaterversionsofWindows)[install-section-name.ntamd64](WindowsXPandlaterversionsofWindows)[DriverVer=mm/dd/yyyy[,x.y.v.z]][CopyFiles=@filename|file-list-secti 阅读全文

INF DDInstall.Services Section

2012-04-30 08:58 by java20130722, 290 阅读, 0 推荐, 收藏,
摘要:INFDDInstall.ServicesSection[install-section-name.Services]|[install-section-name.nt.Services]|[install-section-name.ntx86.Services]|[install-section-name.ntia64.Services]|(WindowsXPandlaterversionsofWindows)[install-section-name.ntamd64.Services](WindowsXPandlaterversionsofWindows)AddService=Servic 阅读全文

VS2008编译的程序运行提示“由于应用程序配置不正确,应用程序未能启动”

2012-04-29 16:02 by java20130722, 478 阅读, 0 推荐, 收藏,
摘要:转自:http://hi.baidu.com/honfei/blog/item/2356ad9b624a01b8c9eaf485.htmlVC9编译的程序在没有装过VC9(确切的说是.Net Framework3.5)的机器上运行时,如果提示“由于应用程序配置不正确,应用程序未能启动。重新安装应用程序可能会纠正这个问题。”这个错误,那 么就说明该程序动态链接了VC9的运行时库,(如果还用到了MFC,那么可能动态链接了VC9的MFC库,同理还有ATL库),以及缺少对应的 manifest文件,程序在目标机器上没有找到这些库和配置文件,因此导致了这个错误。出现这种情况的VC9编译器可能存在3个版本 阅读全文

'PIO_STACK_LOCATION' : illegal use of this type as an expression

2012-04-29 11:33 by java20130722, 292 阅读, 0 推荐, 收藏,
摘要:今天编程的时候碰到这个问题,在网上查阅资料后得知只需把.c的文件后缀名改为.cpp即可。 阅读全文

IRP(I/O Request Package)详解

2012-04-28 20:42 by java20130722, 1072 阅读, 0 推荐, 收藏,
摘要:简介:IRP(I/O Request Package)在windows内核中,有一种系统组件——IRP,即输入输出请求包。当上层应用程序需要访问底层输入输出设备时,发出I/O请求,系统会把这些请求转化为IRP数据,不同的IRP会启动I/O设备驱动中对应的派遣函数。IRP类型由于IRP是响应上层应用程序的。可想而知,IRP类型是与上层对底层设备的访问类型相对应。文件相关的I/O函数如:CreateFile/ReadFile/WriteFile/CloseHandle等,操作系统就会将其转为IRP_MJ_CREATE/IRP_MJ_READ/IRP_MJ_WRITE/IRP_MJ_CLOSE等IR 阅读全文

sys文件--查看DbgPrint函数打印的信息

2012-04-28 16:51 by java20130722, 634 阅读, 0 推荐, 收藏,
摘要:环境:XP + VS2008 + WDK工具:DebugView+DriverMonitor查看DbgPrint函数打印的信息只需两步。step1:成功编译出sys文件。step2:打开DriverMonitor和DebugView软件。step3:用DriverMonitor加载对应的sys文件,在DebugView软件就可以查看到对应的DbgPrint 函数打印的信息。PS: 网上一些文章指出要在win7、vista下打印信息要用DbgPrintEx函数。 阅读全文

INF ClassInstall32.Services Section详解

2012-04-27 10:31 by java20130722, 463 阅读, 0 推荐, 收藏,
摘要:原文链接:http://msdn.microsoft.com/en-us/library/windows/hardware/ff546339(v=vs.85).aspx'ClassInstall32.Services Section形如:[ClassInstall32.Services] | [ClassInstall32.nt.Services] | [ClassInstall32.ntx86.Services] | [ClassInstall32.ntia64.Services] | (Windows XP and later versions of Windows) [Class 阅读全文

INF ClassInstall32 Section详解

2012-04-26 22:40 by java20130722, 563 阅读, 0 推荐, 收藏,
摘要:原文链接:http://msdn.microsoft.com/en-us/library/windows/hardware/ff546335(v=vs.85).aspxINF ClassInstall32 Section的形式如下:[ClassInstall32] | [ClassInstall32.nt] | [ClassInstall32.ntx86] | [ClassInstall32.ntia64] | (Windows XP and later versions of Windows) [ClassInstall32.ntamd64] (Windows XP and later .. 阅读全文

INF SourceDisksNames Section 和 SourceDisksFiles Section详解

2012-04-26 17:47 by java20130722, 903 阅读, 0 推荐, 收藏,
摘要:INF SourceDisksNames Section[SourceDisksNames] | [SourceDisksNames.x86] | [SourceDisksNames.ia64] | (Windows XP and later versions of Windows) [SourceDisksNames.amd64] (Windows XP and later versions of Windows) diskid = disk-description[,tag-or-cab-file] | diskid = disk-description[,[tag-or-cab-fi.. 阅读全文
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 58 下一页