Setting Device Parameters by Using INF
The device parameters described in Device Parameters can be set by the installation file (INF) for the device. The relevant sections of a sample INF are presented below.
; Set parameters on Windows 95 and Windows 98 operating systems.
[DriverInstall.hw]
AddReg=DriverHwPropReg
; Set parameters on Windows NT-based operating systems.
[DriverInstall.NT.hw]
AddReg=DriverHwPropReg
; Related section that specifies the device parameters.
[DriverHwPropReg]
HKR,,WMDMSPCLSID,,"{00000000-0000-0000-0000-000000000000}"
HKR,,OptimalTransferSize,0x10001,0x10000
HKR,,UseMetadataViews,0x10001,0x1
See Also