RtlNumberOfSetBitsUlongPtr function (wdm.h)

The RtlNumberOfSetBitsUlongPtr routine returns the number of bits in the specified ULONG_PTR integer value that are set to one.

Syntax

NTSYSAPI ULONG RtlNumberOfSetBitsUlongPtr(
  [in] ULONG_PTR Target
);

Parameters

[in] Target

A ULONG_PTR integer value.

Return value

RtlNumberOfSetBitsUlongPtr returns a count of the bits in the Target parameter that are set to one.

Requirements

Requirement Value
Minimum supported client Available starting with Windows Vista.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any IRQL