Microsoft KB Archive/837637

= How to use or to reference the Usbser.sys driver from universal serial bus (USB) modem .inf files =

Article ID: 837637

Article Last Modified on 11/12/2004

-

APPLIES TO


 * Microsoft Win32 Device Driver Kit for Windows 2000
 * Microsoft Windows XP Driver Development Kit
 * Microsoft Windows Server 2003 Driver Development Kit

-



SUMMARY
Universal serial bus (USB) modem .inf files can both use the Usbser.sys driver and directly reference the Usbser.sys driver from the .inf file. However, we do not recommend this.

Instead, we recommend the following:
 * Drivers that are distributed with the operating system use the Usbser.sys driver.
 * Drivers that are not distributed with the operating system use the Include directive or the Needs directive. The Include directive is described in the &quot;More Information&quot; section.



MORE INFORMATION
To reference the Usbser.sys driver in all the products that are listed in the &quot;Applies to&quot; section, we recommend that USB modem .inf files reference the Mdmcpq.inf file.

For example, the DDInstall section of an .inf file uses the Include directive and may be similar to the following: [DDInstall.NT] include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection

[DDInstall.NT.Services] include=mdmcpq.inf AddService=usbser, 0x00000000, LowerFilter_Service_Inst

[DDInstall.NT.HW] include=mdmcpq.inf AddReg=LowerFilterAddReg The following sections appear in the Mdmcpq.inf file in all the products that are listed in the &quot;Applies to&quot; section:
 * FakeModemCopyFileSection
 * LowerFilter_Service_Inst
 * LowerFilterAddReg

