RtlIsRoot macro (ntddk.h)

The RtlIsRoot routine determines whether the specified node is the root node of a splay link tree.

Syntax

void RtlIsRoot(
  [in]  Links
);

Parameters

[in] Links

Pointer to the node. The node must have been initialized by calling RtlInitializeSplayLinks.

Return value

None

Remarks

RtlIsRoot returns TRUE if the node at Links has no parent node, FALSE otherwise.

Callers of the Rtl splay link routines are responsible for synchronizing access to the splay link tree. A fast mutex is the most efficient synchronization mechanism to use for this purpose.

Callers of RtlIsRoot must be running at IRQL <= DISPATCH_LEVEL if the splay link tree or just-initialized node at Links is nonpaged. Usually, callers are running at IRQL PASSIVE_LEVEL.

Requirements

Requirement Value
Target Platform Desktop
Header ntddk.h (include Ntddk.h, Ntifs.h)
IRQL See Remarks section.

See also

RtlInitializeSplayLinks

RtlIsLeftChild

RtlIsRightChild