RtlIsRoot macro

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

Syntax

void RtlIsRoot(
   Links
);

Parameters

Links

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

Return Value

None

Remarks

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

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

See Also

RtlInitializeSplayLinks

RtlIsLeftChild

RtlIsRightChild