// ks.h
KSDDKAPI PKSPIN KsGetPinFromIrp(
[in] PIRP Irp
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsGetPinFromIrp function returns the AVStream pin object associated with the given IRP.
Irp [in]A pointer to an IRP for which to return the associated pin.
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.
Currently, IRPs associated with topology nodes cannot be queried for associated pins. This may change in a future revision of AVStream.