IPort interface (portcls.h)

The IPort interface is the generic interface for audio port drivers. All audio port drivers expose IPort as part of their lower edge. The adapter driver calls the initialization method on this interface. IPort inherits from the IUnknown interface.

The IPort interface provides a uniform means for initializing audio port drivers of all types. IPort is the base interface for the following port driver interfaces:

IPortDMus

IPortMidi

IPortTopology

IPortWaveCyclic

IPortWavePci

IPortWaveRT

Call PcNewPort to create a port object with one of these interfaces.

Inheritance

The IPort interface inherits from the IUnknown interface.

Methods

The IPort interface has these methods.

 
IPort::GetDeviceProperty

The GetDeviceProperty method provides simplified access to device properties that are contained in the registry for Plug and Play devices.
IPort::Init

The Init method initializes the port driver.
IPort::NewRegistryKey

The NewRegistryKey method either opens an existing registry key or creates a new key in the registry. The method creates a registry-key object to represent the key.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h