Those numbers indicate that Caps Lock is the second bit in a flags
structure, ie 2^1 (which equals 2 if you remember from school).
2^0 =1
2^1 =2
2^2 =4
The official documentation for decades say 0 and 2 are the only values.
--
..
--
"Saint_Bernard" wrote in message
news:36a93b1b-d242-4004-a00f-07588ffbf6a3...
>I propose a challenge. I tested all of the numbers from zero to seven in
>the 'InitialKeyboardIndicators' registry. First I locked each value; then I
>did not lock the values. It is my opinion that Windows 7 has a bug --
>actually several but I shall only discuss one of them here. I challenge
>anyone out there to prove to me that the results I am about to produce do
>NOT indicate the existance of a bug in Windows 7. As my reference point I
>am using: http://www.tipstrs.com/tip/2776/Boot-with-the-Num-Lock-enabled
>
> I assigned the 'InitialKeyboardIndicators' key every single value, and
> tested each value in two states: Num Lock On and Num Lock Off. When I
> locked each value my results where as follows: 0 - Off, 1 - Off, 2 - On,
> 3 - On, 4 - Off, 5 - Off, 6 - On, and 7 - On. NO OTHER KEY'S STATE WAS
> AFFECTED! Granted, there is a pattern but why was ONLY the status of the
> 'Num Lock' affected? Correct me if I am wrong but would it not make more
> sense to have the indicator values produce the same results as in the
> website I have referred to in the preceding paragraph?
>
> When I did not lock the values zero to seven Windows 7 ALWAYS REPLACED MY
> VALUE WITH A VALUE OF TWO! Now, according to the preceding paragraph a
> value of '2' should turn the 'Num Lock' state 'On' but once again either I
> can no longer think straight because it is 3:30 a.m. and I have been up
> since 7:00 a.m. or Windows 7 HAS A BUG because THIS WAS NOT THE CASE!
> Every single value left the 'Num Lock' status unchanged! Goodnight, and I
> wish I could say good riddens to Microsoft...
> --------------------------------------------------------------------------------
> Programmer for Visual C++ 6.0, and Microsoft Office including Access