Bewerken

Delen via


IMiniportWavePci interface (portcls.h)

The IMiniportWavePci interface is the primary interface that is exposed by the miniport driver for a WavePci audio device. The WavePci port driver communicates with the miniport driver through this interface. The adapter driver creates the WavePci miniport object and passes the object's IMiniportPci interface pointer to the WavePci port driver's IPort::Init method (see code example in Subdevice Creation). IMiniportWavePci inherits from the IMiniport interface.

An adapter driver forms a miniport/port driver pair by binding an IMiniportWavePci object to an IPortWavePci object. The PortCls system driver registers this pair with the system as a wave filter.

The IMiniportWavePci interface provides a method for initializing the miniport object, a method for creating a miniport stream object, and a method for notifying the miniport driver of a service request. The stream object is associated with a pin on the WavePci filter, which the adapter driver forms by binding the miniport object with the port object.

Inheritance

The IMiniportWavePci interface inherits from the IMiniport interface.

Methods

The IMiniportWavePci interface has these methods.

 
IMiniportWavePci::Init

The Init method initializes the WavePci miniport object. Initialization includes verification of the hardware using the resources specified in the resource list.
IMiniportWavePci::NewStream

The (IMiniportWavePci) NewStream (portcls.h) method creates a new instance of a logical stream associated with a specified physical channel.
IMiniportWavePci::Service

Learn how the Service method notifies the miniport driver of a request for service.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h