#ifndef _NTRTL_H #define RtlIsRightChild(Links) ((RtlRightChild(RtlParent(Links)) == (PRTL_SPLAY_LINKS)(Links))) #endif View code on GitHub
This macro is documented in Windows Driver Kit.