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. The following Windows versions support the IPortClsVersion interface:
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:
IPortClsVersion inherits from the IUnknown interface.
In addition to the methods that IPortClsVersion inherits from the IUnknown interface, IPortClsVersion supports the following method: