IUnregisterPhysicalConnection::UnregisterPhysicalConnectionFromExternal method (portcls.h)
The UnregisterPhysicalConnectionFromExternal method deletes the registration of a physical connection that was registered by a previous call to PcRegisterPhysicalConnectionFromExternal.
NTSTATUS UnregisterPhysicalConnectionFromExternal( [in] PDEVICE_OBJECT DeviceObject, [in] PUNICODE_STRING FromString, [in] ULONG FromPin, [in] PUNKNOWN ToUnknown, [in] ULONG ToPin );
Pointer to the device object for the adapter device. This parameter must point to a system structure of type DEVICE_OBJECT.
Pointer to a null-terminated Unicode string that contains the name of the external filter that supplies the connection's data source pin.
Specifies a pin ID. This parameter identifies the data source (output) pin on the external filter that is named by the FromString parameter.
Pointer to the IPort interface of a port driver object. The port driver object that is associated with ToUnknown is bound to the subdevice that supplies the connection's data sink pin.
Specifies a pin ID. This parameter identifies the data sink (input) pin on the filter that is associated with the ToUnknown interface.
UnregisterPhysicalConnectionFromExternal returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.
For more information, see Dynamic Audio Subdevices.
|Header||portcls.h (include Portcls.h)|
Submit and view feedback for