RtlNumberOfSetBitsUlongPtr - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

NTSYSAPI
ULONG
NTAPI
RtlNumberOfSetBitsUlongPtr(
    _In_ ULONG_PTR Target
    );

#endif

View code on GitHub
// wdm.h

NTSYSAPI ULONG RtlNumberOfSetBitsUlongPtr(
  [in] ULONG_PTR Target
);
View the official Windows Driver Kit DDI reference

NtDoc

This function is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (nf-wdm-rtlnumberofsetbitsulongptr)

RtlNumberOfSetBitsUlongPtr function

Description

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

Parameters

Target [in]

A ULONG_PTR integer value.

Return value

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