KsGetNodeIdFromIrp - NtDoc

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

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

NtDoc

No description available.

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

KsGetNodeIdFromIrp function

Description

The KsGetNodeIdFromIrp function returns the node ID of the node to which Irp was submitted.

Parameters

Irp [in]

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.

Return value

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.

See also

IRP

KsAddIrpToCancelableQueue

KsDispatchIrp

KsForwardIrp