The KsGetNodeIdFromIrp function returns the node ID of the node to which Irp was submitted.
ULONG KsGetNodeIdFromIrp( _In_ PIRP Irp );
A pointer to the IRP structure for which to determine the associated node ID. This IRP must have been sent to a file object corresponding to a filter, pin, or node.
KsGetNodeIdFromIrp returns the ID of the node to which Irp was submitted. If Irp was instead submitted directly to the filter, it returns KSFILTER_NODE.
|Windows version||Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.|
|Header||ks.h (include Ks.h)|