共用方式為


動態子裝置的驅動程序支援

The code example in Subdevice Creation shows how to use the PcRegisterSubdevice routine to register a subdevice. 範例 音訊驅動程式中討論的 Sysvad 範例驅動程式顯示如何使用 PcRegisterPhysicalConnection 常式來註冊相同音訊配接器中包含的子裝置之間的實體連線。

The IUnregisterSubdevice and IUnregisterPhysicalConnection interfaces complement the PcRegisterXxx routines. These interfaces contain methods that the sample driver uses to "unregister" devices that were previously registered by calls to the PcRegisterXxx routines. 如先前所述,這兩個介面可在 Windows Server 2003 SP1 和更新版本和 Windows XP SP2 中使用,但不適用於舊版 Windows 版本。