IPortClsVersion 接口 (portcls.h)
微型端口驱动程序使用 IPortClsVersion
接口来标识运行驱动程序的 Windows作系统版本。 端口驱动程序实现此接口,并将其公开给微型端口驱动程序。
若要确定端口驱动程序是否支持 IPortClsVersion
接口,微型端口驱动程序使用 REFIID IID_IPortClsVersion调用端口对象的 QueryInterface 方法。 以下端口类型支持 IPortClsVersion
:
遗产
IPortClsVersion 接口继承自 IUnknown 接口。
方法
IPortClsVersion 接口具有这些方法。
IPortClsVersion::GetVersion GetVersion 方法返回运行驱动程序的 Windows作系统的版本。 |
要求
要求 | 价值 |
---|---|
目标平台 | 窗户 |
标头 | portcls.h |