Historical Content Alert

This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.


The GetBitCount method returns the number of bits in a bit string.

[VB] long GetBitCount(void);
[JAVA] int GetBitCount(void);
[C++] HRESULT GetBitCount(
  LONG * pBitCount           // out, return value


[C++] pBitCount
Points to the return value. See Return Values.

Return Values

Returns the number of bits.

Share this article: