KsGetPinFromIrp - NtDoc

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

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

NtDoc

No description available.

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

KsGetPinFromIrp function

Description

The KsGetPinFromIrp function returns the AVStream pin object associated with the given 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.

See also

KsAcquireControl

KsFilterAcquireControl

KsFilterReleaseControl

KsGetFilterFromIrp

KsGetNodeIdFromIrp

KsReleaseControl