IPortClsVersion interface (portcls.h)

The IPortClsVersion interface is used by a miniport driver to identify the version of the Windows operating system that the driver is running on. The port driver implements this interface and exposes it to the miniport driver.

To determine whether a port driver supports the IPortClsVersion interface, the miniport driver calls the port object's QueryInterface method with REFIID IID_IPortClsVersion. The following port types support IPortClsVersion:

IPortWaveCyclic

IPortWavePci

IPortDMus

IPortMidi

IPortTopology

Inheritance

The IPortClsVersion interface inherits from the IUnknown interface.

Methods

The IPortClsVersion interface has these methods.

 
IPortClsVersion::GetVersion

The GetVersion method returns the version of the Windows operating system that the driver is running on.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h