KsRemoveBusEnumInterface - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// swenum.h

KSDDKAPI NTSTATUS KsRemoveBusEnumInterface(
  [in] PIRP Irp
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-swenum-ksremovebusenuminterface)

KsRemoveBusEnumInterface function

Description

This function is intended for internal use only.

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

Parameters

Irp [in]

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.

See also

KsInstallBusEnumInterface

SWENUM_INSTALL_INTERFACE