Audio Helper Object Interfaces

The Port Class Library (portcls.sys) implements a variety of helper objects that provide functionality that is of general use to adapter drivers. These helper objects provide mechanisms for managing DMA channels, interrupt requests, registry access, resource lists, digital rights, and hardware events. This section provides details on the interfaces that are exposed by those objects.

The following interfaces are described in this section:

IDrmPort

Helps a miniport driver keep track of composite DRM rights.

IDrmPort2

Helps a miniport driver keep track of composite DRM rights. This is an extended version of IDrmPort.

IInterruptSync

A synchronization mechanism for coordinating shared access to interrupt service requests.

IMasterClock

Provides DirectMusic streams with access to the current reference time from the master clock.

IPortClsEtwHelper

Used by a miniport driver to access Event Tracing for Windows (ETW) helper functions. IPortClsVersion

Identifies the version of the Microsoft Windows operating system that the driver is running on.

IPortEvents

Used by a miniport driver to notify a port driver of hardware events.

IPreFetchOffset

Sets the prefetch offset, which is the number of bytes of data separating the write cursor from the play cursor in a Microsoft DirectSound hardware buffer.

IRegistryKey

Provides read/write access to a registry key and its subkeys.

IResourceList

Specifies a list of resources such as I/O ports, DMA channels, and interrupts.

IServiceGroup

Used to demultiplex interrupt service requests to a list of objects with IServiceSink interfaces.

IServiceSink

Represents the target of an interrupt service request.

IUnregisterPhysicalConnection

Deletes the registration of a physical connection between two subdevices in the same audio adapter or in two different adapters.

IUnregisterSubdevice

Deletes the registration of a dynamic subdevice in an audio adapter.