IUnregisterSubdevice::UnregisterSubdevice method (portcls.h)
The UnregisterSubdevice method deletes the registration of a subdevice that was previously registered by a call to PcRegisterSubdevice.
Syntax
NTSTATUS UnregisterSubdevice(
[in] PDEVICE_OBJECT DeviceObject,
[in] PUNKNOWN Unknown
);
Parameters
[in] DeviceObject
Pointer to the device object for the adapter device. This parameter must point to a system structure of type DEVICE_OBJECT.
[in] Unknown
Pointer to the IPort interface of the port driver object that is bound to the subdevice.
Return value
UnregisterSubdevice returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.
Remarks
For more information, see Dynamic Audio Subdevices.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | portcls.h (include Portcls.h) |
IRQL | PASSIVE_LEVEL |