Bewerken

Delen via


KsRemoveBusEnumInterface function (swenum.h)

This function is intended for internal use only.

The KsRemoveBusEnumInterface function removes an interface to the demand-load bus enumerator object.

Syntax

KSDDKAPI NTSTATUS KsRemoveBusEnumInterface(
  [in] PIRP Irp
);

Parameters

[in] Irp

Pointer to an IRP that contains a SWENUM_INSTALL_INTERFACE structure that specifies the device ID, interface ID, and reference string of the specific device and interface to be removed. For information about this structure, see theRemarks section below.

Return value

Returns STATUS_SUCCESS if successful. Otherwise, it returns an appropriate error code.

Remarks

The Irp->AssociatedIrp.SystemBuffer is assumed to contain a SWENUM_INSTALL_INTERFACE structure. The DeviceId, InterfaceId and ReferenceString members of the structure specify the specific device and interface to be removed.

Requirements

Requirement Value
Target Platform Universal
Header swenum.h (include Swenum.h)
Library Ks.lib

See also

KsInstallBusEnumInterface

SWENUM_INSTALL_INTERFACE