| 44 | } |
| 45 | |
| 46 | static DWORD GetNecessaryBitCount(ULONGLONG MaxValue) |
| 47 | { |
| 48 | DWORD dwBitCount = 0; |
| 49 | |
| 50 | while(MaxValue > 0) |
| 51 | { |
| 52 | MaxValue >>= 1; |
| 53 | dwBitCount++; |
| 54 | } |
| 55 | |
| 56 | return dwBitCount; |
| 57 | } |
| 58 | |
| 59 | //----------------------------------------------------------------------------- |
| 60 | // Support functions for BIT_ARRAY |
no outgoing calls
no test coverage detected