Expand Minimize

KsGetFilterFromIrp function

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

Syntax


PKSFILTER KsGetFilterFromIrp(
  _In_  PIRP 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.

Requirements

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

See also

KsGetPinFromIrp
IRP

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft