KsGetPinFromIrp function (ks.h)
The KsGetPinFromIrp function returns the AVStream pin object associated with the given IRP.
Syntax
KSDDKAPI PKSPIN KsGetPinFromIrp(
[in] PIRP Irp
);
Parameters
[in] Irp
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
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 |
IRQL | Any level |