Muokkaa

Jaa


Installing a Port Class Audio Adapter

This article describes the device-class-specific information that a vendor should include in an INF file to install a port-class audio adapter. For a description of the general INF file requirements and options for all device classes, see Device and Driver Installation.

The description of the required INF file entries in this section is based on a hypothetical XYZ Audio Device. The driver for this device is contained in a file named Xyzaudio.sys. Example Manufacturer, Models and DDInstall sections for the device are shown in the following:

  [Manufacturer]  ; Manufacturer section
  %ManufacturerName%=XYZ-Audio-Device, NTX86
  [XYZ-Audio-Device.NTX86]  ; Models section
  %XYZ-Audio-Device-Description%=XYZ-Audio-Device.Registration, <Plug and Play hardware ID>
  [XYZ-Audio-Device.Registration.NTX86]  ; DDInstall section
  Include=ks.inf, wdmaudio.inf
  Needs=KS.Registration, WDMAUDIO.Registration
  AddReg=XYZ-Audio-Device.AddReg

For more information, see INF Manufacturer Section, INF Models Section, INF DDInstall Section and INF AddReg Directive. The values of the Include and Needs directives are explained in Installing Core System Components for an Audio Adapter and Installing in Windows.

For more examples, see the INF files included in the SYVAD audio sample. For more information, see Sample Audio Drivers and Universal Windows Drivers for Audio.

The following articles present examples of the key sections in the INF file that installs the device: