Previous Next

RtlClearAllBits

The RtlClearAllBits routine sets all bits in a given bitmap variable to zero.

VOID
  RtlClearAllBits(
    IN PRTL_BITMAP  BitMapHeader
    ); 

Parameters

BitMapHeader
Pointer to an initialized bitmap header for the caller's bitmap variable.

Return Value

None

Headers

Declared in ntddk.h. Include ntddk.h.

Comments

Callers of RtlClearAllBits must be running at IRQL < DISPATCH_LEVEL if the memory containing the bitmap variable or at BitMapHeader is pageable. Otherwise, RtlClearAllBits can be called at any IRQL.

See Also

RtlAreBitsClear, RtlAreBitsSet, RtlClearBits, RtlFindSetBits, RtlFindSetBitsAndClear, RtlInitializeBitMap, RtlNumberOfSetBits