动态子对象的驱动程序支持

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 版本中不可用。