KsGetPinFromIrp function

The KsGetPinFromIrp function returns the AVStream pin object associated with the given IRP.

Syntax


PKSPIN KsGetPinFromIrp(
  _In_ PIRP Irp
);

Parameters

Irp [in]

A pointer to an IRP for which to return the associated pin.

Return value

KsGetPinFromIrp returns a pointer to the KSPIN structure associated with the given IRP or NULL. NULL indicates that either the IRP is not associated with an AVStream object or that it is associated with a filter or a topology node.

Remarks

Currently, IRPs associated with topology nodes cannot be queried for associated pins. This may change in a future revision of AVStream.

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

Any level

See also

KsGetFilterFromIrp
KsGetNodeIdFromIrp
KsAcquireControl
KsReleaseControl
KsFilterAcquireControl
KsFilterReleaseControl

 

 

Send comments about this topic to Microsoft

Show: