IUnregisterPhysicalConnection::UnregisterPhysicalConnectionToExternal method

The UnregisterPhysicalConnectionToExternal method deletes the registration of a physical connection that was registered by a previous call to PcRegisterPhysicalConnectionToExternal.

Syntax


NTSTATUS UnregisterPhysicalConnectionToExternal(
  [in] PDEVICE_OBJECT  DeviceObject,
  [in] PUNKNOWN        FromUnknown,
  [in] ULONG           FromPin,
  [in] PUNICODE_STRING ToString,
  [in] ULONG           ToPin
);

Parameters

DeviceObject [in]

Pointer to the device object for the adapter device. This parameter must point to a system structure of type DEVICE_OBJECT.

FromUnknown [in]

Pointer to the IPort interface of a port driver object. The port driver object that is associated with FromUnknown is bound to the subdevice that supplies the connection's data source pin.

FromPin [in]

Specifies a pin ID. This parameter identifies the data source (output) pin on the filter that is associated with the FromUnknown interface.

ToString [in]

Pointer to a null-terminated Unicode string that contains the name of the external filter that supplies the connection's data sink pin.

ToPin [in]

Specifies a pin ID. This parameter identifies the data sink (input) pin on the external filter that is named by the ToString parameter.

Return value

UnregisterPhysicalConnectionToExternal returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code.

Remarks

For more information, see Dynamic Audio Subdevices.

Requirements

Target platform

Universal

Header

Portcls.h (include Portcls.h)

IRQL

PASSIVE_LEVEL

See also

PcRegisterPhysicalConnectionToExternal
DEVICE_OBJECT
IPort

 

 

Send comments about this topic to Microsoft

Show: