KsTerminateDevice - NtDoc

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

void KsTerminateDevice(
  [in] PDEVICE_OBJECT DeviceObject
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-ksterminatedevice)

KsTerminateDevice function

Description

The KsTerminateDevice function removes an AVStream device.

Parameters

DeviceObject [in]

A pointer to a DEVICE_OBJECT structure corresponding to the device for which to remove AVStream support.

Remarks

Normally, AVStream calls KsTerminateDevice upon receipt of a PnP remove device IRP (IRP_MN_REMOVE_DEVICE). Most minidrivers do not call this function directly; however, it can be used to remove AVStream support for the device given in DeviceObject.

See also

DEVICE_OBJECT

DRIVER_OBJECT

KSDEVICE

KsAddDevice

KsCreateDevice

KsInitializeDevice

KsInitializeDriver