The RtlCheckBit routine determines whether a particular bit in a given bitmap variable is clear or set.
ULONG
RtlCheckBit(
IN PRTL_BITMAP BitMapHeader,
IN ULONG BitPosition
);
RtlCheckBit returns zero if the given bit is clear, or 1 if the given bit is set.
Declared in ntddk.h. Include ntddk.h.
Callers of RtlCheckBit must be running at IRQL < DISPATCH_LEVEL if the memory containing the bitmap variable or at BitMapHeader is pageable. Otherwise, RtlCheckBit can be called at any IRQL.
RtlAreBitsClear, RtlAreBitsSet, RtlInitializeBitMap, RtlNumberOfClearBits, RtlNumberOfSetBits