Bewerken

Delen via


KsGetFilterFromIrp function (ks.h)

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

Syntax

KSDDKAPI PKSFILTER KsGetFilterFromIrp(
  [in] PIRP Irp
);

Parameters

[in] Irp

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.

Requirements

Requirement Value
Minimum supported client Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib

See also

IRP

KsGetPinFromIrp