Expand Minimize

KsGetNodeIdFromIrp function

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

Syntax


ULONG KsGetNodeIdFromIrp(
  _In_  PIRP Irp
);

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.

Requirements

Version

Available in Microsoft Windows XP and later operating systems and DirectX 8.0 and later DirectX versions.

Header

Ks.h (include Ks.h)

Library

Ks.lib

IRQL

Any level

See also

IRP
KsAddIrpToCancelableQueue
KsForwardIrp
KsDispatchIrp

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft