赠送两个学生毕业设计

源代码在线查看: test.inf.txt

软件大小: 1615 K
上传用户: zhaobaoru
关键词: 毕业设计
下载地址: 免注册下载 普通下载 VIP

相关代码

				;
				; File Name: test.inf.txt
				; Install information file for test Driver
				;
				; It is not a complete .inf file.  It lists sections of a .inf file that need to be
				; added to a WDM function driver's .inf file to have a filter driver loaded
				; for the WDM device for Windows 9x and Windows 2000/XP.  It can be used as an upper 
				; or lower filter.
				
				[Manufacturer]
				;   This should already exist in the WDM function driver's .inf file
				;"TheVendor"=MANUF
				
				[MANUF]
				;   This should already exist in the WDM function driver's .inf file
				;"DeviceDescription"=InstallSectionName, PLUG_AND_PLAY_HARDWARE_ID
				
				[InstallSectionName]
				;   This should already exist in the WDM function driver's .inf file
				;CopyFiles=MyFileListSection
				;AddReg=MyAddRegistrySection
				
				[InstallSectionName.HW]
				AddReg=MyHWAddRegistrySection
				
				[InstallSectionName.NT]
				;   This should already exist in the WDM function driver's .inf file
				;CopyFiles=MyFileListSection
				;AddReg=MyAddRegistrySection
				
				[InstallSectionName.NT.HW]
				AddReg=MyHWAddRegistrySectionNT
				
				[InstallSectionName.NT.Services]
				;   There should exist an AddService directive for the WDM function driver that
				;   is similar to the following line
				;
				;Addservice = TheWDMFunctionDriver, 0x00000002, TheService
				;
				;   Add another directive for the WDM filter driver
				;
				Addservice = test,, testInst
				
				[testInst]
				DisplayName    = "test"
				ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
				StartType      = 3                  ; SERVICE_AUTO_START
				ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
				ServiceBinary  = %12%\test.sys
				LoadOrderGroup = Extended Base
				
				[MyAddRegistrySection]
				;   This should already exist in the WDM function driver's .inf file
				;
				;
				
				[MyFileListSection]
				;   This should already exist in the WDM function driver's .inf file
				;
				;   The WDM function driver should already be listed.
				;TheWDMFunctionDriver.sys
				;
				;   Add the WDM filter driver to the list of files
				;
				test.sys
				
				[MyHWAddRegistrySection]
				;
				;   This section is for installing PnP filter drivers under Windows 98.  
				;   This will add values to the hardware registry key of the device located
				;   at HKLM\Enum\WDM\PNP_ID\DeviceInstanceID
				;
				;   Note:  replace 'WDM' with bustype;  For instance, USB.
				;
				;   "LowerFilters" and "UpperFilters" are special values that indicate to
				;   the operating system that filter drivers should be loaded along with the
				;   function driver and that control the load order of the drivers.  test driver specified
				;   with "LowerFilters" will be loaded before the function driver and its
				;   AddDevice routine will be called before the function driver's.  test driver
				;   specified with "UpperFilters" will be loaded after the function driver's
				;   and its AddDevice routine will be called after the function driver's.
				;
				;   This .inf file will use the test sample as a lower filter.  To use it as
				;   an upper filter, use the commented out directive.
				;
				;HKR,,"LowerFilters",0x00010000,"test.sys"
				HKR,,"UpperFilters",0x00010000,"test.sys"
				
				[MyHWAddRegistrySectionNT]
				;
				;   This section is for installing PnP filter drivers under Windows 2000/XP.  
				;   This will add values to the hardware registry key of the device located
				;   at HKLM\System\CurrentControlSet\Enum\WDM\PNP_ID\DeviceInstanceID
				;
				;   Note:  replace 'WDM' with bustype;  For instance, USB.
				;
				;   "LowerFilters" and "UpperFilters" are special values that indicate to
				;   the operating system that filter drivers should be loaded along with the
				;   function driver and that control the load order of the drivers.  test driver specified
				;   with "LowerFilters" will be loaded before the function driver and its
				;   AddDevice routine will be called before the function driver's.  test driver
				;   specified with "UpperFilters" will be loaded after the function driver's
				;   and its AddDevice routine will be called after the function driver's.
				;
				;   This .inf file will use the test sample as a lower filter.  To use it as
				;   an upper filter, use the commented out directive.
				;
				;HKR,,"LowerFilters",0x00010000,"test"
				HKR,,"UpperFilters",0x00010000,"test"
				
				
							

相关资源