Bewerken

Delen via


IMiniportWaveCyclic interface (portcls.h)

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

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

The IMiniportWaveCyclic interface provides a method for initializing the miniport object and a method for creating a miniport stream object. The stream object is associated with a pin on the WaveCyclic filter, which the adapter driver forms by binding the miniport object and the port object together.

Inheritance

The IMiniportWaveCyclic interface inherits from the IMiniport interface.

Methods

The IMiniportWaveCyclic interface has these methods.

 
IMiniportWaveCyclic::Init

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

The NewStream method creates a new instance of a logical stream that is associated with a specified physical channel.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h