共用方式為


IAdapterPnpManagement 介面 (portcls.h)

IAdapterPnpManagement 是適配卡應該實作並註冊的介面,如果想要接收 PnP 管理訊息。 使用 PcRegisterAdapterPnpManagement 向 PortCls 註冊此介面。 使用 PcUnregisterAdapterPnpManagement 向 PortCls 取消註冊此介面。

IAdapterPnpManagement 可在 Windows Windows 10 1511 版和更新版本中取得。

繼承

IAdapterPnpManagement 介面繼承自 IUnknown 介面。

方法

IAdapterPnpManagement 介面具有這些方法。

 
IAdapterPnpManagement::GetSupportedRebalanceType

GetSupportedRebalanceType 方法會傳回支援的重新平衡類型。
IAdapterPnpManagement::P npCancelStop

PnpCancelStop 方法會在處理 CancelStop IRP 時提供通知。
IAdapterPnpManagement::P npQueryStop

PnpQueryStop 會在埠cls 叫用 PnpQueryStop 之後,再成功 QueryStop IRP 時提供通知。
IAdapterPnpManagement::P npStop

PnpStop 方法會在停止所有 Ioctl 作業之後提供通知。

規格需求

需求
目標平台 Windows
標頭 portcls.h