KsGetFilterFromIrp - NtDoc

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

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

NtDoc

No description available.

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

KsGetFilterFromIrp function

Description

The KsGetFilterFromIrp function returns the AVStream filter object associated with a given IRP.

Parameters

Irp [in]

A pointer to the IRP structure for which to return the associated filter.

Return value

KsGetFilterFromIrp returns either a pointer to the KSFILTER structure associated with Irp or NULL. NULL indicates that Irp is not associated with an AVStream object.

Remarks

KsGetFilterFromIrp is valid for filters, pins, and nodes.

See also

IRP

KsGetPinFromIrp