KsTerminateDevice function

The KsTerminateDevice function removes an AVStream device.

Syntax


void KsTerminateDevice(
  _In_ PDEVICE_OBJECT DeviceObject
);

Parameters

DeviceObject [in]

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

Return value

None

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.

Requirements

Target platform

Universal

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

PASSIVE_LEVEL

See also

KsInitializeDriver
KsInitializeDevice
KsAddDevice
KsCreateDevice
KSDEVICE
DRIVER_OBJECT
DEVICE_OBJECT

 

 

Send comments about this topic to Microsoft

Show: