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