Supporting a Device

The PortCls system driver (Portcls.sys) provides several built-in port drivers to support audio devices that render and capture wave and MIDI streams.

All port drivers expose interfaces that derive from base interface IPort. IPort inherits the methods from base interface IUnknown. IPort provides the following additional methods:

IPort::GetDeviceProperty

Retrieves an audio adapter's Plug and Play properties from the registry.

IPort::Init

Initializes the port object.

IPort::NewRegistryKey

Creates a new registry key or opens an existing key.

PortCls implements the following port drivers:

WaveCyclic Port Driver

WavePci Port Driver

WaveRT Port Driver

Topology Port Driver

MIDI Port Driver

DMus Port Driver

 

 

Send comments about this topic to Microsoft

顯示:
© 2014 Microsoft