次の方法で共有


動的サブデバイスのドライバーサポート

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. 前述のように、これら 2 つのインターフェイスは、Windows Server 2003 SP1 以降と Windows XP SP2 で使用できますが、以前のバージョンの Windows では使用できません。