Microsoft DirectX 9.0 |
The CountSetBits method returns the number of bits set to 1 in a specified bit field.
Syntax
DWORD CountSetBits(
const DWORD Field
);
Parameters
Field
Specifies a bit field as a DWORD value.
Return Value
Returns the number of bits that are set to 1.
See Also